immera/payment-backend

This package is abandoned and no longer maintained. No replacement package was suggested.

Immera payments helper for backend

This package's canonical repository appears to be gone and the package has been frozen as a result. Email us for help if needed.

Maintainers

Package info

github.com/immera/payment-backend

pkg:composer/immera/payment-backend

Transparency log

Statistics

Installs: 2 525

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 2

1.0.5 2024-01-18 08:42 UTC

This package is auto-updated.

Last update: 2026-07-28 14:51:19 UTC


README

Latest Version on Packagist Total Downloads

This is where your description should go. Take a look at contributing.md to see a to do list.

Installation

Via Composer

composer require immera/payment-backend

Publish the vendor

php artisan vendor:publish --provider=Immera\PaymentBackend\PaymentServiceProvider

Run migrations

php artisan migrate

Usage

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=

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email hello@immera.io instead of using the issue tracker.

Credits

License

MIT. Please see the license file for more information...