You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today I came across an order that had a chargeback within Mollie. The webhook had been called successfully (stated in Mollie). While retrieving the available chargebacks from Mollie through the API the following error occored:
2023-05-30T15:14:04+00:00 DEBUG processChargebacks: Could not load chargebacks for tr_XXXXXXX: [2023-05-30T15:14:04+0000] Error executing API call (500: Internal Server Error): Internal Server Error. Documentation: https://docs.mollie.com/overview/handling-errors. Request body: {"status":500,"title":"Internal Server Error","detail":"Internal Server Error","_links":{"apiStatus":{"href":"https://status.mollie.com/","type":"text/html"},"documentation":{"href":"https://docs.mollie.com/overview/handling-errors","type":"text/html"}}} (Mollie\Api\Exceptions\ApiException)
The weird thing in my opinion is that Mollie treats this as if this was a successfull webhook call. Within the function: \Mollie\WooCommerce\Payment\MollieOrderService::processChargebacks() at the end in the catch block there should be a throw $e or something like that to let Mollie know it was in fact not successfull.
Would really like to hear what you guys think about this issue.
Ps: After revisiting the webhook URL (through Postman) I was able to retrieve the chargebacks that were applied within Mollie (without any errors).
The text was updated successfully, but these errors were encountered:
Today I came across an order that had a chargeback within Mollie. The webhook had been called successfully (stated in Mollie). While retrieving the available chargebacks from Mollie through the API the following error occored:
2023-05-30T15:14:04+00:00 DEBUG processChargebacks: Could not load chargebacks for tr_XXXXXXX: [2023-05-30T15:14:04+0000] Error executing API call (500: Internal Server Error): Internal Server Error. Documentation: https://docs.mollie.com/overview/handling-errors. Request body: {"status":500,"title":"Internal Server Error","detail":"Internal Server Error","_links":{"apiStatus":{"href":"https://status.mollie.com/","type":"text/html"},"documentation":{"href":"https://docs.mollie.com/overview/handling-errors","type":"text/html"}}} (Mollie\Api\Exceptions\ApiException)
The weird thing in my opinion is that Mollie treats this as if this was a successfull webhook call. Within the function:
\Mollie\WooCommerce\Payment\MollieOrderService::processChargebacks()
at the end in thecatch
block there should be athrow $e
or something like that to let Mollie know it was in fact not successfull.Would really like to hear what you guys think about this issue.
Ps: After revisiting the webhook URL (through Postman) I was able to retrieve the chargebacks that were applied within Mollie (without any errors).
The text was updated successfully, but these errors were encountered: