Assigning payments to invoices through the API has inconsistent behavior
Hello, I am trying to assign payments to invoices through the linked transaction property. When I do this, sometimes payments fail to have the assignment saved, resulting in this view:
Weirdly, if I re-run the code that assigns the payments, the issue is fixed:
But another customer will have unassigned payments:
I rerun the code again, and now this customer is correct:
But the original W INC customer goes back to having unassigned payments. It is not possible for both customers to work at the same time, and the customer that works is determined by the currently open browser tab. Payment assignment works 100% of the time for most customers, just a few of the customers have unassigned payments. Any ideas whats going on here?
