Craftgate is integrated with Edenred which is one of the alternative payment methods. With the API and the Common Payment Page, you can easily receive payments from Edenred users.
In order to use the Edenred integration, you must have completed the following steps.
On
on Merchant Panel > Administration > Merchant Settings > Craftgate Features list.
Enable
Edenred Integration status.
You can receive payments from Edenred users via Craftgate API and Common Payment Page. See: Payment with Payment Form
You can integrate with alternative payment methods service via Craftgate API to receive Edenred payments. Payment via Edenred from API has 2 steps.
Parameter Name | Type | Required | Description |
---|---|---|---|
apmUserIdentity |
string |
Yes | The card number of Edenred card. Size should be 16 and should be numeric. |
externalId |
string |
No | You can send your order id to Edenred if you want. The system automatically creates one for you if not sent in the request. |
For more information, see Pay With Alternative Payment Methods
Parameter Name | Type | Required | Description |
---|---|---|---|
paymentId |
number |
Yes | Payment id. |
additionalParams |
map |
Yes | Edenred verification code should be placed in this parameter like this["optCode" : "123456"] . |
For more information, see Complete Alternative Payment Methods
The payment experience and flow can be summarized as follows.
Pay
button is clicked, payment will be completed and the user is directed to the callbackUrl
address which is sent while payment form init
request. See: Payment with Payment FormIf you send ["EDENRED"]
with the enabledPaymentMethods
parameter in the payment form initiation request, the
card payment tab will not be displayed to the user. Only the Edenred tab will be accessible.