Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
gateways:coinbase [2017/02/20 06:02] – [Coinbase] adam | gateways:coinbase [2022/04/07 19:01] (current) – [Setting Up Coinbase for FoxyCart] marija | ||
---|---|---|---|
Line 1: | Line 1: | ||
---- dataentry gateway ---- | ---- dataentry gateway ---- | ||
- | type : gateway | + | type |
+ | name : Coinbase # | ||
+ | countries | ||
+ | support-added | ||
+ | support-removed | ||
+ | auth-net-emulation | ||
+ | supports-3dsecure | ||
+ | supports-multicurrency : yes # enter " | ||
+ | gateway_url | ||
+ | ---- | ||
- | # Add the full name of the gateway after the colon below. | ||
- | name : Coinbase | ||
- | # Supported Countries. Please use 2-character ISO Country Codes available at | ||
- | # http:// | ||
- | # Separate multiple country codes by commas. | ||
- | countries | ||
- | # Enter the FoxyCart versions where support was added or removed (if applicable). | + | ====== Coinbase ====== |
- | # Version numbers should include applicable decimals, such as " | + | |
- | support-added | + | |
- | support-removed : | + | |
- | # Features and Details | ||
- | auth-net-emulation : no # enter " | ||
- | supports-3dsecure | ||
- | supports-multicurrency | ||
- | |||
- | # Gateway URL | ||
- | gateway_url | ||
- | ---- | ||
- | |||
- | |||
- | ====== Coinbase ====== | ||
<WRAP center round important 90%> | <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. | + | 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. |
</ | </ | ||
===== 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). I highly suggest using two-step verification to better secure your account. | ||
- | - From within Coinbase: Select Settings/ | ||
- | - 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 " | ||
- | - 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/ | ||
- | - Now back to Coinbase, where you have one final step before you can accept purchases: From your home account page select " | ||
- | - Test, test, test. | ||
+ | - Create an account with [[https:// | ||
+ | - In your Coinbase account, go to " | ||
+ | - In Coinbase, go to the " | ||
+ | - Click "Add an endpoint" | ||
+ | - Save that webhook subscription in Coinbase. Save your Foxy payment settings. | ||
+ | - You may test the gateway setup by completing a transaction. | ||
- | |||
- | |||
- | ===== Testing ===== | ||
- | Cheap way to test if you already have Bitcoin: I set up a $1 non-taxable item in my store and bought it with Bitcoin. Very smooth transaction! I'm impressed. | ||
==== Obtaining a Test Account ==== | ==== Obtaining a Test Account ==== | ||
- | Contact coinbase for info. <wrap help> | ||
- | ==== Test Card Numbers ==== | ||
- | Contact coinbase for info. <wrap help> | ||
- | |||
+ | Coinbase currently do not provide test accounts. This means that even if your gateway settings in your store' | ||
+ | In order to test a transaction with Coinbase, you could create a custom $1 product for your store, and complete the transaction with Coinbase to confirm everything is working as expected. | ||
===== Troubleshooting & Interpreting Response Codes ===== | ===== Troubleshooting & Interpreting Response Codes ===== | ||
Contact Coinbase for info. <wrap help> | Contact Coinbase for info. <wrap help> | ||
Line 63: | Line 40: | ||
===== Important Notes and Caveats ===== | ===== Important Notes and Caveats ===== | ||
- | **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, | ||
- | More info: https:// | ||
- | |||
- | I asked Coinbase about the API Key permissions to set and this was their reply: | ||
- | < | ||
- | |||
- | This will allow the following actions: | ||
- | Create payment buttons and forms, view your basic user information, | ||
- | |||
- | 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</ | ||
+ | ==== Possible Action: Datafeed Handling ==== | ||
+ | At the time of the customer completing the transaction - we don't necessarily know whether the transaction was completed yet or not. We instead rely on a notification from the gateway after the checkout has been completed to confirm whether the transaction was approved or not. To handle this, transactions are initially marked as pending, and when we get a confirmation from the gateway on the result of the transaction, | ||
+ | The '' | ||
+ | ==== Other Notes ==== | ||
+ | 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' | ||
===== 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 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.</ |