Custom Gateway: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:


Required skills: html, programming
Required skills: html, programming
== Introduction ==


You can create an interface to an external (not integrated) payment gateway.
You can create an interface to an external (not integrated) payment gateway.


The booker will be shown a button which will take them to the specified URL with the value from "Post Data" included as an HTML POST.
The booker will be shown a button which will take them to the specified URL with the value from "Post Data" included as an HTML POST.
== Transfer to Custom Gateway ==


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.
Line 13: Line 17:


  i.e. deposit=[PAYMENTAMOUNT]&bookid={BOOKID] will post fields deposit and bookid to the external gateway.
  i.e. deposit=[PAYMENTAMOUNT]&bookid={BOOKID] will post fields deposit and bookid to the external gateway.
== Webhook to notify of payment status ==


A notify URL is available for the external gateway to report a successful collection of the deposit.
A notify URL is available for the external gateway to report a successful collection of the deposit.