Skip to content

FastPay is Kurdistan's quickest, most convenient, and safest mobile wallet for Shopping, Mobile recharge, Internet recharge, Money transfers and Bill payments. Use FastPay for a cashless, hassle-free experience while shopping, dining, travelling and a lot more!

Notifications You must be signed in to change notification settings

KarwanKhalid/Fastpay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

KarwanKhalid\Fastpay

Laravel Package for the Fastpay Payment Gateway API

Installation

You will need composer to install Fastpay. Then publish assets and migrate the table for payment records.

composer require "KarwanKhalid/Fastpay" --no-cache
php artisan vendor:publish
php artisan migrate

I haven't tested it below Laravel 5.5 . If you wanna try in below Laravel 5.5 , you will need to edit config/app.php and add the following line in the providers section.

KarwanKhalid\Fastpay\FastpayServiceProvider::class

Add the following constants in the .env file of your Laravel Project.

For Live

API_DOMAIN_URL=https://secure.fast-pay.cash
MERCHANT_MOBILE_NO=PUT_YOUR_MERCHANT_MOBILE_NO
STORE_PASSWORD=PUT_YOUR_STORE_PASSWORD
IS_LOCALHOST=false

For SANDBOX

API_DOMAIN_URL=https://dev.fast-pay.cash
MERCHANT_MOBILE_NO="+9641684405075"
STORE_PASSWORD="Password1@"
IS_LOCALHOST=true

Clear config cache if required.

php artisan config:cache

That's it! Enjoy!

Usage

For listening to the payment event, open your app/Providers directory and add your own listener for the FastpayPaymentComplete event class.

Changelog

1.0.0-alpha

  • Initial Release

Note

  • I don't have any live Fastpay store. So could not test that. Please open an issue if you face any problem with LIVE payments so I can test with you and fix that.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

FastPay is Kurdistan's quickest, most convenient, and safest mobile wallet for Shopping, Mobile recharge, Internet recharge, Money transfers and Bill payments. Use FastPay for a cashless, hassle-free experience while shopping, dining, travelling and a lot more!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published