Closed borisdiakur closed 6 years ago
@borisdiakur I can't reproduce this on my test environment.
Can you check your logs again, and around the same time (same day) search for a log entry like Mollie_WC_Gateway_Abstract::onWebhookPaid called for order 3448
And
mollie_wc_gateway_sofort: Mollie payment tr_asdf1234 (test) webhook call for order 3448.
Hello David, thanks for the support.
There are no such log entries. The logs I’ve posted are the only ones I have in the mollie-payments-for-woocommerce-etc-etc.log file - only four lines. I don’t have any suspicious log entries in the error log either. 😟
I think I got it! On https://www.mollie.com/dashboard/?testmode=true I can see that the payment actually took place. Though under History on the left side it says:
Webhook failed with status code 0 (SSL: certificate subject name 'Plesk' does not match target host name 'staging.mysite.com') December 9, 2017 at 7:14 PM
So it’s a certificate issue. I suppose there is no way around? I wonder why it worked nicely when I was using the Mollie - Bank Transfer method. 😕
That you don't have those log entries, shows that the Mollie Webhook can't reach your website.
Your second message gives me the impression you are working on some kind of staging site, locally and/or without an official SSL certificate? Is that correct?
It probably works for Bank transfer because you set that status yourself in the gateway settings, did you not?
That you don't have those log entries, shows that the Mollie Webhook can't reach your website.
Right.
Your second message gives me the impression you are working on some kind of staging site, locally and/or without an official SSL certificate? Is that correct?
Correct. I’m working on a staging site.
It probably works for Bank transfer because you set that status yourself in the gateway settings, did you not?
I don’t think so, I haven’t done anything differently.
I’ve just tried out the plugin on the production site, where I have a valid SSL certificate. Everything worked as expected. 🎉
Thank you David! Great plugin and support! 🚀
Oke, let me know if you need anything else.
You don't need a valid certificate, you could do a quick test with http. But if you use https, the certificate should be valid.
If you like the plugin and support, please consider leaving a review: https://wordpress.org/support/plugin/mollie-payments-for-woocommerce/reviews/#new-post
Here you go: https://wordpress.org/support/topic/great-plugin-16134/ ⭐️ ⭐️ ⭐️ ⭐️ ⭐️
Thank you!!
Steps to reproduce:
Expected behaviour: Order gets status “processing”.
Actual behaviour: Order gets status “pending payment”. In the order notes it says:
Mollie logs:
Note that everything works as expected when using the Mollie - Bank Transfer method (order gets status “processing”).