18 lines
389 B
PHP
Executable File
18 lines
389 B
PHP
Executable File
<?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',
|
|
]);
|