Skip to content

azimrisaldar/laravel-atom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Atom Payment Gateway Intergration Using Laravel 5 above version

This package will help you to Intergrate Atom Payment Gateway in Laravel framework

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Installation

Install package using composer

    composer require azimrisaldar/laravel-atom

Add the service provider to the config/app.php file in Laravel


    'PaymentGateway\Atom\AtomServiceProvider::class',

Publish the config by running in your terminal


    php artisan vendor:publish

Edit the config/Atompay.php. Set the Mode of Tesing for True and False...

 use PaymentGateway\Atom\Facades\Atompay;  

Initiate Purchase Request and Redirect using the default gateway:-

      /* All Required Parameters by your Gateway */
      
      $parameters = [
        'email'        => 'xyz@xyz.com',
        'phone'        => '**********',
        'Amount'        => '100',
      ];
        
        $return = Atompay::prepare($parameters);

        return redirect($return) ;
 
    public function response(Request $request)
    
    {
        
        $response = Atompay::response($request);

        dd($response);
    
    }  

About

Atom payment gateway integration in laravel 5*

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages