Setting/propertiescollectdepositcustom2post: Difference between revisions

Jump to navigation Jump to search
Created page with "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...."
 
No edit summary
 
(5 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.
 


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