[#1369] Create Booking or Membership Payment

Migrated from Redmine #1369 | Author: Christian Jeremy Lapuz
Status: Feedback | Priority: High, I’m very impatient | Created: 2025-02-19


Good day,

I would like to ask if it is possible to create a booking or membership payment, without having it immediately marked as paid

Tried the following APIs under

New Booking (API documentation | SimplyBook.me Online Scheduling)
Adding @accept_payment: true@

But this just resulted in a already marked as paid invoice, instead of first making the user pay first in the invoices page

Similarly when using API documentation | SimplyBook.me Online Scheduling

This assigns the membership correctly to the client but marks them as paid.

We were planning to use Stripe integration.

We can do this in SimplyBook’s provided website easily. But we want to handle it in our custom web application.

Looking at the network tab it calls @<our_simplybook_domain>/v2/ext/membership/client/id/@ when applying for a membership and then auto-generates an unpaid invoice.
Similarly for booking, after pressing the Confirm Booking, it calls @<our_simplybook_domain>/v2/ext/booking@ and also auto-generates an unpaid invoice.

I want to know how this can be done, in a custom website. What APIs are available to do a similar flow of creating a booking or membership request that creates an unpaid invoice in SimplyBook. Thanks!

Dmytro Bondarev wrote:

Hi please try to set
payment_processor: “delay”

It will issue order without approving payment.

Christian Jeremy Lapuz wrote:

Dmytro Bondarev wrote:

Hi please try to set
payment_processor: “delay”

It will issue order without approving payment.

Oh nice, thank you. That worked for the membership instance, let me see if it works when creating a booking

Christian Jeremy Lapuz wrote:

Christian Jeremy Lapuz wrote:

Dmytro Bondarev wrote:

Hi please try to set
payment_processor: “delay”

It will issue order without approving payment.

Oh nice, thank you. That worked for the membership instance, let me see if it works when creating a booking

Works but needed to add @accept_payment: true@

All working now as expected on my end, thank you!

JM Kuizon wrote:

For creating a membership instance, how can you make it so that it won’t be approved automatically?

Thank you.

Dmytro Bondarev wrote:

Hi,
Unfortunately it is not possible, as it is admin API.