Redirect through webhook
Unanswered
Rhinelander posted this in #help-forum
RhinelanderOP
I have an API Route from where I pass all of the data needed to make the payment (this is a posnet autoservice machine) i do not handle any sensible data, it's managed by the posnet itself, i just only receive a webook wich tells me when the payment is done well or something went wrong
The problem that im currently facing is that i can not redirect to the paymentDone page when the webhook respond to my apiRoute, i tried creating a middleware to handle the NextRespone.redirect() since res.redirect() in my api route didn't work but none of these seems to work, any idea?
The problem that im currently facing is that i can not redirect to the paymentDone page when the webhook respond to my apiRoute, i tried creating a middleware to handle the NextRespone.redirect() since res.redirect() in my api route didn't work but none of these seems to work, any idea?