mollie / magento2

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

Payment status is not automatically adjusted upon successful payment. #811

Closed mtjweb closed 2 months ago

mtjweb commented 2 months ago

When a successful payment is made via Mollie, the feedback from Mollie is not processed. The order keeps the status Pending Payment.

When I retrieve the payment status manually, the status is processed correctly.

In the log I see the feedback: [2024-09-01 12:25:29] Mollie.INFO: success: {"success":true,"status":"paid","order_id":"408","type":"success"} [] [] [2024-09-01 12:25:29] Mollie.INFO: info: Unlocking: mollie.order.408 [] [] [2024-09-01 12:25:29] Mollie.INFO: info: Key "mollie.order.408" unlocked [] []

Used versions

PHP 7.4.33

Frank-Magmodules commented 2 months ago

Hi @mtjweb,

Thank you for raising this issue. This typically happens when the Mollie servers are unable to connect to your webhook. Common causes include firewall restrictions or Cloudflare settings. Please ensure that the /mollie/checkout/webhook path is accessible. You can also review the webhook process within the order details on your Mollie dashboard.

Could you please check this?

mtjweb commented 2 months ago

Hi @Frank-Magmodules,

In the Mollie Dashboard I see a 403 error.

I can access /mollie/checkout/webhook manually.

Cloudflare is used and has some thight security rules, but I found it was blocked by the ruleset "Bot Fight Mode for Definite Bots".

I changed the setting of "Definitely automated" in the Super Bot Fight Mode (Pro account) to Allow. This should solve this.

It is a strange problem, because I had the account downgraded to Free, but apparently the WAF rules remain activated for the Pro account.

Frank-Magmodules commented 2 months ago

Hi @mtjweb, great to hear! Once you’ve confirmed that this has resolved your issue, feel free to close the ticket!