What's the logic of the Order Token?
Posted: 14 Mar 2024, 16:42
I know the Order Token is used to 'login' without logging in.
So in my case, Mollie fires a webhook after every transaction or Status change and I can go fetch the the Payment from Mollie using that token (no user login).
I had intended to include the order token in the Payment metadata which Mollie returns when I fetch the Payment (not on the webhook of course). That way I have a double check that the orderId and order token both match.
Or is it dangerous to include that order token (outside the control of Phoca Cart)?
So in my case, Mollie fires a webhook after every transaction or Status change and I can go fetch the the Payment from Mollie using that token (no user login).
I had intended to include the order token in the Payment metadata which Mollie returns when I fetch the Payment (not on the webhook of course). That way I have a double check that the orderId and order token both match.
Or is it dangerous to include that order token (outside the control of Phoca Cart)?