Pay in Crypto Currency
Autor: Ionescu C.
Visited 1405,
Followers 1,
Udostępniony 0
Hello,
I want to create an online shop and the price of the articles displayed in crypto.
I would like to embed a specific price of coin for example ethereum and bitcoin $20 price in my website, in other words it shows $20 rate of btc and eth on my website not whole coin price.
Link from the online shop
Any ideas how to implement this in an online shop?
Like this
Regards,
Cristi
Posted on the
Hello. You can create a page and manually enter the price in different currencies with currency icons.
Autor
Hello,
Yes I can put manually the price let's say 10$, I wanted to add next to this price another price shown th value in BTC or other cryptocurrency.
The price of the Cryptocurrency fluctuets every 10 or 20 seconds, I can't put that manualy, I wonder if there is a was to update it automatically.
For ex now (at the time of this post): 10$ = 0,000027 BTC
Regards,
Cristi
Hell Ionescu,
Funny. I will check on how to. Sure with code insertion
Enjoy!
Axel
@Cristi,
Here my first demo. Update every 30s ok
https://wsx5demo.afsoftware.fr/bitcoin.html
Enjoy!
Axel
Autor
Hello,
Interesting!
I want to implement the price in btc to be shown under the normal currency price.
For example under the 10.00 lei value.
Can it be done?
Regards,
Cristi
Hello Cristi;
Seems complex to add the bitcoin conversion, becuuse it is a complete code and not only one line of text
Here a modified script to have bitcoin conversion (USD, EUR, BTC or other currency). Some parameters need to be changed into the code if necessary. I have put some comments for help.
But to add this one into an item of catalog seems too complex.
Sorry, I have no solution from my side.
May be another expert here can give some help
Enjoy!
Axel
Autor
Thank you for sharing.
I know it is a complex task.
I will see how to implement it, maybe something easier, with the help of your code.
Regards,
Cristi