How do I sell products using the Stripe Bitcoin integration?
Question: How do I sell products using the Stripe Bitcoin integration?
Answer: To sell products using the Stripe Bitcoin integration, you first need to enable the live Bitcoin API on your Stripe account. Once you've done that, you can start accepting Bitcoin on your site using s2Member's Pro-Forms.
If you always want Bitcoin to be an option when checking out with Stripe, you can enable it globally from
s2Member → Stripe Options → Stipe Account Details → Accept Bitcoin via Stripe?. Otherwise, you can enable it on an individual Pro-Form-basis by adding the
accept="bitcoin" attribute to the shortcode.
Note that Stripe Bitcoin currently only supports Buy Now (i.e., non-recurring) transactions. In the example below, we'll be using a Specific Post/Page (Buy Now) Pro-Form to sell access to a specific WordPress Post/Page.
We'll start by generating a Specific Post/Page (Buy Now) Pro-Form shortcode in
s2Member → Stripe Pro-Forms → Stripe Specific Post/Page (Buy Now) Forms. Let's create one to sell 3 days of access to a page for $0.50:
Now copy the generated Pro-Form shortcode to a Post or Page. This will be your "checkout" page. If you don't have Stripe Bitcoin enabled globally in
s2Member → Stripe Options → Stipe Account Details → Accept Bitcoin via Stripe?, you'll want to add
accept="bitcoin"to the shortcode as shown below:
[s2Member-Pro-Stripe-Form accept="bitcoin" sp="1" ids="193" exp="72" desc="3 Days Access to Restricted Page" cc="USD" custom="raam.websharks-inc.net" ra="0.50" coupon="" accept_coupons="0" default_country_code="US" captcha="0" /]
Now when a visitor visits that page, they can fill in their details and then click "Add Billing Method":
They will then be presented with a Stripe dialog that allows them to select the "Bitcoin" payment option. This generates a Bitcoin address where the buyer can send the USD equivalent in Bitcoins to make their payment. If they have a mobile device, they can click the "Scan" button to view the QR code and use that to easily send Bitcoin via their mobile device.
It can take anywhere between 5-10 minutes for Stripe to confirm receipt of the Bitcoin once it has been sent. Once the Bitcoin has been sent, the buyer can hover their mouse over the circle icon to the right of the payment amount to view how many minutes are remaining before Stripe confirms the payment.
Once Stripe confirms receipt of the Bitcoins, the dialog will close and the Bitcoin address where the Bitcoins were sent is shown below the "Add Billing Method" box; this confirms Stripe has received Bitcoin payment and the buyer can now click "Submit Form" to complete the checkout:
If this is a Stripe Specific Post/Page (Buy Now) form, access to the restricted page will be provided immediately on the following screen, where the buyer will see a "click here to proceed" message. They will also be sent an email with a copy of the link to access the restricted page for the length of time purchased.