Hi,
When a payment is made with an anonymous user (ie the user is NOT logged in on the site), and Visanet returns an error (for example the card is invalid), the error message returned is "There was an error during payment of order number x. Please try again later or contact webmaster", with a link to the order.
However, this link to the order does not work when the user is not logged in, because is points to /user/0/order/x.
I will provide a patch which fixes it by displaying a link to the order only if the user is not anonymous
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2124681-order_link-1.patch | 2.43 KB | guillaumev |
Comments
Comment #1
guillaumev commentedHere is the patch.
Comment #2
marvil07 commentedPatch looks fine. Please feel free to add it.
Comment #4
marvil07 commented