[#192] Taking Stripe payment through SimplyBook API

Migrated from Redmine #192 | Author: Rahul Mohanachandran
Status: Closed | Priority: Normal | Created: 2018-07-04


What are the SimpleBook API nodes that can be used to take payment from Stripe?

I can see following nodes on your API

getPaymentProcessorConfig ($paymentProcessor)
validatePayment ($paymentInfo, $cartId)
confirmBookingPayment ($id, $paymentProcessor, $sign)

But none of these actually looks like they will deduct/refund payment through the payment provider?

Do I need to deduct/refund payment using my own code?

Thanks,
Rahul

Vitaliy Kordiak wrote:

Hi,
To confirm the payment using Stripe, use confirmBookingPayment ($id, $paymentProcessor, $sign) where $paymentProcessor = ‘stripe’

You can cancel booking using cancelBooking ($id, $sign), but the money you receive will not be refunded. Unfortunately, our system does not support refunds. In this case, the company administrator must manually return the money to the client.

However, you can implement this option in your code using the API payment system (Stripe).

Thank you for your appeal
Best regards Simplybook team