Submit Payment Checkout
October 6, 2021 at 9:50 AMeGiftCertificate have to ways of integration:
- Using a Javascript widget for fastest and easy integration (recommended).
- Using custom integration for advanced use cases.
Regardless of what type of integration you decide to use, the following options are available:
name | required | Example | description |
---|---|---|---|
token | true | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGki… | JWT token for API authentication |
orderNumber | true | 12345678 | Unique client order ID for correlation |
amount | true | 20.50 | Value of certificated needed |
IPNHandlerUrl | true | https://yoursite.com/ipn_handler | URL (WebHook) to receive Payment Notifications during the process |
receiptEmail | false | [email protected] | Email of the customer if you want to send a email receipt with the payment |
customerName | false | Harvey Coulter | Customer name |
billingAddress | false | 3383 Richland Avenue | First line of the billing address |
billingZipCode | false | 77565 | Billing zip or postal code |
redirectUrl | false | (default: null) https://yoursite.com/thank_you | Url to redirect on success |
autoRedirect | false | (default: false) | Auto redirect for given redirectUrl |
allowShare | false | (default: false) | Display a button to allow users to share the payment |
cardSwiper | false | (default: false) | Display a button to allow the use of magnetic card readers |
allowRedeem | false | (default: true) | Allow redeem the PIN after purchase, set to false if you want control the PIN redemption in your side. |
autoRedeem | false | (default: false) | Redeem the purchased PIN automatically. Does not work if allowRedeem=false |
disablePayment | false | (default: false) | Disable the payment form; can be used with allowShare=true to force only share |
qrCode | false | (default: true) | Allow scan QR code for private checkout using mobile devices |