As crypto gets more and more popular, you might want to consider accepting it in your app. But what does it take to do that? Let’s explore in this article.
In 2010, when one wanted to order a pizza with his Bitcoin, he had to go to great lengths. Since no business accepted cryptocurrencies, he’d have to find another person who would buy that pizza with cash and get the appropriate amount of BTC sent in return to his wallet.
That actually happened and Laszlo Hanyecz, an early bitcoin miner, paid 10,000 BTC for two large pizzas, brought to him by a fellow bitcointalk.org member. We all know how it turned out for him and for Bitcoin, but in those early days, that was one way to find out whether you can buy anything with the magic internet money.
Today, we’re way further down the road and there are numerous solutions that can allow businesses to embrace cryptocurrencies and accept payments with them.
And if you wanted to be one of them, how to integrate cryptocurrency payments into your app, ecommerce business or any other type of idea that you have?
Here’s what it takes to do so.
How to accept crypto payments?
Let’s give you an idea on how to do it by first laying out the choices that you have.
Off-chain integrations with 3rd party providers – Custodial
This is the most out-of-the-box solution that would help you accept crypto payments on Shopify, WooCommerce or any other platform that you’re using for facilitating online sales. On the development side, that’s often similar to integrating with a standard payments provider such as Stripe–it’s just another external tool that needs to be built into your app or ecommerce business.
Third party integrations have most of the headaches of facilitating crypto payments on them, but that comes at additional transaction fees. The good news is that they’re still often cheaper than the usual 3% fee for credit card payments.
Off-chain payments through APIs – Custodial & Non-Custodial
Another option that you have is still off-chain, but with a greater level of flexibility and potentially limitless customizations. Most public blockchains have open-source API endpoints that allow for facilitating transactions through the code–some of them are free to use while others require additional costs, i.e. for additional performance, number of requests per day, SLAs, support, etc. With APIs, you can initiate a transaction off-chain and perform the next action (such as sale of the item), based on what the API returns (i.e. sale after the transaction had been received in your wallet).
On-chain transactions – Non-Custodial
When designing with crypto payments, you can always make the decision to build a completely decentralized checkout. That involves limiting to one blockchain type and building the whole application with that chain in mind, adjusting to its specifics, etc.
For ecommerce and apps that aren’t dedicated to crypto natives, this choice is most likely unreasonable as it extends the development process and adds complexity to the project, considering the end-user. However, it’s a natural choice for most NFT marketplaces and Web3.
What does it take to accept crypto payments on Shopify, WooCommerce, or in any other app?
There are plenty of available options when it comes to 3rd party solutions. They are best suited for ecommerce owners but will work in other cases, too. The implementation is quite straightforward as they are well-documented and offer support services.
If you’re the less technical owner, the only thing you need to know is that there is some customization required and the plugin has to communicate well with the rest of your app or website, but in the end, it’s not that hard for mid-level developers, nor should it be costly.
The downside is, you’ll often have to cope with the provider’s branding and have less potential for customization. The payment is often as simple as scanning the QR code with wallet app on the buyers end and receiving digital assets or fiat to the merchant’s account.
Among the best crypto payments providers, you have:
PayPal – if you haven’t noticed it yet, PayPal added ‘Checkout with crypto’ feature in 2021. It allows users to pay with their crypto holdings, however, the transaction itself is settled in USD and this is what you’ll receive. The feature only supports cryptocurrencies held in PayPal accounts
Coinbase Commerce– Coinbase adds a simple but powerful crypto checkout feature. It supports 10 cryptocurrencies including BTC, ETH, USDC and USDT, offers API integrations, invoicing, and works directly with Shopify and WooCommerce. There are two options–Self-managed and Coinbase managed, both at 1% fee, but the latter only works in the US.
Crypto.com – one of the largest crypto exchanges offers a payment solution for merchants. It supports BTC, ETH, USDC, and CRO crypto and allows payments from other wallets. The sales are settled to Crypto.com Pay Merchant Account and then can be withdrawn to the preferred wallet or bank account.
BitPay – one of the first Bitcoin payments solutions that now supports over 12 cryptocurrencies. While the users pay with crypto, the sellers are paid in fiat currencies, reducing the risk of volatility.
Strike – Strike is another payment platform that you could integrate with your app. It supports Bitcoin transactions through Lightning Network and is the provider behind Twitter tips feature.
OpenNode – this is another Bitcoin and Bitcoin Lightning payment gateway that supports BTC/USD conversion at the time of payment.
DePay – a powerful solution that supports peer-to-peer Web3 payments. DePay works with ETH, BSC, and Polygon blockchains and any token that is built upon them and has liquidity on DEXes. Contrary to other solutions, this is a smart-contract-powered solution.
API integrations for crypto payments
Integrating crypto payments through a dedicated API requires more technical knowledge and understanding of some blockchain specifics. Most of the providers mentioned above allow for API integrations that allow you to set up invoicing, When choosing the provider, you should look to whether the API supports the whole transaction process or has a limited functionality.
A big advantage of APIs is the control over the user experience. It can be directly built into the app’s interface which makes the flow undisturbed and could lead to higher conversion rates. The control over the platform’s look and feel also makes the brand image more consistent.
However the most important feature is that API integrations can be endlessly customizable and work as a part of a larger system, based on certain rules. This suits trading games, contests with crypto prizes, etc. For non-ecommerce apps that might be the best solution–especially for web apps that don’t have to follow Apple’s and Google’s guidelines regarding payments. With APIs, you can even sign blockchain transactions, keeping the whole application simple and centralized while leaving only the settlement part to be done on-chain.
Among popular solutions for crypto APIs, there is CoinRemitter and PureStake which we have used in OpenNFT.
Enabling on-chain, non-custodial payments
Payments can also be facilitated in a 100% crypto native way. This is great for Web3 projects although it might be the most complex to build. Especially, if you want to use a cryptocurrency & blockchain that are not supported by most of available solutions.
Having to build the whole system from scratch means that you have to provide all the elements needed by your team. That includes:
smart contracts to facilitate the trades
fiat prices from 3rd parties (i.e. Binance API) – if needed
As you can see, there is a lot that needs to be taken care of. It’s much simpler with using existing solutions but if they don’t answer your needs or you’d like to cut transaction fee costs with a larger upfront investment, building a dedicated payments gateway is the way to go.
Of course, crypto is still relatively new and there are some other considerations to be taken into account. One is the tax aspect. If you accept crypto but the settlement is made in fiat currencies, nothing really changes but if you obtain crypto as the effect of sales, you might need to pay capital gains tax, but it’s different among parts of the world. Crypto also means volatility, so after the sale the asset value might go down or up significantly. The last aspect to consider are the regulations that are still largely unclear. This will eventually fade away as governments give clearer standings on how should crypto be regulated, but as of now, that’s a risk factor.
Want to accept crypto in your business?
I hope you’ve got more clarity on how can you accept crypto in your ecommerce or an app after reading the article. This is a great way to open up to new clients and show your brand as more tech-savvy.
If you need help with adding crypto payments to your app or you have an idea that needs to be developed from scratch, don’t hesitate to contact us! We build such projects end-to-end, from the design & ideation to development & smart contracts.