Custom Gateway: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 14: Line 14:
= Transfer to Custom Gateway =
= Transfer to Custom Gateway =


The post data is sent to the custom gateway as if it came from a normal HTML form being submitted
The post data is sent to the custom gateway with a POST method as if it came from a normal HTML form being submitted on a web page.


Both the URL and POST fields can contain template variables to include values from the booking.
Both the URL and POST fields can contain template variables to include values from the booking.
If the POST fields are empty, a GET request is made to the specified URL.


A special template variable [PAYMENTAMOUNT] will contain the value of the deposit when booking and the value of the payment request when used for payment requests.
A special template variable [PAYMENTAMOUNT] will contain the value of the deposit when booking and the value of the payment request when used for payment requests.