mollie / PrestaShop

iDEAL, Creditcard, Bancontact, SOFORT, Bank transfer, PayPal & paysafecard for Prestashop
http://www.mollie.com
BSD 2-Clause "Simplified" License
70 stars 43 forks source link

Users are redirected because payment can't be created #238

Closed jacob-v-dam closed 3 years ago

jacob-v-dam commented 3 years ago

Expected behavior

Users should be able to pay

Actual behavior

Some users aren't able to create payments. They tried different computers but all seem to fail.

Steps to reproduce the behavior

It is hard to reproduce. I'm able to create payments from different environments. But as said the users aren't. Nothing appears in my log file, even when loggin is enabled and set to Everything. The error happens when the user want to go to the payment page. If i check the ps_mollie_payments table i can't find the cart. So something is going on after the payment button.

Environment

SimonasB88 commented 3 years ago

Hey thanks for your message @jacob-v-dam sorry to hear this we believe that it is very annoying.

First thing, did you try to reset the module? I guess you did major upgrade from 3.5?

Second, is your order status set correctly to "Awaiting Mollie Payment"? image

Best Regards.

jacob-v-dam commented 3 years ago

First I upgraded from the earlier version, but this gave some unexpected behavior, then we removed the module and reinstalled it. This is installation is uploaded 2020-10-21, so it is new.

I don't have the option "Send mails when Awaiting". To be sure I was running the latest version I downloaded the latest version from Github a second ago. My orders get the status Awaiting anyway, strange....

SimonasB88 commented 3 years ago

Hey @jacob-v-dam so you downloaded Mollie 4.0.9 and now the users can do Orders?

Can you go to module Advanced Settings tab, and switch the Debug Levels image

And then please try to checkout and let us know what error do you get when redirected to the Mollie Payment page?

Thanks. Best Regards.

jacob-v-dam commented 3 years ago

I already enabled this option. But nothing else then mollie webhooks appears in my log file. Even the files var/logs/ are not filled with mollie errors.

SimonasB88 commented 3 years ago

Hey @jacob-v-dam ok, thanks for your information.

When you enable the Debug level, you can actually see what errors are appearing from API side when you click the final payment CTA button from Prestashop and when the module redirects the user to the Mollie payment 3D screen. Sometimes it is an essential part of many errors.

Could you please give us some video screen capture how the order is being made?

Or in order to investigate your issue and help you efficiently, can you send us an access to your backoffice with its url and a FTP access to your store:

URL back office: login back office: password back office:

FTP host: FTP login: FTP password: FTP port:

Send everything to support@invertus.eu. We will replicate the issue and provide you a conclusion.

Best Regards.

jacob-v-dam commented 3 years ago

After some more testing I found the error. It is the same as #227. When the user enters his mobile phone number in the phone number field (which is the house number) the error raises by the Mollie API. This shouldn't be a problem.

On the other hand. I would expect this error to show up in the PrestaShop logs with error code 3 or 4. But this error is never logged! And yes I have enabled the debug info and logging set to everything: image

jacob-v-dam commented 3 years ago

I created a video due to privacy reasons this is send to your e-mail.

SimonasB88 commented 3 years ago

@jacob-v-dam assuring that we got your video reproduction. Thanks.

Best Regards.

SimonasB88 commented 3 years ago

Successfully fixed the phone issue for the client.