Payment Plugin for National Bank of Greece

More
9 years 6 months ago #4818 by vinikey
Hello,
I'm developing a new payment plugin for solidres, using the 3D security API of National Bank of Greece
I use as reference your paypal and cielo plugin.
I've managed to complete it, but I have 1-2 questions about the complete process.
I've seen at Paypal and Cielo plugin that in OnSolidresPaymentCallback function you update the reservation using payment_method_txn_id and/or payment_status and/or total_paid. I decide to do the same.
But when I try my plugin, after a success payment through the bank API, the reservation is updated only to payment_status ( with a good 1 - Completed).
The #__sr_reservations -> state is steel 0 and that means that someone else could make the same request and paid for the same room the same days.
Should be right to update the state to confirmed after a success payment?

Thank you!

Please Log in or Create an account to join the conversation.

More
9 years 6 months ago #4819 by vietvh
Replied by vietvh on topic Payment Plugin for National Bank of Greece
Hi,

If you need to update the reservation status, you can do the same procedure with updating payment status, by default we let the site owner confirm the reservation status manually.

Regards,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?