×
Menu
Index

PayPal Subscription Button Dialog

PayPal Subscription Button Dialog
1

PayPal Account

1. PayPal Account
Enter the PayPal Account.
2

Sandbox Account

2. Sandbox Account
Select this option if the PayPal account is a Sandbox account. A Sandbox account is used to test the process of payment before using the real account. You can check out this website https://developer.paypal.com.
3

Encrypt code

3. Encrypt code
Encrypt the payment details. In order to do this, you must have a PayPal account and you need to upload a public certificate to PayPal and get a certificate ID in return. Use the PayPal Encryption Key Manager to generate a public certificate to upload to PayPal. A form for submitting payment without encryption will look like this:
 
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
     <input type="hidden" name="cmd" value="_xclick" />
     <input type="hidden" name="business" value="paypal@yourwebsite.com" />
     <input type="hidden" name="item_name" value="Item 1" />
     <input type="hidden" name="amount" value="29.95" />
     <input type="hidden" name="currency_code" value="USD" />
     <input type="hidden" name="cn" value="Add special instructions to the seller" />
     <input type="hidden" name="no_shipping" value="2" />
     <input id="wsbppbtn1" type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" name="submit" alt="" />
</form>
 
The encrypted form will look like this (Note: The real value will be much longer):
 
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
     <input type="hidden" name="cmd" value="_s-xclick" />
    <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIAGCSqGSIb3DQEHA6CAMIACAQAxggE6MIIBNgIBADCBnjCBmDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCkNhbGlmb3JuaWExETAPBgNVBAcTCFNhbiBKb
.........
FzGAAAAAAAAAAAAAA=-----END PKCS7-----" />
    <input id="wsbppbtn1" type="image" src="https://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif" name="submit" alt="" />
</form>
 
It will hide your PayPal account and also prevent the payment details from being manipulated.
4

Certificate ID

4. Certificate ID
Select the certificate ID from PayPal for this account if encryption of the PayPal button is needed.
5

Item Name

5. Item Name
Enter the item name.
6

Item ID

6. Item ID
Enter the item ID if any.
7

Billing amount

7. Billing amount
Enter the billing amount for each cycle of the subscription.
8

Currency

8. Currency
Select the currency of the subscripiton.
9

Billing cycle

9. Billing cycle
Select the billing cycle of the subscription.
10

Number of cycles

10. Number of cycles
Select the number of cycles for this subscription. Infinite means the subscription will not stop until it is canceled. If it is a 6 months subscription, select 6 from the drop down menu.
11

Trial period

11. Trial period
Offer a trial period. If the billing amount is zero, it will be free for the trial period. The trial period has only one cycle. So if you offer first 3 months free, you should set the trial period to 3 months and the billing amount to zero.
12

2nd trial period

12. 2nd trial period
Offer a 2nd trial period. The 2nd trial period has one cycle only. For example, you offer 1 month free and then another month 20 before charging the regular monthly payment of 50. You will set the trial period to 1 month and the billing amount zero. Then set the 2nd trial period to 1 month and the billing amount to 20. On the third month, the 50 dollars will be charged.
13

Customize Button tab

13. Customize Button tab
14

Customize Checkout Page tab

14. Customize Checkout Page tab
15

Advanced Variables tab

15. Advanced Variables tab
16

OK button

16. OK button
Click OK to save the settings.
17

Cancel button

17. Cancel button
Cancel saving the settings.