Setting/propertiescollectdepositcustom2post: Difference between revisions

From Beds24 Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
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.
Line 5: Line 7:
The template variable [PAYMENTAMOUNT] can be used to create the correct value for both booking deposits and payment requests.
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.
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]&currency=USD
  for example: inputname1=value1&inputname2=value2&inputname3=value3&reference=[BOOKID]&amount=[PAYMENTAMOUNT]&description=Deposit Payment for [PROPERTYNAME]&currency=USD

Latest revision as of 14: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]&currency=USD