Variable product price
-
Hi,
I’m using this plugin to create gift cards – https://yithemes.com/themes/plugins/yith-woocommerce-gift-cards/.
I have set up 2 gift cards for testing. 1 that has a fixed amount and one that has some pre-filled amounts and the option to add a manual amount.
Only the gift card with the fixed amount is appearing on the invoice in Xero. The one with the variable amount is failing the API POST to /api.xro/2.0/Payments. The amount is coming through as 0 in all cases I’m getting this error:
<ValidationError>
<Message>Payment amounts must be positive amounts</Message>
</ValidationError>There’s a chance that this is something that needs to be fixed in the gift card plugin. But it would be good to understand:
1. what field value in which table is used to send the payment amount to Xero.
2. the item is currently created as ‘git card’ but has an amount 0. Will Xero be able to handle the same item having different pricing every time it’s used?Thanks,
Nick
- The topic ‘Variable product price’ is closed to new replies.