Closed Tam closed 3 years ago
Hi @Tam ,
Thank you for letting me know, I'll take a look to support your plugin over the weekend.
The latest release (v1.0.9) should support the Web Payments Plugin. Let me know if there would be any issues.
Thanks @Diewy 🙌
We're getting this error on one of our sites that's also using our Web Payments plugin.
By the looks, you're listening for an "add line item" event and sending stuff to Facebook. In Web Payments we create a temporary order that's never saved to calculate the costs required for the payment button. It looks like the issue is when you try to send an order that hasn't been saved to the database.
This could probably be fixed by checking if the line item's order has an ID (and is therefore saved) before sending data to Facebook.