gibs Posted August 10, 2018 Report Posted August 10, 2018 Hi there, On my Blesta store I'm accepting Bitcoin using Bitpay. Sometimes the items are configured with a price of "0.00801" Bitcoins, the problem is this value is displayed as "0.00" when visiting the client-side store, and can be ordered for this price (free). I have configured the BTC currency to have a precision of 4, which is the max. The price should not be rounded up to "0.00" because this means the user gets the product for free. Also the price should be displayed correctly in the client-area. I am running version 4.3.0. Thanks Quote
Paul Posted August 10, 2018 Report Posted August 10, 2018 I suggest defining the price in your normal currency and allowing Bitpay to convert it automatically. If selling in BTC, I think it'd probably be better to define the price in mBTC so that your 0.00801 BTC would be represented as 8.01 mBTC. However, some changes to the gateway may be necessary for that kind of representation. We use the Bitpay gateway and it automatically converts USD to BTC, it's what I would recommend doing. Quote
Paul Posted August 10, 2018 Report Posted August 10, 2018 Just to add.. I think to support the display of the full 4 decimal precision, we would need to add a new Currency Format (Settings > Currencies > Active Currencies > Edit: Format of say 1,234.5678 You can make a feature request for this at https://requests.blesta.com Quote
gibs Posted August 11, 2018 Author Report Posted August 11, 2018 8 hours ago, Paul said: I suggest defining the price in your normal currency and allowing Bitpay to convert it automatically. If selling in BTC, I think it'd probably be better to define the price in mBTC so that your 0.00801 BTC would be represented as 8.01 mBTC. However, some changes to the gateway may be necessary for that kind of representation. We use the Bitpay gateway and it automatically converts USD to BTC, it's what I would recommend doing. Thank you for the suggestion. How would I accomplish this? I tried setting USD as the default currency, gave BTC an exchange rate of "1.0", removed BTC pricing from the products, and disabled the "Use Package Pricing for New Services Only" setting under Currency Setup. I am unsure how to display the price as mBTC instead of BTC. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.