ssi / aggrepaypayment
Integrate Aggrepay Payments easily with this package.
Installs: 135
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ssi/aggrepaypayment
This package is auto-updated.
Last update: 2025-11-26 00:03:57 UTC
README
aggrepaypayment
#Open the config/app.php and add this line in providers section.
ssi\aggrepaypayment\AggrepayPaymentServiceProvider::class,
#Add this line in the aliases section.
'Aggrepay' => ssi\aggrepaypayment\AggrepayFacade::class
#Publish vendor.
php artisan vendor:publish
$params = [
'order_id' => 'test0013',
'amount' => '20.00',
'currency' => 'INR',
'description' => 'test',
'name' => 'akii',
'email' => 'akhiiw.office@gmail.com',
'phone' => '8698330550',
'city' => 'Nagpur',
'country' => 'IND',
'zip_code' => '440015',
'return_url' => url('/payStatus')
];
Aggrepay::startPayment($params)->send();
//Returns response
$result = Aggrepay::aggrepayData($_POST);
//Returns an json of all the parameters of use in the transaction
echo json_encode($result->getParams());