EasyPay
Browse guides
DocsGetting started

Introduction

Accept Ethiopian payments through Chapa with your own checkout and a Node.js backend.

Choose a checkout

Direct checkout keeps the payment form in your app. Your backend initiates the charge. The provider sends a handset prompt or requests an OTP. Build a direct checkout.

Hosted checkout gives you a URL for Chapa's payment page. Your backend can supply customer details, metadata and receipt customization. Use hosted checkout.

Inline checkout uses a public key for four mobile providers. Your backend supplies the order reference and verifies the payment before fulfillment. Use inline checkout.

Payment lifecycle

  1. Your backend creates an order and stores its amount, currency, mode and unique payment reference.
  2. Your app starts checkout and displays the authorization step returned by the SDK.
  3. Your backend verifies the transaction and claims the order for fulfillment once.

Only a verified order returns success: true. Learn how to handle verification and duplicate events.

SDK versions

These guides cover EasyPay 2.x. For the npm install command and the changes from 1.x, see installation.

Next guide Installation