v2 first commit
This commit is contained in:
10
modules/PaypalStandard/Routes/guest.php
Normal file
10
modules/PaypalStandard/Routes/guest.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
Route::group([
|
||||
'prefix' => 'portal',
|
||||
'middleware' => 'guest',
|
||||
'namespace' => 'Modules\PaypalStandard\Http\Controllers'
|
||||
], function () {
|
||||
Route::post('invoices/{invoice}/paypal-standard/return', 'Payment@return')->name('portal.invoices.paypal-standard.return');
|
||||
Route::post('invoices/{invoice}/paypal-standard/complete', 'Payment@complete')->name('portal.invoices.paypal-standard.complete');
|
||||
});
|
9
modules/PaypalStandard/Routes/portal.php
Normal file
9
modules/PaypalStandard/Routes/portal.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
Route::group([
|
||||
'prefix' => 'portal',
|
||||
'middleware' => 'portal',
|
||||
'namespace' => 'Modules\PaypalStandard\Http\Controllers'
|
||||
], function () {
|
||||
Route::get('invoices/{invoice}/paypal-standard', 'Payment@show')->name('portal.invoices.paypal-standard.show');
|
||||
});
|
9
modules/PaypalStandard/Routes/signed.php
Normal file
9
modules/PaypalStandard/Routes/signed.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
Route::group([
|
||||
'prefix' => 'signed',
|
||||
'middleware' => 'signed',
|
||||
'namespace' => 'Modules\PaypalStandard\Http\Controllers'
|
||||
], function () {
|
||||
Route::post('invoices/{invoice}/paypal-standard', 'Payment@show')->name('signed.invoices.paypal-standard.show');
|
||||
});
|
Reference in New Issue
Block a user