21 lines
1.2 KiB
Plaintext
21 lines
1.2 KiB
Plaintext
Author: CodexWorld
|
|
Author URL: http://www.codexworld.com/
|
|
Author Email: contact@codexworld.com
|
|
Tutorial Link: http://www.codexworld.com/paypal-advanced-checkout-card-payments-integration-in-php/
|
|
|
|
|
|
============ Instructions ============
|
|
1. Create a database (for example, codexworld_db) and import the "SQL/transactions.sql" file into this database.
|
|
|
|
2. Open the "config.php" file in an editor:
|
|
===> Set PAYPAL_SANDBOX to FALSE.
|
|
===> Specify the Client ID (PAYPAL_PROD_CLIENT_ID) and Secret (PAYPAL_PROD_CLIENT_SECRET) as per your PayPal REST API credentials.
|
|
===> Specify the database host (DB_HOST), username (DB_USERNAME), password (DB_PASSWORD), and name (DB_NAME) as per your MySQL database credentials.
|
|
|
|
3. Open the "index.php" file on the browser ===> Enter the test card number, a valid future expiration date, and any random CVV number ===> Click Pay Now to proceed with the payment.
|
|
|
|
|
|
============ May I Help You ===========
|
|
Do reach out to us at {support@codexworld.com} if you have any trouble implementing this or if you need any help.
|
|
|
|
If you have any queries about this script, send the query by posting a comment here - http://www.codexworld.com/paypal-advanced-checkout-card-payments-integration-in-php/#respond |