mollie / magento2

Mollie Payments for Magento 2
https://www.mollie.com
Other
98 stars 49 forks source link

Credit card status confusion #744

Closed rajeev-k-tomy closed 4 months ago

rajeev-k-tomy commented 4 months ago

Describe the bug I have gone through the documentation of mollie. But, I have a confusion regarding "paid" status we can see in the mollie interface.

I am using credit card option. Test mode enabled. When it is redirected to mollie interface, I see this screen: Screenshot 2024-02-15 at 3 39 10 PM

If I select "paid" state here, I assume when it comes back, it will set the "processing" status. However, currently it is set to "payment pending" status. Is this the correct behaviour? If yes, how can I check a "processing" status with test mode enabled?

fjbender commented 4 months ago

This often times is the case when developing locally and the webhook can't be delivered. Check the docs at: https://github.com/mollie/magento2/wiki/Webhook-Communication-between-your-Magento-webshop-and-Mollie :)

Frank-Magmodules commented 4 months ago

Hello @rajeev-k-tomy , I appreciate you bringing up this issue. It seems there might be a problem with the webhook, preventing Mollie from updating the payment status on your store.

Could you please verify, through your Mollie Dashboard, if there are any indications of issues regarding webhook delivery for that specific payment? You can always open the order in the backend and click “Fetch status” to fetch the status manually.

You can also check this WIKI page for more information; https://github.com/mollie/magento2/wiki/Webhook-Communication-between-your-Magento-webshop-and-Mollie

EDIT: @fjbender was faster ;-)

rajeev-k-tomy commented 4 months ago

Thank you for your quick responses. Yes, this is my local and test environments.

Frank-Magmodules commented 4 months ago

Understood, it's just as we anticipated. Therefore, feel free to review the comment from @fjbender, along with my previous one as well. 😉

Frank-Magmodules commented 4 months ago

@rajeev-k-tomy , did the information provided above help you understand and resolve this "issue"?

rajeev-k-tomy commented 4 months ago

@Frank-Magmodules I understood the issue. I will close this now.

rajeev-k-tomy commented 4 months ago

@Frank-Magmodules Can I know the webhook URL this module used by default? Because, I want to whitelist that url in my testing and staging environments so that Mollie can communicate to those environments without any blocks.

Is it mollie/checkout/webhook? or there are multiple urls for this purpose?

Frank-Magmodules commented 4 months ago

Hi @rajeev-k-tomy , You are correct, that URL should be accessible from the Mollie servers. Please note: There can be parameters appended to it.