mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Multi-db fix for buy now buttons
This commit is contained in:
parent
e73ed6967a
commit
d032caab01
@ -68,10 +68,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');
|
||||
@ -79,6 +75,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…
Reference in New Issue
Block a user