Control user's paid subscriptions with Authorize.net webhooks.
You can install the package via composer:
composer require joeelia/laravel-authorize-net-subscription-webhooks
php artisan migrate
php artisan vendor:publish --provider="Joeelia\AuthorizeNet\AuthorizeNetServiceProvider" --tag="config"
Within config/authorize-net-webhooks.php you need to configure all options. Depending on what webhooks you want to process you can set those values to True. Once you have configured your values in the config/authorize-net-webhooks.php you need to run
php artisan make:webhookjobs
This will generate a directory app/WebhookJobs and scaffold the jobs that will recieve the payload from the Authorize.Net webhooks. You can make your logic from there.
In Authorize.Net settings you need to setup your webhook route. The default route is <yourdomain.com>/authnet/webhook. You can set this up in your Authorize.Net dashboard under ACCOUNT>Settings>Webhooks.
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The The Unlicense. Please see License File for more information.