Skip to main content

Posts

Showing posts from November 23, 2007

Security issue with PayPal

Hi friend as you know PayPal is one of the biggest player for online payment. Since you implement the paypal integration in your web site as developer or as webmaster etc. How you tackle the security issue when especially you handle the paypal button. Here some idea with sample code can help you. You can encrypt the paypal button by open ssl certificate with paypal certificate. 1. Step 1: create private key with open ssl from your linux/unix command prompt [make sure your server have open ssl installed] openssl genrsa -out my-prvkey.pem 1024 2. Step 2: Create public certificate [key + signature] openssl req -new -key my-prvkey.pem -x509 -days 365 -out my-pubcert.pem 3. Step 3: create paypal certificate to use encrypt the paypal button code To upload your public certificates to PayPal: 1. Log in to your Business or Premier account. 2. Click the Profile subtab. 3. In the Seller Preferences column, click Encrypted Payment Settings. 4. Click Add. 5. Click Browse, and select ...