17
common/routes/webhooks.php
Executable file
17
common/routes/webhooks.php
Executable file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
use Common\Billing\Gateways\Paypal\PaypalWebhookController;
|
||||
use Common\Billing\Gateways\Stripe\StripeWebhookController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
// PAYPAL
|
||||
Route::post('billing/paypal/webhook', [
|
||||
PaypalWebhookController::class,
|
||||
'handleWebhook',
|
||||
]);
|
||||
|
||||
// STRIPE
|
||||
Route::post('billing/stripe/webhook', [
|
||||
StripeWebhookController::class,
|
||||
'handleWebhook',
|
||||
]);
|
||||
Reference in New Issue
Block a user