-In your bitpay account go to: My Account Settings/ API Keys. Create a Api key
-download bitpay folder:
https://github.com/bitpay/ecwid-plugin-Get the config.php from the bitpay folder: make changes
this is the config.php file
<?php
// ecwid settings
$storeURL = '
http://www.therebel.nl/halcyon/index.php/ecwid';$storeId = ''; // found in your ecwid control panel, bottom-right';
// bitpay settings
$bitpayURL = '
http://www.therebel.nl/bitpay/'; //Upload bitpay folder to your rootfolder your webhost
$apiKey = 'PASTE YOU API KEY FROM ABOVE HERE';
// speed: Warning: on medium/low, customers will not see an order confirmation page.
$speed = 'high'; // can be 'high', 'medium' or 'low'. See bitpay API doc for more details. (not really important)
In your Ecwid control panel:
Click System Settings > Payment, then click Authorize. Rename this to "Bitpay" or whatever you'd prefer.
Change Payment Processor to Credit Card: Authorize.net SIM
Click Account Details
API Login ID: choose something random here and copy it to config.php's $login variable.
Transaction Key: choose something random
MD5 Hash value: choose something random here and copy it to config.php's $hashValue variable.
Transaction Type: Authorize and Capture.
Click Advanced Settings.
Type in the url to bitpay/redirect2bitpay.php on your server.
Click Save//payment method settings
$login = ''; // Just type in whatever you want here, but also type the same in ecwid setting
$hashValue = ''; // Just type in whatever you want here, but also type the same in ecwid setting
// add trailing slash to url
$bitpayURL = '
http://www.therebel.nl/bitpay/redirect2bitpay.php';?>
Recap
Create Api key in bitpay merchant dashboard
Download bitpay folder, configure config.php needs to correnspond with ecwid&bitpay
upload bitpay folder to your rootfolder yourwebhost/yourwebsite