Download the PHP package imlolman/phonepe-php-sdk without Composer
On this page you can find all versions of the php package imlolman/phonepe-php-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download imlolman/phonepe-php-sdk
More information about imlolman/phonepe-php-sdk
Files in imlolman/phonepe-php-sdk
Package phonepe-php-sdk
Short Description Phonepe Payment Gateway PHP SDK.
License MIT
Informations about the package phonepe-php-sdk
Unofficial PhonePe PHP SDK
This is an unofficial PHP SDK for the PhonePe API. It is a work in progress and is not yet ready for production use.
In short, PhonePe Gateway provides the following four payment solutions. Let's view the images below to understand the flow of each payment solution.
[x] PG Standard Checkout (Done)
-
PhonePe provides a Standard Checkout page that is hosted by PhonePe PG. This handles payment information and processing for UPI, Cards, and Netbanking payment methods. PhonePe PG Hosted Checkout Page is PCI DSS compliant.
[ ] PG Custom Checkout (Pending)
-
PhonePe provides an option for merchants who have their own checkout page and want PhonePe PG to process payments via various payment methods like UPI, Cards, and Netbanking. This is a simple API-based integration where the merchant can call the PhonePe PG API and get the payment processed.
[ ] Recurring Payments (Pending)
-
Kind of subscription/e-mandate for recurring payments.
[ ] Android PG SDK (Unplanned)
- As the name suggests, this is an SDK for Android Apps.
Contributing
Pull requests are more than welcome. Since I am using Standard Checkout, I am creating that; however, since the structure is already ready, you can create other payment methods as well.
If you are using any other payment methods, please create a pull request with your solution, and I will merge it.
Installation
Usage
Standard Checkout
-
Creating a Transaction
-
Validating a Transaction from webhook callback
- Validating a Transaction using Transaction ID