2017-11-20 17:28:15 +03:00
|
|
|
<?php
|
|
|
|
|
2018-12-26 16:46:52 +03:00
|
|
|
Route::group([
|
|
|
|
'middleware' => 'customer',
|
|
|
|
'prefix' => 'customers',
|
|
|
|
'namespace' => 'Modules\PaypalStandard\Http\Controllers'
|
|
|
|
], function () {
|
2017-11-20 17:28:15 +03:00
|
|
|
Route::get('invoices/{invoice}/paypalstandard', 'PaypalStandard@show');
|
|
|
|
});
|
|
|
|
|
2018-12-26 16:46:52 +03:00
|
|
|
Route::group([
|
|
|
|
'prefix' => 'customers',
|
|
|
|
'namespace' => 'Modules\PaypalStandard\Http\Controllers'
|
|
|
|
], function () {
|
2017-11-20 17:28:15 +03:00
|
|
|
Route::post('invoices/{invoice}/paypalstandard/result', 'PaypalStandard@result');
|
|
|
|
Route::post('invoices/{invoice}/paypalstandard/callback', 'PaypalStandard@callback');
|
|
|
|
});
|
2018-10-15 16:53:56 +03:00
|
|
|
|
2018-12-26 16:46:52 +03:00
|
|
|
Route::group([
|
|
|
|
'middleware' => ['signed', 'language'],
|
|
|
|
'prefix' => 'signed',
|
|
|
|
'namespace' => 'Modules\PaypalStandard\Http\Controllers'
|
|
|
|
], function () {
|
|
|
|
Route::post('invoices/{invoice}/paypalstandard', 'PaypalStandard@show');
|
2018-10-15 16:53:56 +03:00
|
|
|
});
|