Home > Paypal, PHP > Paypal Signature Method

Paypal Signature Method

Steps for accessing Paypal API Signature method

1. Choose Account type, as Website Payments Pro and create a Business account.

2. Log in to a Business account.

3. Click the Profile tab in the My Account sub-menu.

4. click Request API credentials under the Account Information header.

5. On the Request API Credentials page, click Set up PayPal API credentials and permissions link in the left-hand side box.

6. From the API Access page, click View API Signature link in the right-hand side box.

7. Save API Username, API Password, API Signature.

Setting Up PayPal DirectPayment

To set up your direct credit card payments, you will need to attach your PayPal account information.
Insert your PayPal information for the following:

API Username
API Password
API Signature

(For Front End- Fields Required to pay)
Credit Card Type
Credit Card Number
Credit Card Expiry Date
Credit Card Verification Number

PHP Code for a Signature-Based Integration


$ch = curl_init();

curl_setopt($ch, CURLOPT_URL,”https://api-3t.sandbox.paypal.com/nvp&#8221;);

curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);

curl_setopt($ch, CURLOPT_POST, 1);

//include your API Signature, API Password ,API Username

curl_setopt($ch, CURLOPT_POSTFIELDS, $nvpStr);

$response = curl_exec($ch);


Categories: Paypal, PHP
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: