Closed robertnicjoo closed 6 years ago
https://snap-docs.midtrans.com/#snap-js you can use onsuccess, onpending, onclose, and onerror. to show the result on the same page where the snap pop up open
@harrypujianto and for retrieving data from midtrans?
@harrypujianto Ok i do get such info on my transaction:
but still i'm redirecting to another page and receive error.
change
use App\Exceptions\VeritransException as VeritransException;
to
use App\Exceptions\VeritransException as Exception;
@eginugraha Thank you
Hi, I have working snap where I can purchase successfully but on redirect i go to another page and receive error while my transaction was successful.
Here is how my url's are:
domain/orders
(I pay here with snap)domain/orderspayonline/7
(here is where i redirect and receive error)ERROR:
on
What I NEED:
domain/orders
page and show someSession::flash
Thank you.