Accept payments
Depending on the reservation’s guarantee types in your basket, you should run the booker through the following flows.
- For
PM6Hold, you should not ask for a credit card and only allow the booker to put a credit card on file to guarantee the booking for later than 6 pm on the day of arrival. In this case, you can collect payment upon check-in or check-out for reservations. - For a
CreditCardbooking, you should at least authorize a zero amount and store the payment account with the booking. In this case, you can collect payment upon check-in or check-out for reservations. - For
Prepayment, you would need to authorize the prepayment amount and forward the reference to the transaction to apaleo together with the payment account. With this option, reservations with the guarantee typePrepaymentare charged once the reservation has been created.
Using Adyen’s Drop-in technology, it is really simple to authorize the above-calculated prepayment amount. Hotels can even use the credit card later for merchant-initiated transactions when you set the parameters shopperReference, shopperInteraction and recurringProcessingModel . When adding your web drop-in payment form, please ensure to suppress the openinvoice payment methods by setting the property removePaymentMethods to the following list: “klarna_paynow”, “klarna”, “klarna_b2b”, “klarna_account”, “ratepay”, “ratepay_directdebit”, “afterpaytouch”, “afterpay_default”, “afterpay_directdebit”, “afterpay_b2b”, “facilypay_3x”, “facilypay_4x”, “facilypay_6x”, “facilypay_10x”, “facilypay_12x”
It is essential to set all the metadata in the
additionalDatato ensure that apaleo can finalize the transaction correctly. To avoid conflicts, theshopperReferencemust be a UUID or a GUID.
You must send
subMerchantID. It has to be part of the payment configuration.