Ultimate-PayPal-Integration is a project designed to facilitate transactions using PayPal, credit, or debit cards. It stores all transaction data in a database and includes a demo application for donation payments, using a sandbox PayPal business account. Additionally, there is a page to view all transactions made.
- PayPal Transactions: Seamlessly integrate PayPal payment processing.
- Credit and Debit Card Transactions: Accept payments from credit and debit cards.
- Transaction Storage: Store all transaction details in a database for record-keeping and auditing.
- Donation Payment Demo: A demo application showcasing a donation payment process using a sandbox PayPal business account.
- Transaction History: View all transactions made through a dedicated transactions page.
- Php
- Mysql
- JavaScript SDK reference -> https://developer.paypal.com/sdk/js/reference/.
- Paypal rest api -> https://developer.paypal.com/api/rest/
To implement this project you need to setup paypal developer account https://developer.paypal.com/ create an app ,obtain client id and client secret.For frontend part you will required Javascript SDK -> https://developer.paypal.com/sdk/js/v1/reference/.My frontend app is located in pages/home.php it illustrate how setup embed paypal button.For backend all the processing is done in async/capture_order.php it showcase how generate order_id and verify if payment was completed.
- Navigate to the home page.
- Complete the payment process using PayPal.
- JavaScript: For the front-end.
- PHP: For handling database interactions and storing transaction details.
- MySQL: Relational database management system for storing transaction data.
- Javascript PayPal SDK: For integrating PayPal payment processing.