[#642] Integrating client system with external gateway Redsys

Migrated from Redmine #642 | Author: Vadim Yoseo
Status: New | Priority: High, I’m very impatient | Created: 2021-01-20


Hi. I am trying to integrate Simplybook with the Redsys gateway (https://hub-i.redsys.es:16443/psd2-doc/DOC_TPP_v.1.7.3_sabadell_vIngles.pdf)

1 - Is there a possibility to include this gateway?

2 - Is there a way to redirect the reservation ID or user ID, when users finish booking? I am using the webhooks, but I would like to redirect directly from just to another page with reservation information like id or user id.

I am currently using the Approve Reservation function to approve the reservation through the API, but I would like to use the “Accept Payment” function, for all its functionality.
3 - Can I mark a reservation as paid, without a gateway, through the API?

Redmine Admin wrote:

hi,

Here is documentation of all API features we have

You can use API callbacks under API plugin settings to have your URL called eachtime when new booking appears or changes.
You can mark reservation as payed via API but of course have to accept payment on your side.

Vadim Yoseo wrote:

Redmine Admin wrote:

hi,

Here is documentation of all API features we have
API documentation | SimplyBook.me Online Scheduling
API - Help with API

You can use API callbacks under API plugin settings to have your URL called eachtime when new booking appears or changes.
You can mark reservation as payed via API but of course have to accept payment on your side.

  • Yes, I’m currently using API Callbacks, but I wonder if I can set a redirect url to external website with some identifier, as booking_id (for example https://mycoolsite.com?booking=[ACTUAL_BOOKING_ID) when user finishes the reservation

  • For reservation payment I see this API call “validatePayment($paymentInfo, $cartId)” Is this the one you mean?. What data do I have to send as @param mixed $paymentInfo?

  • Is there a gateway on “Accept Payment” plugin that I can use to implement my own gateway?

Redmine Admin wrote:

we do not provide any payment gateways because we are not payment processor. You need to accept payments on your side or use some 3rd party gateway.