[#1228] Custom Payment (Accept payments custom feature)

Migrated from Redmine #1228 | Author: Asad Challiwala
Status: Feedback | Priority: High, I’m very impatient | Created: 2024-05-02


Hello Team,

So we need to integrate with the Hesabe payment provider in the Simplybook (SB).
Now, as per the talk with the support team, they told us we need any third party system will come into the play to integrate this custom feature because of the custom urls which we enter in the custom payment fields.

We have SB, Odoo(erp) and Hesabe(payment provider).
We have a connection with the odoo and hesabe and its working fine with the odoo flow.
What we decided that in the custom url as mentioned in the screenshot we will hit that url and we take the payemnt data from SB to the Odoo, and from odoo we will apply all the encryption on the data(the process which required to successfully pass the data into the hesabe) after that the data will be passed it to the hesabe and the payment page will open and then payment can be successfull or rejected. now we got data back into the odoo whatever the payment statuts is.

Now my question is that which api or return url will be required to pass the response of the payment provider to the SB. so that SB can update the status in their system.

Thank you,
Asad Challliwala

Asad Challiwala wrote:

[]

(Short original content)

Asad Challiwala wrote:

Please anyone can reply, its bit urgent

Dmytro Bondarev wrote:

Hi, you are implementing custom payment provider for sbpay, do you should call sbpay API to confirm payment.
Please have a look SBPay.me - Single place for all payment processors - API documentation

GitHub - dimkasb/sbpay-sdk - PHP SDK

sbpay-sdk/example/custom_payment_processor at main · dimkasb/sbpay-sdk · GitHub - simple example of custom payment provider, callback.php contains example how to approve payment.