Difference between revisions of "Setting/propertiescollectdepositcustom2post"
Jump to navigation
Jump to search
Markkinchin (talk | contribs) |
Markkinchin (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This data will be included as POST data sent to the payment gateway. It simulates a HTML form post. | This data will be included as POST data sent to the payment gateway. It simulates a HTML form post. | ||
+ | |||
+ | The data sent should be whatever the payment gateway requires to initiate a payment collection. | ||
Template variables can be used to include information about the booking. | Template variables can be used to include information about the booking. | ||
− | Post fields should be specified as name/value pairs separated by ampersands. | + | The template variable [PAYMENTAMOUNT] can be used to create the correct value for both booking deposits and payment requests. |
+ | |||
+ | Post fields should be specified as name/value pairs separated by ampersands as per this example. | ||
+ | |||
− | inputname1=value1&inputname2=value2&inputname3=value3&reference=[BOOKID]&amount=[ | + | for example: inputname1=value1&inputname2=value2&inputname3=value3&reference=[BOOKID]&amount=[PAYMENTAMOUNT]&description=Deposit Payment for [PROPERTYNAME]¤cy=USD |
Latest revision as of 15:36, 14 October 2024
This data will be included as POST data sent to the payment gateway. It simulates a HTML form post.
The data sent should be whatever the payment gateway requires to initiate a payment collection.
Template variables can be used to include information about the booking.
The template variable [PAYMENTAMOUNT] can be used to create the correct value for both booking deposits and payment requests.
Post fields should be specified as name/value pairs separated by ampersands as per this example.
for example: inputname1=value1&inputname2=value2&inputname3=value3&reference=[BOOKID]&amount=[PAYMENTAMOUNT]&description=Deposit Payment for [PROPERTYNAME]¤cy=USD