Skip to content

ArifPay Sample for older Laravel version 5.4^ | 6,0^ | 7.0^ | 8.0^ | 9.0^

Notifications You must be signed in to change notification settings

Arifpay-net/Laravel-5.4-and-up-Sample

Repository files navigation

Build Status Total Downloads Latest Stable Version License

Getting Started

    git clone https://github.com/Arifpay-net/Laravel-5.4-and-up-Sample
    cd ./Laravel-5.4-and-up-Sample

Assuming you already installed composer and <= php8.1. run composer install

    composer install

Usage

Change your-api-key with your test key you created in your dashboard. Arifpay Dashboard

... 
Route::get('/test', function (Request $request) {
    $arifpay = new Arifpay('your-api-key');
...
});

// and

Start server

php artisan serve

We have provided the test collection in postman. you can Try it now.

The create route will create a test session and returns a session id and a payment url. you can then pass this id to fetch route and you will get the session object you created. you can also check out go to the payment url with browser of your choice and you will get the checkout page.

Feel free to tweak and test this sample to get familiarly with our API. And submit an issue on github if you face any problem.

More Information

About

ArifPay Sample for older Laravel version 5.4^ | 6,0^ | 7.0^ | 8.0^ | 9.0^

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published