[SANDBOX] errorCode=02628
Hi,
Since last week, we encounter an error during the payment process in local environment and github actions (tried with both testing payment cards : https://docs.mangopay.com/testing/payment-methods#cb-visa-mastercard).
After submitting the payment form to MANGOPAY, we end up on the following URL : https://homologation-webpayment.payline.com/webpayment/getToken
With the following content : errorCode=02628
But I don't find this error code in the documentation.
Any ideas ?
[EDIT] It actually happens in local and within github actions but it works on our staging environment...
[UPDATE] According to other PSP documentation, It seems that the error code 02628 refers to an invalid return URL. Here's an example of my return URL : https://localhost/reservation/confirmation/01J5827H8F9D5PRH889KQ60M3T
We didn't change anything, it's the same URL we had before the bug.
[UPDATE 2]
Ok, I just replaced localhost with 127.0.0.1 and the error code disappeared, letting me process the payment.
Why can't we use localhost in the returnURL anymore ?
I have the same probleme and I have a "custom" localhost name for dev purpose. So Why can't we use localhost or other stuff in the returnURL anymore ?
BUT it still work fine with paypal sandbox....
Hi @mickaelpois , is your team aware of this ?
Hello, I'm using a custom domains (virtual host) on my local environment and my urls are not working anymore. Do you know any work around in the meantime ? Hope this is fixed quickly though
This has been fixed