amwalpay / laravel-package
AmwalPay Payment for Laravel.
1.0.0
2025-05-12 12:45 UTC
README
Installation
- Install the AmwalPay Laravel Package via amwalpay/laravel-package
composer require amwalpay/laravel-package:dev-main
- Publish the AmwalPay Service Provider using the following command.
php artisan vendor:publish --provider="AmwalPay\LaravelPackage\AmwalPayServiceProvider" --tag="amwalpay"
- Customize the process and callback actions that exist in app/Http/Controllers/AmwalPayController.php file as per your needs.
Configuration
AmwalPay Account
- Sign up at AmwalPay and and our sales team will reach out to you. Once contract is signed, we’ll send you your Merchant ID, Terminal ID, and Secure Key.
Merchant Configurations
- Edit the config/amwalpay.php file and paste each key in its place.
- replace only the {YourWebsiteURL} with your site domain.
https://{YourWebsiteURL}/amwalpay/callback
- Below URL is considered as your website payment process for AmwalPay Payment. Just replace the
{YourWebsiteURL}
with the actual domain.
https://{YourWebsiteURL}/amwalpay/process