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
WC merchants can change the format of order numbers. Unfortunately, when they do so, it breaks this plugin's ability to process webhooks for old orders.
In short, this plugin is using order display IDs to associate KOMOJU payments with WC orders. It should use database IDs instead if possible.
Possible fix
This is where we save the order ID on the KOMOJU session
The problem
WC merchants can change the format of order numbers. Unfortunately, when they do so, it breaks this plugin's ability to process webhooks for old orders.
In short, this plugin is using order display IDs to associate KOMOJU payments with WC orders. It should use database IDs instead if possible.
Possible fix
This is where we save the order ID on the KOMOJU session
komoju-woocommerce/class-wc-gateway-komoju.php
Line 200 in 64ee617
This is where we use the saved order ID
komoju-woocommerce/includes/class-wc-gateway-komoju-response.php
Line 47 in dff1b86
I think we can change the
get_order_number
to beget_id
. Thewc_get_order
function can probably stay the same. In the docs, it says you can pass "Post object or post ID of the order".The text was updated successfully, but these errors were encountered: