Is it maybe guarded by authorization? Do php artisan route:list and post that line here. For those purposes, it is better to define a route inside your api.php file.
Mar 9, 2020
3
Level 1
Accepting callbacks from external server
Dear community, I'm having problems receiving callbacks from an external server trying to implement the basic payment checkout functionality on my Laravel website.
Checkout SDK asks me to provide the response_url and server_callback_url.
After accepting payments, the payments provider redirects users to the response_url, and submits a callback to the server_callback_url .
I created a dedicated route to accept the callback:
Route::post('/payment/callback', 'PaymentController@callback');
Added an exception to the VerifyCsrfToken:
protected $except = [
'payment/*',
];
But still cannot catch any callbacks.
Do you have any ideas?
Level 61
1 like
Please or to participate in this conversation.