- Last Cart Version Tested: Wordpress 4.8.1 WP e-commerce 3.12.2
You must have a BitPay merchant account to use this plugin. It's free to sign-up for a BitPay merchant account.
- Download WP eCommerce plugin from the WordPress Plugin Directory: https://wordpress.org/plugins/wp-e-commerce/.
- Extract the contents of the zip file to the [wordpress main directory]/wp-content/plugins/ directory.
- Log in to your Wordpress and navigate to the Admin dashboard -> Plugins -> Installed Plugins
- Activate WP eCommerce plugin
- Download bitpay.zip from https://github.com/bitpay/wordpress-ecommerce-plugin/releases/latest
- Copy the wpsc-merchants folder into your Wordpress folder
If you want to clone and compile your own plugin, please use the follow commands:
- Clone the repo:
$ git clone https://github.com/bitpay/wordpress-ecommerce-plugin
$ cd wordpress-ecommerce-plugin
Install the dependencies:
$ curl -sS https://getcomposer.org/installer | php
$ ./composer.phar install
Build BitPay Plugin Directory:
$ ./setup
Copy plugin to the final Directory In Wordpress (change path to your Wordpress instance):
$ cd wpsc-merchants
$ cp -r * /var/www/wordpress/wp-content/plugins/wp-e-commerce/wpsc-merchants
-
Log into the WordPress admin panel, click Settings > Store > Payments (assuming you've already installed WP eCommerce plugin).
-
Check the BitPay payment option to activate it and click Save Changes below.
-
Click Settings below the BitPay payment option.
-
Edit Display Name if desired.
-
Create a Pairing Code at bitpay.com if you haven't already and set Pairing Code to this value.
- If you are using a code from bitpay.com set the dropdown next to Pairing Code input to Live.
- If you are using a pairing code from test.bitpay.com set the dropdown next to the Pairing Code input to Test.
-
Click Generate to pair with BitPay and create a token for doing transactions.
-
You should now see a paired token in your settings.
- Change the Transaction Speed if desired. Can be
high
,medium
, orlow
. HIGH speed confirmations typically take 5-10 seconds, and can be used for digital goods or low-risk items. LOW speed confirmations take about 1 hour, and should be used for high-value items.
- Input a URL to redirect customers after they have paid the invoice (Transaction Results page, Your Account page, etc.)
- Click Update below.
- Once the configuration is done, whenever a buyer selects Bitcoins as their payment method an invoice is generated at bitpay.com
- The Enable for All button allows other admins on your site to see and edit the token you paired.
- The Disable for All button makes the token pair invisible to all users except for the one who paired the token.