Migrated from Redmine #236 | Author: Vladimir Petukhov
Status: Resolved | Priority: High, I’m very impatient | Created: 2018-09-13
Hello,
MDA project uses SimplyBook to process booking for its own system. As a payment system, MDA uses Klarna, so all payments are processing outside SimplyBook.
Here is the main scenario we work with: when a client buys a lesson(event), the system creates a new booking using Admin API (command /book) - this is a protection for the chosen timeslot from booking by other clients; this action causes immediate client’s notification about created booking. If the client cancels the payment procedure then the booking will be canceled and the client will receive another notification. These notifications could be very confusing for the client.
On the other hand, if the system uses Public API (command /book) with its following confirmation, then there is no way to connect the booking client to existed client data in SimplyBook, which causes the same client’s records multiplying (same client’s data but with different client’s ID).
So here the questions:
How to create booking via SimplyBook APIs with suppressing the client notification and send this notification after the payment confirmation?
How to create a booking using Public API to existed client?
How to protect slot from booking for the other clients, except for the booking one, for a certain period of time?
Looking forward to your reply,
with best regards Vladimir.