LaravelPackages.net
Acme Inc.
Toggle sidebar
lakow/safe2pay-laravel

Component to integrate payment methods through safe2pay platform

30
1
1.0.0
About lakow/safe2pay-laravel

lakow/safe2pay-laravel is a Laravel package for component to integrate payment methods through safe2pay platform. It currently has 1 GitHub stars and 30 downloads on Packagist (latest version 1.0.0). Install it with composer require lakow/safe2pay-laravel. Discover more Laravel packages by lakow or browse all Laravel packages to compare alternatives.

Last updated

Safe2Pay

Component to integrate payment methods through Safe2Pay platform

Installation

Composer

Start by adding the package to require your composer.json

composer require lakow/safe2pay-laravel

Having loaded dependencies and installed on your project, we will add ServiceProvider and facade.

ServiceProvider

You need to update your application configuration in order to register the package so it can be loaded by Framework.

To move the Safe2Pay settings file to the Settings folder of your application, simply perform the following command:

php artisan vendor:publish

or

php artisan vendor:publish --provider="Lakow\Safe2Pay\Providers\PaymentServiceProvider"

If you have already published the files, but for some reason need to override them, add the flag '--force' at the end of the previous command.

php artisan vendor:publish --provider="Lakow\Safe2Pay\Providers\PaymentServiceProvider" --force

His .env file, add the following values

S2P_KEY=authorization_key
S2P_SANDBOX=homologated_true_or_false

Star History Chart