worldline Direct
Sign up

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.

Overview

Payment group:
Payment product id:
5601
Key benefits
  • Low PCI requirements (no sensitive or personal data shared)
  • Complementary payments
  • Easy integration
  • Access to business and potential extra sales
  • Allows partial/full refunds

Onboarding

To use Cadhoc for either in our test/live environment, follow these steps: 

  1. Sign a contract with Cadhoc and receive activation credentials in return.
  2. Send the activation credentials (MID/password and possibly other credentials) to us. 
  3. We do the necessary onboarding and provisioning check.
  4. We activate the payment method in your account.

Countries & currencies

Supported countries

Supported currencies

  • Euro (EUR)

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
     currencyCode

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
     returnUrl

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.

returnUrl: The URL we redirect your customers to after the payment has been finalised.

Find detailed information about this object and its properties in our CreateHostedCheckoutAPI.

Process flows

  1. Your customers finalise an order in your shop and select Cadhoc.
  2. You send this CreateHostedCheckout request to our platform.
  3. 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.
  4. We receive the transaction result.
  5. We redirect your customer to your returnUrl
  6. You request the transaction result from our platform via GetHostedCheckout or receive the result via webhooks.
  7. 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.

Was this page helpful?

Do you have any comments?

Thank you for your response.