Table of contents
General Settings - Confirmation Links - Adding a Payment Link
Description
This tutorial will step you through the process of adding a payment link to the confirmation email. This example utilizes PayPal's Website Payments Standard payment option and the "||AMOUNT||" tag in the payment link. Other payment providers will work as long as you only have to replace the amount within the payment link. This will not automatically collect payment. It is only a link in the email that the end user can click to pay. The ||AMOUNT|| tag will be replaced with the ledger balance due at the time that the receipt is generated.
- First we need to generate the payment link. In this example we are using PayPal's Website Payments Standard. Go to www.PayPal.com. Click the Business tab. Under the "Products & Services" menu Click the "Website Payments Standard" menu option.
- In the "Your Payment Button Options" section Click "Create a Button" under the "For Single Items:" section
- Select the "Buy Now" option in "Choose a button type" options. In the "Item name" text box enter "RES Enrollment." In the "Price" text box enter any amount(We will replace the amount with the ||AMOUNT|| tag). Select "Pay Now" option in the "Select button text" options. Finally enter you PayPal account email address in the "Email address to receive payments" text box (Not shown). Click "Create Button."
- The button code will be generated.
- Switch to the Email tab and Click the "Select Code" button.
- Paste the link code into the Link URL textbox in RESAdmin. Replace the amount value "111%2e00" (The value between the "&amount=" and "¤cycode") of the link with the "||AMOUNT||" tag. Enter your desired "Link Text".
- Copy the image URL from PayPal's Website button code and paste it the "Image URL" in RESAdmin. Click the "Save" button.
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="mmartin@msf-usa.org">
<input type="hidden" name="lc" value="US">
<input type="hidden" name="item_name" value="RES Enrollment">
<input type="hidden" name="amount" value="111.00">
<input type="hidden" name="currency_code" value="USD">
<input type="hidden" name="button_subtype" value="services">
<input type="hidden" name="no_note" value="0">
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_paynowCC_LG.gif:NonHostedGuest">
<input type="image" src="https://www.paypalobjects.com/WEBSCR...aynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/WEBSCR.../scr/pixel.gif" width="1" height="1">
</form>
- The link will now be shown in the Receipt.
- When the end user clicks on the link the will be redirected to PayPal with the amount due pre-populated. This amount is the ledger balance at the time that the receipt was generated.