Send Paypal Payment Request: Difference between revisions

Jump to navigation Jump to search
No edit summary
Lesley (talk | contribs)
No edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Deposit_Collection]]
[[Category:How_to]]
[[Category:How_To]]
[[Category:Payments]]
  This page explains how to create an Email template with a payment request.
<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__
__TOC__
You can use an Auto Action email to send a Paypal payment request.  
You can use an Auto Action email to send a Paypal payment request.  
== Auto Action Email with Paypal Button ==
= Paypal Link =
*Go to SETTINGS->PROPERTIES->DEPOSIT COLLECTION->PAYPAL and enter the Paypal email address to which you want the payment to go.
*Go to {{#fas:cog}} (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.
*Go to {{#fas:cog}} (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 "Email" tab click on "Edit" and enter your text. The template variable [PAYPALBUTTON] will create a Paypal button. When the guests clicks on the button they will be redirected to the secure Paypal payment page where they can pay the requested amount.
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.
When you use this method the system will use the "Deposit" amount entered in "Charges and Payments" tab of the booking.  If you have not entered an amount the system will use the "Balance Due" from the in "Charges and Payments" tab of the booking. You can add a percentage or a fixed amount to the template variable. Examples:


[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.


[PAYPALBUTTON:25%] will request 25% of the invoice 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.  


[PAYPALBUTTON:50] will request a fixed amount of 50 of your currency,


The template variable [PAYPALURL] - Creates a Paypal payment url for the amount in the booking deposit field if non zero, otherwise the outstanding balance.


== Custom Paypal Payment Form ==
[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 Email programmes deactivate the button so that the payment screen can  not open.
= Auto Action Email with Paypal Button =
*Go to {{#fas:cog}} (SETTINGS) > PAYMENTS > PAYMENT GATEWAYS > PAYPAL and enter the Paypal email address to which you want the payment to go.
 
*Go to {{#fas:cog}} (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.
When you use this method the system can automatically calculate the deposit amount from the price of the booking.


'''Requires:''' Knowledge of HTML
<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.
Go to {{#fas:cog}} (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 "Email" tab click on "Edit" then "Source code".  
In the "Messaging" tab click on "Edit" then "Source code".  


This is an example code for a request to pay a 50% deposit:
This is an example code for a request to pay a 50% deposit: