[#1170] Soporte Integración Custom Payment PixelPay

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.

¿Cómo podríamos hacer esto?

Redmine Admin wrote:

Hi, please describe your question in English.

Edwin Claros wrote:

Hi SimplyBook team,

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.

The merchant in their platform is:

Dmytro Bondarev wrote:

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.