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.

  • customer

    customer

    27 September 2019, 13:35:37

    Good product item

    • admin

      admin

      28 September 2019, 07:07:57
      Author

      thanks :)

    • admin

      admin

      28 September 2019, 07:13:40
      Author

      i really appreciate you

  • customer

    customer

    28 September 2019, 07:14:58

    can you recommended any hosting provider?

    • admin

      admin

      28 September 2019, 07:17:57
      Author

      sure

Contact the Author

Please sign in to contact this author.

This item is one of the free files. You are able to download this item for free for a limited time. Updates and support are only available if you purchase this item.

Price Details
Regular License
₹75
Extended License
₹95

License Agreement

3 Sales
( 0 Ratings )
2 Comments
Item Information
Last Update
03 Oct 2024


Created
26 Sep 2019


Category
PHP Scripts


Compatible Browsers
Opera,
Safari,
Chrome,
Firefox


Package Includes
CSS,
HTML
Back To Top