4 ms·
You can integrate bitcoin support into Stripe Checkout with just a few lines of code - one attribute on the client, and 2-3 lines of extra code to create your C
by vertex-four 12y ago
You can integrate bitcoin support into Stripe Checkout with just a few lines of code - one attribute on the client, and 2-3 lines of extra code to create your Charge object in a different way on the server, at which point you process it in almost exactly the same way as a card payment (potentially minus some UI details in confirmation messages, etc).
Integrating Coinbase involves writing your own "payment" abstraction in place of being able to use Stripe's all the way through your application, then implementing both Stripe and Coinbase on top of that. While this might be good in the long run (so you can switch off of Stripe easily), it's not so good for smaller shops/services which don't need that complexity yet.
- gcr 12y agoWhy is the choice to accept bitcoins client-side? If I want to force a payment in bitcoins, I can add the attribute myself. Some businesses have legal ramifications for accepting bitcoin or not, even if it's through Stripe. Is there a flag in your Stripe merchant account on Stripe's server to refuse bitcoins?
- vertex-four 12y ago> Why is the choice to accept bitcoins client-side? If I want to force a payment in bitcoins, I can add the attribute myself. No, that's not the case. The choice to display the UI for accepting bitcoins is client-side. Handling the results of that UI still has to be done specially on the server, through the creation of a Charge in a different way.