Payment Processing Flow
In this articale we describe the entire process of charging a client for provided services and all actions that should be performed by a manager to successfully complete a reservation.
Payment Processing
After the reservation has been created, you can start accepting payments for it.
Creating an Invoice
To do that, first of all you have to create an Invoice. It is recommended to do so, directly from the Reservation details page to allow the system to automatically inherit reservation related data and prevent unnecessary mistakes.


Please note that all payment related mailing will be handled through an email specified in the Invoice. By default it is the same as the main customer profile email, but upon creating an invoice you can change the mail address in case someone else is paying for this reservation. Once the invoice is created email can no longer be changed.

As you can see, the newly created Invoice received “Open” Status. If there will be no entries confirming payments for this invoice, it will automatically change to “Expired” right after crossing the Payment due date.
Creating Payment Requests
While it’s still Open, let's move on with a payment procedure. In order to do that you have to create a Payment Request for this Invoice. Once again, if created from the Invoice page, needed data will be fetched automatically. Please note that you should only create Payment Requests if the payment will be done online. For cash payments you have to skip this part and proceed to manually creating a Payment Entry.


As soon as you save the Payment Request, the Reservation Status will change to Pending.

Receiving Payment Entries
After the payment is submitted several things happen:
You receive a Payment Entry
Payment Request changes its status to Paid
Reservation and Invoice Statuses change accordingly to the payment amount


As you can see for now only 1€ was paid, which is less than the full price but enough to cover the prepayment. Therefore the Invoice and the Reservation statuses will automatically be changed to Prepaid.


Now to complete the payment, you have to create one more Payment to cover the entire Reservation fee. Once again it is recommended to create the request from the Invoice page.

Now the procedure repeats, as soon as this Request is paid, we will receive a Payment Entry only this time the Invoice status will change to Paid and the Reservation Status will change to Confirmed



After all these steps the main payment processing loop is completed and the Customer will receive a Confirmation email, that approves his Reservation as legit.
Merging Invoices
In case the Reservation was altered after the prepayment was already made a situation will occur when you will have to account previous payments intor the updated Invoice. In order to do so we added the possibility to "inherit" past payments from another invoice during new Invoice creation.




Please note that merging procedure cannot be reverted. It is necessary to merge all payments into latest actual invoice before the Reservation Check In procedure. Apart from that invoices will be automatically merged before pushing payment data from the Cash back into booktivity.
Refund Flow
As you well know, sometimes there is a necessity to refund a certain amount of money back to the Customer. In this case you have to manually create a Refund Request from the payment entry you would like to refund. Due to Mollies API limitations now each Payment Entry has to be refunded separately, so you will need at least 2 refunds to fully refund our example Reservation. When you give partial refunds it is recommended to create a Refund Request from the largest Payment Entry.



As you can see, after you created the refund, the Reservation Status will change to Refunded.