dimanche 2 avril 2017

How to access route after certain controller call

I have two routes

Route::post('checkout','CartController@billingSave');
Route::get('success','CartController@billingSave');

So after completing the billingSave method it will redirect to success page.. But if put /success also in url it shows the success page also..though he didn't complete the payment..is there anyway i could let access only the success url after completing the billingSave functionality?

means he can't access success url instead of completing the billingSave method ..or like don't give him access the success url?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2n37u9Z
via IFTTT

Aucun commentaire:

Enregistrer un commentaire