This is where your description should go. Take a look at contributing.md to see a to do list.
Via Composer
composer require immera/payment-backend
Publish the vendor
php artisan vendor:publish --provider=Immera\PaymentBackend\PaymentServiceProvider
Run migrations
php artisan migrate
This package is need to be used with frontend package. package-frontend
You need to except routes for cors
just add the following route in the cors.php
config
payment/*
to paths
...
'paths' => [..., 'payment/*'],
...
also make sure you have set your secret key in .env
file
PAYMENT_ROUTE_PREFIX=/api
PAYPAL_URL=https://api-m.sandbox.paypal.com/
PAYPAL_CLIENT_ID=
PAYPAL_CLIENT_SECRET=
STRIPE_SECRET=
STRIPE_WEBHOOK_SECRET=
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
MIT. Please see the license file for more information...