Currency being ‘coerced’ rather than converted?
-
We are using Printify with Woocommerce. They are connected via the Legacy API and we have no issues with data getting delivered in either direction (products are published, media is transferred, orders are sent to Printify). We have the Printify Shipping plugin active, and have it set to override Woocommerce shipping rates, and it does.
Printify sends prices and shipping fees as US dollars but because our default store currency in Woocommerce is CAD (Canadian dollars), Woocommerce is treating these numerical values that represent USD as though they represented CAD amounts.
Here how this affects prices, tax and shipping: taxes are fine, as Woocommerce applies them as a percentage on top of prices; prices are (sort of, awkwardly) manageable, since we can set the number of US dollars in Printify to correspond to the number of CAD they should be; but shipping does not work right at all, as these are not values we can edit. Also these amounts end up being rounded to the nearest unit of local currency (we have the site set up to switch to about 20 local currencies for payment).
Is something wrong with Printify’s representation of these currency values? Is this an error in Woocommerce, that it assumes all incoming price information will be in the default store currency? Where might I start looking if I wanted to write PHP to fix this?
This is the very last issue keeping our shop from opening!
- The topic ‘Currency being ‘coerced’ rather than converted?’ is closed to new replies.