OpenCart
Accepting bitcoin payments online has never been easier. You can accept bitcoin payments directly from your store using the Bitcoin Payments by Speed plugin.
Benefits of using Speed
- It enables low-cost, secure, and lightning-fast bitcoin payment processing.
- There are no setup costs, monthly fees, or hidden costs.
- It provides robust and adaptable payment processing capabilities.
- Create your account and start accepting bitcoin payments in no time.
- Transaction fees are significantly lower (1%) than credit card fees (2.9% - 3.4%).
- There is no risk of chargebacks or fraudulent payments.
- Accept cross-border payments without the involvement of a bank. It's simple to go global with Speed.
- Speed uses real-time bitcoin prices to save you from losing revenue.
- Withdraw your balance instantly in bitcoin or USDC.
Benefits of using Speed with Opencart
- Your customers will have a smooth checkout process.
- Easy setup. No coding knowledge is required. Connect Speed to your store by simply copying and pasting your secret keys.
- Integrate quickly by filling in the required details, and your store will be ready to accept payments via Speed.
- The plugin interface allows you to easily switch your transactions from live mode to test mode or vice versa. It’s a great feature to configure the plugin according to your expectations and validate your transactions before going live.
- You can also keep track of the order payments regularly on the Speed Web application and get confirmations quickly.
Download it now at: OpenCart Marketplace.
Requirements
To install “Bitcoin Payments by Speed” plugin, you need:
- OpenCart version 3 or newer (installed). Tested up to: 4
- PHP Version 7.5 or newer Tested up to: 8.2
- Speed account. If you don't already have a Speed account, sign up for one here.
Installation
Manual Installation via the OpenCart Admin Panel
- Open OpenCart Marketplace and login to your OpenCart account.
- Select Free, Payment Gateways category and search for Speed.
- Open Bitcoin Payments by Speed shown in the search results.
- Click on Download to download the zip file for the extension.
- Log in to the OpenCart Admin of your store.
- Go to Extensions » Installer.
- Click on
Upload
. - Upload the zip file. After uploading, Bitcoin Payments by Speed will be listed under Installed Extensions.
- Click on the plus icon against Bitcoin Payments by Speed to install.
- Go to
Extensions
. - Select Payments in Extension Type.
- Under Payments. Bitcoin Payments by Speed payment method will appear.
- Click the
Install
icon against it.
Installation via the OpenCart Marketplace
- Login in to your OpenCart store admin.
- Go to Extensions » Marketplace.
- Search for Bitcoin Payments by Speed.
- Click on Bitcoin Payments by Speed from the results.
- Click on the Download tab.
- Click on the
Download
button to download the extension. - Go to Extensions » Installer.
- Click on the plus icon next to Bitcoin Payments by Speed to install.
- Go to Extensions » Extensions.
- Select Payments as the extension type.
- Under Payments, Bitcoin Payments by Speed payment method will appear.
- Click the
Install
icon against it.
Setup and Configuration
After installing the Bitcoin Payments by Speed extension, it must be configured.
To configure your Bitcoin Payments by Speed extension, go to Extensions » Extensions. Select Payments in Extension Type. Click Edit icon against Bitcoin Payments by Speed.
There are 4 types of settings tabs you will find on the Speed Configure page.
- General Settings
- Test Settings
- Live Settings
- Order Status Settings
General Settings
The extension status here should be enabled to activate the extension after installation.
-
First, you can choose the
transaction mode
here.- If you want to test payments before accepting real bitcoins, select the transaction mode as Test. You can simulate various payments in test mode.
- However, if you want to start accepting payments with Speed, select the Live mode and save your changes.
Whichever mode you select, you will find the mode displayed on the top-most right corner of the Speed Configure settings page.
-
Although Speed by default suggests the
payment method name
, you can modify this as you see fit. -
Next, you will see the
statement descriptor
, which is additional information about a payment made to your account via Speed. You can add a customized one as well.
Test and Live Settings
Next, let’s fill in the Test and Live settings’ required fields. For Test mode details, make sure you select Test in the Transaction mode
in Speed web application. For live settings, select the “Live” option.
- Enter the Publishable API keys in test mode to configure the Bitcoin Payments by Speed with a new or existing Speed account (copy the keys from your Speed web application) by keeping the toggle on in Speed web application.
- Fill in the webhook URL and Webhook Test Signing Secret Key. Click here for more instructions.
- Click on the
Test Connection
to see if Test / Live keys provided establish a successful connection or not. As this would be required to connect your website to your Speed account.
Order status settings
Initially, when an order is created, the order status is pending
. Once your customer completes the payment, the order status changes to processed
.
Order status gets changed to processed
because of the default settings set as shown below.
You can select the order status of your choice from the three available options mentioned below to show that the customer has made the payment.
- Pending
- Processing
- Processed
Check all the details are filled in, and click on the Save
icon.
Webhooks
Webhooks will help keep the communication between Speed and your site synchronized. It provides information such as whether the payment has been received or not and is used to update the orders based on certain events.
Let us see the steps to enable webhooks for your Opencart website.
- Head to Extensions » Extensions » Select Extension type as Payments » Bitcoin Payments by Speed. Click
Edit
to configure your Bitcoin Payments by Speed settings. Under the Live/Test settings section, you’ll find a webhook endpoint URL ready for you to copy and paste into your Speed web application.
- Log into your Speed web application with your login credentials.
- Navigate to Dashboard → Developers → Webhooks. (with “Test mode” enabled or disabled, depending on which mode is being configured).
- On the left sidebar, click
Add endpoint
. - Paste the webhook endpoint URL you copied earlier into the
Endpoint URL
field, and enter adescription
. - Select the
version
of your choice. - Click next. You will see a list of events. Select your desired events. Make sure to select the following events at a minimum.
- For example, you must select below given events,
Checkout_session.paid
Checkout_session.created
Checkout_session.payment_paid
- After selecting events, you can see the selected ones in the sample endpoint code on the Speed web application.
- Click Add endpoint. This will take you to the webhook detail page, where you can find the webhook endpoint status, secret, id, and many other details.
- Copy the Signing secret (wsec_xxxxxxxxxxxxxxxxxxxx) after clicking Reveal.
- Back in Extensions » Extensions » Select Extension type as Payments » Bitcoin Payments by Speed » Test/Live Settings, and paste the secret into the Webhook Signing Secret Key field.
- Test your connection, and if it is successful, then you are good to go using Speed on your website.
- If this was done in test mode, repeat the process after switching to live mode.
Accept Speed Bitcoin at Checkout
Your customers can easily complete their payment by selecting the Bitcoin Payments by Speed option on your store, as shown below. At checkout, when the customer selects Bitcoin Payments by Speed payment, they will be redirected to the Speed payment page to complete the crypto transaction.
On the Speed payment page, customers can make payments in bitcoin or via the Lightning Network. Learn more about each payment method here.
Customers who choose to pay via bitcoin can make partial payments for their orders.
When a customer makes a partial payment, the order status will be pending. The customer can make the remaining payment on the same on-chain address or the Lightning Network using the QR code on the Speed payment page.
The same Speed payment page can be generated by going back to the cart (without updating it) and then selecting the Bitcoin Payments by Speed payment option at checkout. This will take the customer back to the same payment page where they can make the remaining partial payment.
If a customer clicks back on the Speed payment page, they will be redirected to the cart page of your Opencart store with the cart retained.
Updated 3 months ago