Difference between revisions of "Setting/propertiescollectdepositcustom2post"

From Beds24 Wiki
Jump to navigation Jump to search
Line 2: Line 2:
  
 
Template variables can be used to include information about the booking.
 
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.
 
Post fields should be specified as name/value pairs separated by ampersands.
 +
  
 
  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

Revision as of 11:04, 14 January 2018

This data will be included as POST data sent to the payment gateway. It simulates a HTML form post.

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.


for example: inputname1=value1&inputname2=value2&inputname3=value3&reference=[BOOKID]&amount=[PAYMENTAMOUNT]&description=Deposit Payment for [PROPERTYNAME]&currency=USD