Skip to content

Commit

Permalink
Updated the return routes.
Browse files Browse the repository at this point in the history
Updated return routes, to take both post and get paramerters.
  • Loading branch information
addgod authored Mar 6, 2020
1 parent c927f43 commit fa101e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions routes/omnipay.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
Route::get('/purchase/{transaction}', 'OmnipayController@purchase')->name('omnipay.purchase');
Route::get('/authorize/{transaction}', 'OmnipayController@authorize')->name('omnipay.authorize');
Route::get('/re-authorize/{transaction}', 'OmnipayController@reAuthorize')->name('omnipay.re-authorize');
Route::post('/complete/purchase/{transaction}', 'OmnipayController@completePurchase')->name('omnipay.complete.purchase');
Route::post('/complete/authorize/{transaction}', 'OmnipayController@completeAuthorize')->name('omnipay.complete.authorize');
Route::post('/notify/{transaction}', 'OmnipayController@notify')->name('omnipay.notify');
Route::any('/complete/purchase/{transaction}', 'OmnipayController@completePurchase')->name('omnipay.complete.purchase');
Route::any('/complete/authorize/{transaction}', 'OmnipayController@completeAuthorize')->name('omnipay.complete.authorize');
Route::any('/notify/{transaction}', 'OmnipayController@notify')->name('omnipay.notify');
});

Route::group([
Expand Down

0 comments on commit fa101e3

Please sign in to comment.