Mollie not triggering payment_complete() on production environment
-
Hello,
We have mollie installed and working on staging and production environment. We have the Yith PDF invoices plugin which generates a PDF invoice after an order is set to ‘processing’.
This works completely on staging but fails to work ( including sending the automated woocommerce emails ) on production. When I manually trigger the status update for my order, the order eventually generates a PDF and sends emails.
Settings for the whole setup are identical in both environments. The difference is the Mollie log.
Log for an order in staging :
2019-04-29T10:08:56+00:00 DEBUG Mollie_WC_Payment_Payment::onWebhookPaid called for payment 898
2019-04-29T10:08:58+00:00 DEBUG Mollie_WC_Payment_Payment::onWebhookPaid WooCommerce payment_complete() processed and returned to Mollie_WC_Payment_Payment::onWebhookPaid for payment 898
2019-04-29T10:08:58+00:00 DEBUG Mollie_WC_Payment_Payment::onWebhookPaid processing paid payment via Mollie plugin fully completed for order 898
2019-04-29T10:08:59+00:00 DEBUG Mollie_WC_Gateway_Abstract::getReturnRedirectUrlForOrder 898: Determine what the redirect URL in WooCommerce should be.
2019-04-29T10:08:59+00:00 DEBUG Mollie_WC_Plugin::onMollieReturn: Redirect url on return order mollie_wc_gateway_bancontact, order 898: https://xxxxxxxx/checkout/order-received/898/?key=wc_order_a8Mj0TXEIEdIQ&utm_nooverride=1Log for an order in production :
2019-04-29T10:11:20+00:00 DEBUG Mollie_WC_Payment_Payment::onWebhookPaid called for payment 1030
2019-04-29T10:11:22+00:00 DEBUG Mollie_WC_Gateway_Abstract::getReturnRedirectUrlForOrder 1030: Determine what the redirect URL in WooCommerce should be.
2019-04-29T10:11:22+00:00 DEBUG Mollie_WC_Gateway_Abstract::orderNeedsPayment mollie_wc_gateway_bancontact: Order 1030 orderNeedsPayment check: yes, order not previously processed by Mollie gateway.
2019-04-29T10:11:22+00:00 DEBUG Mollie_WC_Plugin::onMollieReturn: Redirect url on return order mollie_wc_gateway_bancontact, order 1030: https://xxxxxxxx/checkout/order-received/1030/?key=wc_order_U9ebr0CXRLDYX&utm_nooverride=1
2019-04-29T10:11:56+00:00 DEBUG Mollie_WC_Helper_Data::deleteTransients: Mollie settings saved, delete transientsseems that payment_complete() doesnt get triggered on production but the order does have the correct status after a payment..
- The topic ‘Mollie not triggering payment_complete() on production environment’ is closed to new replies.