Stripe with automatic VAT have error with user upgrades

est3ban129

Well-known member
Affected version
2.3
Hi,
I recently enabled automatic tax calculation in Stripe, and since then, user upgrades are no longer processing correctly in XenForo.

Whenever a user completes a payment, the user upgrade is not applied, and the following error appears in the XenForo log:


Error: Invalid cost amount

It seems that the issue occurs when XenForo receives the response from Stripe, but the system doesn’t handle the tax-inclusive amount properly.

Has anyone else encountered this issue? Is there a way to fix this or configure XenForo to work with Stripe’s automatic tax feature?

Any help would be greatly appreciated.





Thanks!
 
Yes I've had this problem as well after updating subscriptions to include an additional 20% VAT. I'm testing a solution for new subscriptions but not sure if it works yet for the existing subscriptions that the 20% VAT got added to. I'll wait and see once new subscriptions from countries.
 
Yes I've had this problem as well after updating subscriptions to include an additional 20% VAT. I'm testing a solution for new subscriptions but not sure if it works yet for the existing subscriptions that the 20% VAT got added to. I'll wait and see once new subscriptions from countries.
you can edit the stripe.php file to add the processing there even if the figures don't match xenforo's, this works, but I find it very bad that a decent payment system is not officially implemented by xenforo.
 


Write your reply...
Back
Top Bottom