Page MenuHomePhorge

Site's "Best Price" currency conversion always from CHF
Closed, ResolvedPublic

Description

The price listed as the "best price" is converted from CHF to a target currency, even though the site currency may already have been set to the target currency.

The case in point lists a site.country of CH, with a site.currency USD, and a bestprice of "2.95" for an option. As it happens, the HKCCP shows the price in USD as 2.96, implying the 2.95 is getting converted to USD as if it is CHF.

Details

Ticket Type
Task

Event Timeline

petersen raised the priority of this task from 40 to Unbreak Now!.May 6 2016, 11:58 AM

Did you execute php bin/backend.php import_oanda after system currency change? The currencies are generated in system currency context, so this is required.

ps. the script currently gives me 301 error, working on this.

Error 301 can be fixed simply by using https:// instead of http:// for Oanda site. However, it looks like that our request reach 30 seconds limit on their side. We need to do it in chunks.

Fix the URL for the Oanda site please.

With oanda import for proper country/currency I don't see a bug. Closing.

It's not fixed, the best price should be USD 2.95, with approximately whatever the local currency may for whatever GeoIP provides is the country (and/or/when the user changes that, change over the currency?)

Screenshot from 2016-06-13 16-45-44.png (1×1 px, 287 KB)

This is 3% discount for yearly payments. No bug for me.

Therefore resolved.