You created an unknown problem in the last update.
-
Greetings. Our FreshBooks integration was working fine before. However, after your recent updates, there started to be a problem. While there was no problem with PayPal payments, Stripe payments were always creating two invoices.
To prevent this, we first used order->get_meta() and then get_post_meta(). We know that both are the same but we tried.
You can examine the code we specified in the link. Although it is a condition, we do not know how it happens, but this code is triggered twice in Stripe payments. For this reason, an invoice is created twice. We are sure of this because when using “update_meta_data” it was creating invoice id twice. Currently, the last created id is created with “update_post_meta”.
- The topic ‘You created an unknown problem in the last update.’ is closed to new replies.