Migrated from Redmine #1170 | Author: Edwin Claros Status: New | Priority: High, I’m very impatient | Created: 2024-02-19
Hola equipo SimplyBook,
Actualmente nosotros queremos realizar la integración como un Custom Payment, pero revisando su documentación no observamos que se recibe de su payload un callback dónde nosotros (PixelPay) indiquemos al comercio en SimplyBook que dicha reserva fue pagada en nuestro sistema de procesamiento, esto usualmente se hace mediante un webhook.
Currently, we want to do an integration using Custom Payment, but we don’t see in your documentation where are you receiving the callback, because through Callback we are going to notify that a payment was successful in our platform.
Hi, please have a look at GitHub - dimkasb/sbpay-sdk especially sbpay-sdk/example/custom_payment_processor at main · dimkasb/sbpay-sdk · GitHub .
With custom payment processor customer browser will send all necessary data to initialize payment to URL that you set.
You should initialize payment, probably redirect customer to payment system, etc.
Callback from payment system should go to your host, your server. Where you can validate if everything is ok and then make API call to sbpay to confirm payment.