Documentation You are here: start » gateways » coinbase

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gateways:coinbase [2019/10/29 22:27] – [Setting Up Coinbase for FoxyCart] foxybrettgateways:coinbase [2022/04/07 19:01] (current) – [Setting Up Coinbase for FoxyCart] marija
Line 16: Line 16:
  
 <WRAP center round important 90%> <WRAP center round important 90%>
-**Note for new accounts:** Our Coinbase integration makes use of their earlier V1 API, which Coinbase appear to no longer support for their accounts. We are working to upgrade our integration to use their new API, please [[https://www.foxy.io/contact|reach out]] to let us know if you'd like to be notified when that is released. As an alternative, we also have [[gateways:bitpay|an integration with BitPay]] which you may be able to use instead. +Subscriptions are not supported with Coinbase at this time. If you intend to sell subscriptions with your FoxyCart store, you will need to make use of another payment gateway. (You can still use Coinbase Commerce //and// other gateways. Coinbase Commerce just won't be an option for payment if there's a subscription item in the cart.)
-</WRAP> +
- +
- +
-<WRAP center round important 90%> +
-Subscriptions are not supported with Coinbase at this time. If you intend to sell subscriptions with your FoxyCart store, you will need to make use of another payment gateway.+
 </WRAP> </WRAP>
 ===== Setting Up Coinbase for FoxyCart ===== ===== Setting Up Coinbase for FoxyCart =====
-There are a few advanced settings possible on the Coinbase side, but this is the minimum to get you going:  
-  - Create an account with Coinbase (if you already have one, you may wish to start a new wallet for FoxyCart purchases). We strongly suggest using two-step verification to better secure your account. 
-  - From within Coinbase: Select Settings/API Access. Click the button "+ New API Key". 
-  - In the New API Key window, under the Accounts heading, select which wallet you want purchases to go into. 
-  - Under the Permissions heading (for API version 1 if you see multiple versions) select "Merchant" only. 
-  - Under the Security Settings heading, leave the Allowed IP Addresses blank. 
-  - Click Create. 
-  - Your new API key will show up in the API Key list, but it is disabled initially. You must click enable and you will be emailed a code to enable the API Key. Paste in the code and you have an active key. 
-  - Note that the key is truncated in the API Key list, click on it to see the full API Key and API Secret. 
-  - In a separate browser window open your FoxyCart settings and go to STORE/payment, select "Let customers pay with Coinbase:", paste in your API Key and Secret Key. Then click "Update Payment Gateway". 
-  - Now back to Coinbase, where you have one final step before you can accept purchases: From your home account page select "Merchants" in the left sidebar. You must set up all of the info in the Profile tab (e.g. company name, logo, contact info and tax ID). 
-  - Test, test, test. 
- 
- 
- 
  
 +  - Create an account with [[https://commerce.coinbase.com/?lang=en|Coinbase Commerce]].
 +  - In your Coinbase account, go to "Settings" and scroll down to "API keys". Create an API key and copy/paste it into the API key section in the Foxy admin for Coinbase API key (on the payments page, under **Accept payments using your Coinbase V2 account**).
 +  - In Coinbase, go to the "Webhook subscriptions" and click "show shared secret". Copy that out paste it into the Foxy "Webhook Shared Secret" field in the Foxy admin in the same option, **Accept payments using your Coinbase V2 account**.
 +  - Click "Add an endpoint" in the Coinbase webhook subscriptions settings. The URL should be your Foxy store URL followed by ''/ipn''. So if your store domain is ''example.foxycart.com'', you'd enter ''https://example.foxycart.com/ipn''. If you're using a custom domain like ''secure.example.com'', it'd be ''https://secure.example.com/ipn''.
 +  - Save that webhook subscription in Coinbase. Save your Foxy payment settings.
 +  - You may test the gateway setup by completing a transaction.
  
 ==== Obtaining a Test Account ==== ==== Obtaining a Test Account ====
Line 62: Line 48:
  
 ==== Other Notes ==== ==== Other Notes ====
-**Instant Exchange** is a Coinbase feature that allows you to accept Bitcoin, but have it instantly converted to currency (e.g. USD) and deposited to the bank account of your choice. This could significantly reduce your exposure to exchange rate fluctuations, but it comes at a price. As of March 4, 2015 the fees associated with this service is 1% + $0.15 per transaction. Keeping your payments in Bitcoin are free of transaction fees. 
-More info: https://developers.coinbase.com/docs/merchants/payouts 
- 
-I asked Coinbase about the API Key permissions to set and this was their reply: 
-<blockquote>The Merchant permission is all you need, and the only one that you should select in order to configure your FoxyCart account. 
- 
-This will allow the following actions: 
-Create payment buttons and forms, view your basic user information, edit your merchant settings, and generate new receive addresses 
- 
-You shouldn’t need to restrict the server IP, both because the IP address Foxy uses may actually change, and because there is no risk of this key being used to move funds from your account. 
- 
-I hope that helps! If you need further assistance, please let me know. 
- 
----John @ Coinbase</blockquote> 
- 
- 
- 
- 
  
 +Coinbase has multiple settings and features you should explore, such as minimum and maximum amounts, and thresholds for how exchange rate fluctuations should or shouldn't be accepted. Since cryptocurrency is very, very unlike credit cards, please familiarize yourself with your Coinbase Commerce account before you go live.
 ===== User Notes and Experiences ===== ===== User Notes and Experiences =====
 <wrap tip>If you have tips, experience, or helpful notes related to this gateway that would benefit others, please add them below, including your name and the date.</wrap> We reserve the right to edit or remove comments that don't add value to this page. <wrap tip>If you have tips, experience, or helpful notes related to this gateway that would benefit others, please add them below, including your name and the date.</wrap> We reserve the right to edit or remove comments that don't add value to this page.

Site Tools