unlock icon indicating copy to clipboard operation
unlock copied to clipboard

Wrong dollar price displayed for BNB payment

Open jerlam06 opened this issue 3 years ago • 6 comments

Hi there.

The price displayed just before payment for 0.1BNB in my case, is wrong: I don't know where these $275 come from, but it is not the price of 0.1BNB at all nor 1BNB. image

jerlam06 avatar Feb 01 '22 11:02 jerlam06

@jerlam06 Thanks! Do you have the lock address (and network) for which this shows? This would help debug as I suspect we're not using the right currency for the BNB ticker.

julien51 avatar Feb 01 '22 22:02 julien51

Hi @julien51, Yes of course: 0x14cdD9524e02763bdf0B0902034a5568a08f491b on the BSC network

jerlam06 avatar Feb 02 '22 07:02 jerlam06

Hi @julien51, any update on this issue? I would fix the issue myself, but the data seems to be coming from your API.

jerlam06 avatar Feb 08 '22 13:02 jerlam06

Hey, I am so sorry for this. Assigning one of our team members on this so he can check things out!

julien51 avatar Mar 07 '22 02:03 julien51

@julien51

We need to use a different API provider to get the prices, currently, with Coinbase we can't retrieve BNB price, because doesn't support it (like other coins not listed in Coinbase), I share with you possible alternatives

Screenshot 2022-04-04 at 14 03 17

kalidiagne avatar Apr 04 '22 12:04 kalidiagne

We should use Uniswap on each of the networks. I'll write a bit more later.

julien51 avatar Apr 05 '22 15:04 julien51

We have now fixed the underlying issue by not showing the price $ until we actually have switched to Uniswap as Coinbase does not support BNB in their pricing API.

julien51 avatar Oct 05 '22 17:10 julien51