coinbase / coinbase-commerce-opencart

DEPRECATED — Coinbase Commerce Integration For Opencart
https://commerce.coinbase.com/integrate
Apache License 2.0
8 stars 13 forks source link

Coinbase Commerce Payment Module

Accept Cryptocurrencies on your Opencart store with Coinbase Commerce module.

Prerequisite

Accepted Cryptocurrencies

  1. It will accept Cryptocurrencies payment on your store with ease.
  2. Secure payment, goes directly into your own Cryptocurrency wallet.
  3. Following Cryptocurrencies are accepted by the Coinbase Commerce.
    • Bitcoin
    • Bitcoin Cash
    • DAI
    • Ethereum
    • Litecoin
    • USD Coin

Create an Account

If you don't have a Coinbase Commerce account, Sign Up.

Manual installation

Download the module and unzip it in the root directiry of your "Opencart Project".

Clear Opencart Cache to apply the changes

  1. Open your store content via File Manager or FTP.
  2. Go to the folder system/storage/cache/.
  3. Delete all files except index.html

Admin installation

Goto -> Extensions -> installer -> Click the upload button and locate the extension file of type ".ocmod".

Note: If extension is not showing after installation. Perform above step again (upload extension).

Clear Opencart Cache to apply the changes

  1. Open your store content via File Manager or FTP.
  2. Go to the folder system/storage/cache/.
  3. Delete all files except index.html

Generate API Credentials

  1. Create an API Key Coinbase Commerce Dashboard -> API keys -> Create an API key.
  2. Get the API Secret Coinbase Commerce Dashboard -> Show Shared Secrets.

Enable Module in Opencart Admin

  1. Configure module in Extensions -> Extensions -> Choose the extension type.
  2. Select “Payments” from dropdown.
  3. Scroll down to 'Coinbase Commerce'. Note: If extension is not showing "clear the cache"
  4. Payment Method Enabled - Set "Enabled" to activate it.
  5. Generate the API’s using the Sign in or Sign Up Page.
  6. API Key - paste the API key.
  7. API Secret - paste the API secret.
  8. Test Mode – No (By Default).
  9. CALLBACK URL - copy the given link to Coinbase Commerce Dashboard -> Webhook subscriptions -> Add an endpoint.
  10. Total – The amount Order must reach before this payment method becomes active.
  11. Order Status - Pending (By default – The status assigned to new orders).
  12. Completed Status – If order Payment received -> Processing state will be assigned to it.
  13. Unresolved Status – If the Payment is unresolved -> Denied state will be assigned to it.
  14. Confirmed Status – If previously unresolved order will be resolved -> Complete state will be assigned.
  15. Expired Status – If payment time out -> Expired state will be assigned to it. (For 10-14 – You can select any state so that state will be assigned to new orders)
  16. Sort Order - (Optional) enter integer value, Order with 0 shows at top in the list.

Click "Save" on the upper right part of the screen.

Step by Step Details:

Resolving the Order Status Manually

To resolve the order status of “Denied” Order. Merchant/Admin will have to follow the given steps in sequence.

  1. Navigate to Sales -> Orders -> Click "view".
  2. Locate the section “Add Order History”.
  3. Add Comment and notify the customer.
  4. Generate the invoice manually.

License

Open Source License

Integrate with other e-commerce platforms

Coinbase Commerce Integrations