Copy the files from
upload to your OpenCart installation directory.
If you are upgrading from an earlier version of BitPay's OpenCart plugin, you'll need to remove the
bitpay folder from your OpenCart installation directory, then proceed with the installation instructions above.
- Create an API key at bitpay.com under the "My Account" section.
- In the opencart administration under Extensions->Payments, click the "Install"
link on the Bitpay row.
- Also under Extensions->Payments, click the "Edit" link on the Bitpay row.
- Set the API key to the key you created in step 1.
- Select a transaction speed. The high speed will send a confirmation as soon
as a transaction is received in the bitcoin network (usually a few seconds). A
medium speed setting will typically take 10 minutes. The low speed setting
usually takes around 1 hour. See the bitpay.com merchant documentation for a
full description of the transaction speed settings.
- Set the status to enabled (this activates the bitpay payment extension and
enabled shoppers to select the bitcoin payment method).
- Select a sort order. The sort order determines the ordering of payment options
presented to the shopper.
The official BitPay API documentation should always be your first reference for development, errors and troubleshooting:
Some web servers have outdated root CA certificates and will cause this curl error:
SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
The fix is to contact your hosting provider or server administrator and request a root CA cert update.
The log file is named 'bplog.txt' and can be found in the same directory as the plugin files. Checking this log file will give you exact responses from the BitPay network, in case of failures.
Check the version of this plugin agains the official repository to ensure you are using the latest version. Your issue might have been addressed in a newer version of the plugin: https://github.com/bitpay/opencart-plugin
If all else fails, send an email describing your issue in detail to email@example.com and attach the bplog.txt file.