如何使用Ionic的比特币付款

问题描述 投票:0回答:1

我正在使用带有离子框架的比特币建立一个电子商务网站,现在我的问题是我希望我的用户能够使用比特币付款,我已经在网上搜索了支持离子或角度的比特币付款api,但没有找到,我尝试使用coinbase和其他产品,但它没有任何支持angular或ionic的api。

 <form action="https://www.coinpayments.net/index.php" method="post">
    <input type="hidden" name="cmd" value="_pay_simple">
    <input type="hidden" name="reset" value="1">
    <input type="hidden" name="merchant" value="606a89bb575311badf510a4a8b79a45e">
    <input type="hidden" name="currency" value="USD">
    <input type="hidden" name="amountf" value="10.00">
    <input type="hidden" name="item_name" value="Test Item">
    <input type="hidden" name="item_desc" value="Item Description">
    <input type="hidden" name="want_shipping" value="1">
    <input type="hidden" name="success_url" value="http://www.yoursite.com/success">
    <input type="image" src="https://www.coinpayments.net/images/pub/buynow-med.png" alt="Buy Now with CoinPayments.net">
  </form>

我已经尝试过了,但是问题是它没有直接打开付款页面,我无法对其进行自定义,因此我可以取消交易或运行某个功能,将其带到coinpayments网站,我需要一个付款网关这将使付款页面像页面上的弹出窗口一样,如javascript API。

无论如何我都不知道我将能够使用离子框架接受比特币。

ionic-framework bitcoin
1个回答
0
投票

使用Electrum钱包可能是一个很好的免费解决方案,Bitpay是一个很好的解决方案,但您需要支付1%。

© www.soinside.com 2019 - 2024. All rights reserved.