Artikel über: Vouchers

Can I setup my own local payment provider to accept payments in vouchers?

It is possible to set up your own payment provider.
Follow the steps below to see how that works:

Create a Voucher and navigate to the "payment settings" -> "make a payment". (It is enabled by default in Vouchers)
Select as payment method: "Custom".

Enter the URL where your payment will take place .

Consumer view:
The consumer opens the Voucher. On the payment page the Voucher user is redirected to your payment URL:

Voucher URL:
Note: We pass the unique voucher session ID in the URL. Example:

Develop the payment process on your page.
After a successful payment, set up an API call to inform our platform that Voucher session ID was paid.

You need to pass the operation=CLAIM method. A successful payment is equal to a claimed voucher.
Optional you can pass custom fields (customfield1 untill customfield7) to store additional information (e.g. unique payment reference, payment method, etc)

Note: you can find your API credentials in your account (integrations -> API)

After making the API call you can redirect back to our Voucher URL. example:
The consumer will see the voucher was paid and he can save/redeem it now.

Result: the consumer has exact the same flow as our integration payment methods (PayPal/Stripe) but processed through your own payment provider.
The flow to save/redeem/validate the Voucher is exact the same.

Aktualisiert am: 27/01/2022

War dieser Beitrag hilfreich?

Teilen Sie Ihr Feedback mit