['web', 'permission:admin.settings'], 'prefix' => 'subscription', 'as' => 'subscription.', 'namespace' => 'Modules\Subscription\Http\Controllers'], function () { Route::get('/', 'SubscriptionBaseController@index')->name('get'); Route::get('/subscribe', 'SubscribeController@subscribe')->name('subscribe'); Route::post('/subscribe', 'SubscribeController@post')->name('subscribe.post'); Route::get('/board', 'BoardController@get')->name('board'); Route::get('/payment/paymob/{plan_id}', 'Payment\PaymobPaymentController@prepay')->name('payment.paymob'); // Route::post('/payment/paymob', 'Payment\PaymobPaymentController@process')->name('payment.paymob.process'); Route::get('/payment/paymob-response', 'Payment\PaymobPaymentController@responseCallback')->name('payment.paymob.response'); Route::get('/payment/calc', 'Payment\PaymobPaymentController@calc')->name('payment.paymob.calc'); Route::post('/payment/paymob-processed', 'Payment\PaymobPaymentController@processCallback')->name('payment.paymob.processed'); Route::post('/payment/stripe', 'Payment\StripePaymentController@process')->name('payment.stripe'); Route::post('/payment/paypal', 'Payment\PayPalPaymentController@process')->name('payment.paypal'); Route::get('/payment/paypal-checkout-status', 'Payment\PayPalPaymentController@checkoutStatus')->name('payment.paypal.status'); Route::post('/payment/cash', 'Payment\CashPaymentController@process')->name('payment.cash'); Route::get('/invoices', 'InvoicesController@get')->name('invoices.get'); Route::get('/invoices/download/{id}', 'InvoicesController@download')->name('invoices.download'); });