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?
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?
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?