×
Menu
Index

PayPal View Cart Button Dialog

PayPal View Cart 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 target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_cart" />
    <input type="hidden" name="display" value="1" />
    <input type="hidden" name="business" value="paypal@yourwebsite.com" />
    <input id="wsbppbtn1" type="image" src="https://www.paypal.com/en_US/i/btn/btn_viewcart_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_viewcart_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

Customize Button tab

5. Customize Button tab
6

OK button

6. OK button
Click OK to save the settings.
7

Cancel button

7. Cancel button
Cancel saving the settings.