Payment process with custom front end

Hi,

I’m looking in to build a custom front-end on the SimplyBook API and would like to handle payments via SimplyBook/SBPay rather than building the full payment flow myself.

After calling book() and getBookingCart(), what is the supported way to send the customer into the payment flow? Is there a public method that returns a hosted payment URL I can redirect to, or do I need to create the payment myself via the processor’s API (e.g. Mollie) and only use confirmBookingCart afterwards?

Thanks in advance,

Thymo

I’ve figured out how to trigger the payment page from SimplyBook.me, and I’ve also seen that it’s possible to deactivate the client environment.

However, after a payment is completed, the customer is still redirected to a default SimplyBook page that shows a notification about whether the payment was successful or not. Only after that page does my custom redirect URL trigger.

This isn’t the flow I’d like to use. Ideally, I want my own redirect to fire immediately after payment, without the customer seeing the SimplyBook payment confirmation page in between.

Is there any way to skip the payment confirmation page on your side, so customers are sent straight to my redirect URL?

Hi, if you use custom payment processor, then you can use sbpay API to confirm payment and redirect to any page you want.

I’d prefer not to use a custom payment processor, since that would make payment processing our concern.

With a standard SBPay processor, is there any way to skip the confirmation page so the customer goes straight to my redirect URL after payment?

Unfortunately, at the moment it is not possible.

Ok. I see that you can hide elements of the booking page with CSS, so we can tweak it the way we want — for example, we can hide the booking option in this environment. My question: is it possible to add a noindex meta tag (or robots header) to the booking page at example.simplybook.pro, so it doesn’t appear in search engine results?

Hi, yes it is possible but available only for paid plans.

/v2/design#homepage-tab