Cadhoc
Intro
Cadhoc is a French gift card offered by UP.
With an value range between 20 and 250€ per card and a dense network of retail partners (15 500 points of sales), Cadhoc is a flexible and safe payment method.
The integration is very easy, as you only have to send one additional parameter along with your request. You redirect your customers to the Cadhoc payment page where they enter their gift card data (card number, expiry date and cryptogram). They can combine up to three gift cards for a single purchase and even use their credit card for the remaining amount.
It is possible to brand Cadhoc cards as "chèque lire" or "chèque culture" gift cards. Contact Thunes to make this happen.
The integration as described below remains the same for all Cadhoc cards.
Onboarding
To use Cadhoc for either in our test/live environment, follow these steps:
- Sign a contract with Cadhoc and receive activation credentials in return.
- Send the activation credentials (MID/password and possibly other credentials) to us.
- We do the necessary onboarding and provisioning check.
- We activate the payment method in your account.
Integration
Redirect your customers to the Cadhoc payment page via our Hosted Checkout Page. Find a high level overview in the "Process flows" chapter.
Add the following properties to a standard CreateHostedCheckout request:
{
"order": {
"amountOfMoney": {
"currencyCode": "EUR",
"amount": 1700
},
"customer": {
"contactDetails": {
"emailAddress": "jean.dupont@test.com"
}
}
},
"hostedCheckoutSpecificInput": {
"locale": "fr_FR"
},
"redirectPaymentMethodSpecificInput": {
"paymentProductId": 5601,
"returnUrl": "https://yourReturnUrl.com"
}
}
Property | Remarks |
---|---|
order.amountOfMoney |
amount: The gross amount you want to charge for this order. currencyCode: The ISO 4217 currency code for this amount. |
order.customer.contactDetails.emailAddress |
Your customer's e-mail address. |
hostedCheckoutSpecificInput.locale |
The language version of our Hosted Checkout Page. |
redirectPaymentMethodSpecificInput |
paymentProductId: The numeric identifier of the payment method on our platform. Find this id in the "Overview" chapter. It instructs our platform to send your customers directly to the Cadhoc payment page. If left out, our platform sends your customers to the Hosted Checkout Page instead, allowing them to choose this or any other payment method in your account. |
Find detailed information about this object and its properties in our CreateHostedCheckoutAPI.
Process flows
- Your customers finalise an order in your shop and select Cadhoc.
- You send this CreateHostedCheckout request to our platform.
- You redirect your customers via the redirectUrl to the Cadhoc payment page. They confirm the order with their gift card credentials. If your customers need to pay a remaining amount, they use either another Cadhoc card and/or their credit card (Visa/MasterCard) on the Cadhoc payment page.
- We receive the transaction result.
- We redirect your customer to your returnUrl
- You request the transaction result from our platform via GetHostedCheckout or receive the result via webhooks.
- If the transaction was successful, you can deliver the goods / service.
Testing
Refer to our Test cases for test data and detailed instructions.
Make sure to use the right endpoint and switch back to the live URL as soon as you have finished your tests.