Multi-db fix for buy now buttons
This commit is contained in:
parent
00618e6c4d
commit
c7d18dfe3b
1 changed files with 1 additions and 4 deletions
|
|
@ -66,10 +66,6 @@ Route::group(['middleware' => 'lookup:license'], function () {
|
|||
Route::get('claim_license', 'NinjaController@claim_license');
|
||||
});
|
||||
|
||||
Route::group(['middleware' => 'cors'], function () {
|
||||
Route::match(['GET', 'POST', 'OPTIONS'], '/buy_now/{gateway_type?}', 'OnlinePaymentController@handleBuyNow');
|
||||
});
|
||||
|
||||
Route::group(['middleware' => 'lookup:postmark'], function () {
|
||||
Route::post('/hook/email_bounced', 'AppController@emailBounced');
|
||||
Route::post('/hook/email_opened', 'AppController@emailOpened');
|
||||
|
|
@ -77,6 +73,7 @@ Route::group(['middleware' => 'lookup:postmark'], function () {
|
|||
|
||||
Route::group(['middleware' => 'lookup:account'], function () {
|
||||
Route::post('/payment_hook/{account_key}/{gateway_id}', 'OnlinePaymentController@handlePaymentWebhook');
|
||||
Route::match(['GET', 'POST', 'OPTIONS'], '/buy_now/{gateway_type?}', 'OnlinePaymentController@handleBuyNow');
|
||||
});
|
||||
|
||||
//Route::post('/hook/bot/{platform?}', 'BotController@handleMessage');
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue