Skip to content

anburocky3/phonepe-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhonePe Laravel

Latest Version on Packagist Total Downloads

Payment Gateway for Laravel Projects

Installation

You can install the package via composer:

composer require anburocky3/phonepe-laravel
  1. Update the env file with your relevant information.
PHONEPE_MERCHANT_ID=
PHONEPE_MERCHANT_USER_ID=
PHONEPE_ENV=
PHONEPE_SALT_KEY=
PHONEPE_SALT_INDEX=
PHONEPE_CALLBACK_URL=
PHONEPE_MERCHANT_TRANSACTION_ID=
  1. Use it like this.
$phonePe = new PhonePe("91987654322", "callback-url");

$phonePe->makePayment(500, "test01"); // '500' is amount, 'test01' is merchantId

Credits

License

The MIT License (MIT). Please see License File for more information.

About

PhonePe Payment Integration for Laravel projects

Resources

License

Code of conduct

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published