When testing payment deletions for a feature I am implementing for a live app (batch2sepa), I noticed that the PaymentManager._delete(self, id) was adding in a wrapping dictionary. This makes the request body get processed as a query encoded string. Xero, granted, fails to parse the body and returns a 500:
I only noticed this after checking the app history, making the change in the attached commit leads to the issue being resolved and the payments being deleted correctly.
Let me know if you need any additional information. I hope this will get admitted swiftly!
Hi team,
When testing payment deletions for a feature I am implementing for a live app (batch2sepa), I noticed that the
PaymentManager._delete(self, id)
was adding in a wrapping dictionary. This makes the request body get processed as a query encoded string. Xero, granted, fails to parse the body and returns a 500:I only noticed this after checking the app history, making the change in the attached commit leads to the issue being resolved and the payments being deleted correctly.
Let me know if you need any additional information. I hope this will get admitted swiftly!
Kind regards,
Evrim Öztamur