diff --git a/modules/PaypalStandard/Routes/portal.php b/modules/PaypalStandard/Routes/portal.php index d6ece825b..b9606d820 100644 --- a/modules/PaypalStandard/Routes/portal.php +++ b/modules/PaypalStandard/Routes/portal.php @@ -5,5 +5,5 @@ Route::group([ 'middleware' => 'portal', 'namespace' => 'Modules\PaypalStandard\Http\Controllers' ], function () { - Route::get('invoices/{document}/paypal-standard', 'Payment@show')->name('portal.invoices.paypal-standard.show'); + Route::get('invoices/{invoice}/paypal-standard', 'Payment@show')->name('portal.invoices.paypal-standard.show'); }); diff --git a/modules/PaypalStandard/Routes/signed.php b/modules/PaypalStandard/Routes/signed.php index a7a471871..b1b2594de 100644 --- a/modules/PaypalStandard/Routes/signed.php +++ b/modules/PaypalStandard/Routes/signed.php @@ -5,5 +5,5 @@ Route::group([ 'middleware' => 'signed', 'namespace' => 'Modules\PaypalStandard\Http\Controllers' ], function () { - Route::get('invoices/{document}/paypal-standard', 'Payment@show')->name('signed.invoices.paypal-standard.show'); + Route::get('invoices/{invoice}/paypal-standard', 'Payment@show')->name('signed.invoices.paypal-standard.show'); });