Category:Payments: Difference between revisions
Jump to navigation
Jump to search
| Line 151: | Line 151: | ||
*[PAYURL:200] - Creates a payment url for the payment request url for a fixed amount. | *[PAYURL:200] - Creates a payment url for the payment request url for a fixed amount. | ||
===Request URL Parameters=== | ==== Using Request URL Parameters==== | ||
You can also use a direct link. The link uses the booking number and the requested amount. | You can also use a direct link. The link uses the booking number and the requested amount. | ||
For Auto Actions you can use the [BOOKID] template variable to automatically populate the bookid URL parameter: | |||
https://www.beds24.com/bookpay.php?bookid=[BOOKID] | |||
For custom Emails you can type the booking number in directly: | |||
https://www.beds24.com/bookpay.php?bookid=1234567 | |||
The parameters below can be added to the URL to customize the behaviour of the payment request. | |||
These are the parameters for the different payment options: | These are the parameters for the different payment options: | ||
Bitpay | =====Parameters for different payment options===== | ||
By default all payment gateways enabled for your booking page will show on the payment request page. | |||
You can override which gateways are shown on the booking request page using the URL <code>&g=</code> and <code>&h=</code> parameters. You can specify multiple payment gateways comma separated for both the <code>&g=</code> and the <code>&h=</code> parameter. | |||
The <code>&g=</code> parameter forces the gateway to be shown, the <code>&h=</code> forces the gateway to be hidden. | |||
an - AuthoizeNet | |||
bp - Bitpay | |||
cc - credit card collection | |||
cg - Custom Gateway | |||
op - Offline Payment | |||
pm - Paymill | |||
pp - Paypal | |||
Realex | ra - Realex A | ||
rb - Realex B: | |||
st - Stripe | |||
Capture for Stripe: | |||
capture=0 - do not capture payment | |||
capture=1- capture payment | |||
Examples: | |||
<code>https://www.beds24.com/bookpay.php?bookid=[BOOKID]&g=an</code> creates a payment link for Authorize.Net | |||
&g= | |||
https://www.beds24.com/bookpay.php?bookid=1234567&g= | <code>https://www.beds24.com/bookpay.php?bookid=1234567&g=st,pp</code> creates a payment link showing Stripe and Paypal | ||
https://www.beds24.com/bookpay.php?bookid=[BOOKID]&g= | <code>https://www.beds24.com/bookpay.php?bookid=[BOOKID]&g=st&capture=0</code> creates a payment link for Stripe without capturing | ||
<code>https://www.beds24.com/bookpay.php?bookid=1234567&h=cc</code> creates a payment link hiding credit card collection | |||
=====Parameters for amounts===== | |||
&pay=100 - for a payment request for the specified amount (in this example 100) | |||
&pay=bookpay - for a payment request collecting the outstanding balance for this booking | |||
&pay=grouppay - for a payment request collecting the outstanding balance for the group booking (the default) | |||
Examples: | |||
https://www.beds24.com/bookpay.php?bookid=[BOOKID]& | <code>https://www.beds24.com/bookpay.php?bookid=[BOOKID]&pay=70</code> creates a payment link requesting a payment of 70 | ||
===Payment Request without Payment Options Activated=== | ===Payment Request without Payment Options Activated=== | ||