Changes

Jump to navigation Jump to search

Send Paypal Payment Request

2,953 bytes added, 9 February
no edit summary
[[Category:Deposit_CollectionHow_to]][[Category:How_ToPayments]]<div class="heading">Paypal Payment Request</div> This page explains how to create an Email template with a request to make a payment via Paypal.__TOC__You can use an Auto Action email to send a Paypal payment request.'''Requires:''' = Knowledge of HTMLPaypal Link =*Go to SETTINGS->PAYMENTS->PAYMENT GATEWAYS->PAYPAL and enter the Paypal email address to which you want the payment to go.
You can use an Auto Action email to send a Paypal payment request. *Go to SETTINGS->GUEST MANAGEMENT->AUTO ACTIONS and create an Auto Action. A template is available which you can further customize. Use the context help (?Icons) in the Auto Action and on the help page (click on HELP in the top right menu) for further instructions.
In the "Messaging" tab click on "Edit" and enter your text. The template variable [PAYPALLINK] creates a clickable Paypal payment link (HTML A Tag) for the amount in the booking deposit field if non zero, otherwise the outstanding balance. [PAYPALLINK:25%] - Creates a Paypal payment link (HTML A Tag) for a percentage of the outstanding balance. Use 100% to specify the full outstanding balance. [PAYPALLINK:200] - Creates a Paypal payment link (HTML A Tag) for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount.   The template variable [PAYPALURL] - Creates a Paypal payment url for the amount in the booking deposit field if non zero, otherwise the outstanding balance. [PAYPALURL:25%] - Creates a Paypal payment url for a percentage of the outstanding balance. [PAYPALURL:200] - Creates a Paypal payment url for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount. = Paypal Button and Custom Paypal Payment Form= <span style="color:#fe746c;“ >{{#fas:exclamation-triangle}} </span> Some Emailprogrammes deactivate the button so that the payment screen can not open.= Auto Action Email with Paypal Button =*Go to SETTINGS->PAYMENTS->PAYMENT GATEWAYS->PAYPAL and enter the Paypal email address to which you want the payment to go. *Go to SETTINGS->GUEST MANAGEMENT->AUTO ACTIONS and create an Auto Action. Use the context help (?Icons) and the help page (click on HELP in the top right menu) for general instructions. In the "Messaging" tab click on "Edit" and enter your text. [PAYPALBUTTON] creates a Paypal payment button for the amount in the booking deposit field if non zero, otherwise the outstanding balance. Not recommended for emails. [PAYPALBUTTON:25%] - Creates a Paypal payment button for a percentage of the outstanding balance. Not recommended for emails. [PAYPALBUTTON:200] - Creates a Paypal payment button for a fixed amount. A zero amount will cause paypal to provide a field to enter an amount. Not recommended for emails. = Custom Paypal Payment Form =When you use this method the system can automatically calculate the deposit amount from the price of the booking. <span style="color: #f3e504; font-size: 250%;" >{{#fas:lightbulb}} </span> '''Requires:''' Knowledge of HTML Go to SETTINGS->GUEST MANAGEMENT->AUTO ACTIONS and create an Auto Action. Use the context help (?Icons) and the help page (click on HELP in the top right menu) for general instructions.  In the "Messaging" tab click on "Edit" then "Source code".
This is an example code for a request to pay a 50% deposit:
<div style="background-color: #f9f9f9; border: 1px solid #ddd; padding: 5px">
<p>The deposit amount is &euro; <span style="color:#008acc;">[PRICENUMINVOICEBALANCENUM:50%]</span><br />
<br />
The remaining balance of &euro; <span style="color:#008acc;">[PRICENUMINVOICEBALANCENUM:50%]</span> can be paid at your arrival at - [PROPERTYNAME].<br />
&nbsp;</p>
<input name="item_number" type="hidden" value="[BOOKID]" />
 
<input name="custom" type="hidden" value="[BOOKID]" />
<input name="currency_code" type="hidden" value="<span style="color:#008acc;">EUR</span>" />
<td style="padding:0 5px 5px 0;">Amount &euro;</td>
<td style="padding:0 5px 5px 0;"><input maxlength="250" name="amount" type="text" value="</nowiki><span style="color:#008acc;">[PRICENUMINVOICEBALANCENUM:50%]</span>"<nowiki></td>
</tr>
<tr>
Exchange following information:
*[PRICENUMINVOICEBALANCENUM:50%] - with the percentage or amount you want to collect
*[email protected] - with the the email address of your Paypal account
*EUR - with your currency e.g. USD,, CAD, AUD, GBP
*<nowiki>http://myurl.com/confirm</nowiki> - with the link to the URL where the guest is sent after the payment was made
*<nowiki>http://myurl.com/cancel</nowiki> - - with the link to the URL where the guest is sent if he did not complete the payment

Navigation menu