Skip to content

Instantly share code, notes, and snippets.

Avatar

Andyson Utomudo sparkandy

View GitHub Profile
View subscription controller payment complete
ROUTES
*******************************
Route::get('subscription/{package_id}', ['as' => 'subscribe', 'uses' =>'SubscriptionController@getPackageid']);
Route::post('subscription', 'SubscriptionController@doSubscription');
Route::get('merchantaccount', 'MerchantsController@merchantdetail');
Route::get('acctype', 'MerchantsController@showAcctype');
//Route::get('payment', 'SubscriptionController@showPayment');
Route::get('payment/{transaction_id}', ['as' => 'payment', 'uses' =>'SubscriptionController@showPayment']);
Route::get('paymentcomplete/{transaction_id}', ['as' => 'paymentcomplete', 'uses' =>'SubscriptionController@dopaymentComplete']);