Gary's Test Store

Example 4 - Buttons link to Web Form intermediate page + Encryption

Dell Laptop 101
Dell Laptop - $500.00

Toshiba Laptop 102
Toshiba Laptop - $600.00

Note: Clicking buy-buttons will redirect to the PayPal Sandbox account. If you are not already logged on, you will be prompted to do so the first time. You will then back up to this page and re-click the buy-button.

To use this example with your account, you will have to create a certificate/key to use with Encrypted Website Payments (one way is to use the Certs and Keys tool). You will then have to upload your public key to PayPal, copy your PKCS12 file to the App_Data folder, and update the PayPalRedirectorEwp.aspx.cs with the Ewp parameters for your certificate/key. For more info see How to create dynamic Encrypted Website Payments (EWP) PayPal buttons.