[#629] Invoice is set to paid automatically when making a new booking [REST API]

Migrated from Redmine #629 | Author: mike hk
Status: Closed | Priority: Immediate, there is BUG! | Created: 2020-12-23


Hi,
I am using the make new booking API to create a new booking (API documentation | SimplyBook.me Online Scheduling), initially the it didn’t create any invoice, so I passed:

“accept_payment” => true,
“payment_processor” => “Pay later”,

However, this is marking the Invoice as paid, How can I make the invoice as “pending”?

Dmytro Bondarev wrote:

You can pass ‘delay’ as payment processor and it will be marked as pending.

mike hk wrote:

that works perfect! thank you so much.
You could add this to the REST API documentation might help others trying to do similar thing.

In relation to this question, I have another very important issue that I created as a new issues here, please take a look: