Process Credit Cards with PayPal

Now a days PayPal is weirdly used and popular payment processing platform to process credit cards. It is very easy to integrate PayPal payment pro API to your php shopping cart. It requires API Username, API password and API signature which you can get from PayPal site.

Files Included in this project.

constants.php
You need to change the file with your API username, password and signature which you get from PayPal. You can also set URL for sandbox mode and regular payment. Please change the following.
define('API_USERNAME', 'YOUR USER NAME HERE');
define('API_PASSWORD', 'YOUR PASSWORD HERE');
define('API_SIGNATURE', 'YOUR API SIGNATURE HERE');

Please change the following for sandbox mode and regular mode.
Regular payment:
define('API_ENDPOINT', 'https://api-3t.paypal.com/nvp');
define('PAYPAL_URL', 'https://www.paypal.com/webscr&cmd=_express-checkout&token=');

Sandbox mode:
define('API_ENDPOINT', 'https://api-3t.sandbox.paypal.com/nvp');
define('PAYPAL_URL', 'https://www.sandbox.paypal.com/webscr
&cmd=_express-checkout&token=');

CallerService.php

No need to change anything in this file.

confirmation.php
This is the sample file that contains a form with minimum fields required to process a payment. On payment success or failure PayPal will return success/ failure message to this page.

paypal_entry.php
This page process user data to PayPal.

  
Download Code Total Downloads: 5793

Comments
17 December
2013
Sam
I am also getting same issue . Could u explain After successful payment,amount is added to merchant account but there was no reduction from buyer's account,as i checked in sandbox's account.
Can u pls explain?
12 December
2013
rahul
Hello,
how its safe if its not require pin number means sequirty code of card.can you explain me.
13 November
2013
sneha
hello,

After successful payment,amount is added to merchant account but there was no reduction from buyer's account,as i checked in sandbox's account.
Can u pls explain?
13 November
2013
sneha
thanks
13 September
2013
jj
i need the paypal transfer as well, like user can send money from their paypal as well, so i dont need this card number and other things. what i need to do for paypal transfer?
18 September
2013
Site Admin
Please check http://www.a2zwebhelp.com/paypal-payment-form . It may help.
02 September
2013
jayapal
new debit card appaly
comments powered by Disqus