From 2631572aae6bc23262c0b51e57cf3b309890b74e Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Thu, 6 Mar 2014 13:13:46 -0500 Subject: [PATCH 01/23] Improved documentation --- README | 39 -------------------------------- README.md | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+), 39 deletions(-) delete mode 100644 README create mode 100644 README.md diff --git a/README b/README deleted file mode 100644 index 24f33ff..0000000 --- a/README +++ /dev/null @@ -1,39 +0,0 @@ -Bitpay plugin for Ecwid - -Instructions: -In config.php: - Set $storeURL to the URL of your store's homepage. - Set $storeID to your ecwid store ID found in the bottom-right of the Ecwid control panel. - Set $bitpayURL to the URL of the bitpay/ folder which you extracted from this plugin. - Set $apiKey to the key you created at bitpay.com in the "My Account > API Access Keys" section. - Adjust $speed if desired. - -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 - Click Save - - Click Design > CSS Themes - Either click "New CSS Theme" or edit your own theme. - Add this to the text area of your custom theme: - /* bitpay checkout image */ - img.defaultCCImage { - padding: 25px 263px 0px 0px; - background: url('http://fde.minethings.com/ecwid/bitpay/bitcoin25.png'); - background-size:auto; - background-repeat:no-repeat; - width:0px; - height: 0px; - } - Click Save - -Bitpay plugin version 1.0 -Tested against Ecwid version 13.0.1629 diff --git a/README.md b/README.md new file mode 100644 index 0000000..907fbf6 --- /dev/null +++ b/README.md @@ -0,0 +1,67 @@ +©2011,2012,2013,2014 BITPAY, INC. + +Permission is hereby granted to any person obtaining a copy of this software and associated documentation for use and/or modification in association with the bitpay.com service. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Bitcoin plugin for Ecwid using the bitpay.com service. + + + +Instructions +------------ +In config.php: + - Set $storeURL to the URL of your store's homepage. + - Set $storeID to your ecwid store ID found in the bottom-right of the Ecwid control panel. + - Set $bitpayURL to the URL of the bitpay/ folder which you extracted from this plugin. + - Set $apiKey to the key you created at bitpay.com in the "My Account > API Access Keys" section. + - Adjust $speed if desired. + +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 + -Click Save + + - Click Design > CSS Themes + - Either click "New CSS Theme" or edit your own theme. + - Add this to the text area of your custom theme: +
+		/* bitpay checkout image */
+		img.defaultCCImage {
+			padding: 25px 263px 0px 0px; 
+			background: url('http://fde.minethings.com/ecwid/bitpay/bitcoin25.png'); 
+			background-size:auto; 
+			background-repeat:no-repeat;
+			width:0px; 
+			height: 0px;
+		}
+	
+ - Click Save + + +Troubleshooting +--------------- +The official BitPay API documentation should always be your first reference for development: https://bitpay.com/downloads/bitpayApi.pdf + +- Verify that your "notificationURL" for the invoice is "https://" (not "http://") +- Ensure a valid SSL certificate is installed on your server. Also ensure your root CA cert is updated. If your CA cert is not current, you will see curl SSL verification errors. +- Verify that your callback handler at the "notificationURL" is properly receiving POSTs. You can verify this by POSTing your own messages to the server from a tool like Chrome Postman. +- Verify that the POST data received is properly parsed and that the logic that updates the order status on the merchants web server is correct. +- Verify that the merchants web server is not blocking POSTs from servers it may not recognize. Double check this on the firewall as well, if one is being used. +- Use the logging functionality to log errors during development. If you contact BitPay support, they will ask to see the log file to help diagnose any problems. +- Check the version of this plugin against the official repository to ensure you are using the latest version. Your issue might have been addressed in a newer version of the library. +- If all else fails, send an email describing your issue in detail to support@bitpay.com + + +Version +------- +Bitpay plugin version 1.0 +Tested against Ecwid version 13.0.1629 From 2887aa75b80b3482556745ad648a5de5d55d5692 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Thu, 6 Mar 2014 13:15:02 -0500 Subject: [PATCH 02/23] Update README.md --- README.md | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/README.md b/README.md index 907fbf6..2081591 100644 --- a/README.md +++ b/README.md @@ -11,29 +11,28 @@ Bitcoin plugin for Ecwid using the bitpay.com service. Instructions ------------ In config.php: - - Set $storeURL to the URL of your store's homepage. - - Set $storeID to your ecwid store ID found in the bottom-right of the Ecwid control panel. - - Set $bitpayURL to the URL of the bitpay/ folder which you extracted from this plugin. - - Set $apiKey to the key you created at bitpay.com in the "My Account > API Access Keys" section. - - Adjust $speed if desired. +- Set $storeURL to the URL of your store's homepage. +- Set $storeID to your ecwid store ID found in the bottom-right of the Ecwid control panel. +- Set $bitpayURL to the URL of the bitpay/ folder which you extracted from this plugin. +- Set $apiKey to the key you created at bitpay.com in the "My Account > API Access Keys" section. +- Adjust $speed if desired. 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 - -Click Save - - - Click Design > CSS Themes - - Either click "New CSS Theme" or edit your own theme. - - Add this to the text area of your custom theme: -
+- 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
+- Click Save 
+- Click Design > CSS Themes
+- Either click "New CSS Theme" or edit your own theme.
+- Add this to the text area of your custom theme:
+
 		/* bitpay checkout image */
 		img.defaultCCImage {
 			padding: 25px 263px 0px 0px; 
@@ -43,8 +42,8 @@ In your Ecwid control panel:
 			width:0px; 
 			height: 0px;
 		}
-	
- - Click Save +
+- Click Save Troubleshooting From dfe3d0a5e82a555578d76e7bbdd9e1cbbbc223bf Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Thu, 6 Mar 2014 13:18:35 -0500 Subject: [PATCH 03/23] Fixed reference to broken image link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2081591..feb741a 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ In your Ecwid control panel: /* bitpay checkout image */ img.defaultCCImage { padding: 25px 263px 0px 0px; - background: url('http://fde.minethings.com/ecwid/bitpay/bitcoin25.png'); + background: url('https://en.bitcoin.it/w/images/en/2/29/BC_Logo_.png'); background-size:auto; background-repeat:no-repeat; width:0px; From 055f79150d4d854529f268115bdb5319469d0e36 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Thu, 6 Mar 2014 13:19:52 -0500 Subject: [PATCH 04/23] Added company, copyright & license information --- bitpay/bp_options.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/bitpay/bp_options.php b/bitpay/bp_options.php index d614bd4..09d2913 100644 --- a/bitpay/bp_options.php +++ b/bitpay/bp_options.php @@ -1,5 +1,22 @@ \ No newline at end of file +?> From 88cc8d5bb06091935fceeeed706d928f40f89361 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Thu, 6 Mar 2014 13:20:45 -0500 Subject: [PATCH 05/23] Added company, copyright & license information --- bitpay/bp_lib.php | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/bitpay/bp_lib.php b/bitpay/bp_lib.php index f1a7e95..267b21f 100644 --- a/bitpay/bp_lib.php +++ b/bitpay/bp_lib.php @@ -1,5 +1,22 @@ \ No newline at end of file +?> From e4d6cb7483f99a5ec8fd96b4fce891d8c44880ca Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Thu, 6 Mar 2014 13:22:06 -0500 Subject: [PATCH 06/23] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index feb741a..b65f61b 100644 --- a/README.md +++ b/README.md @@ -62,5 +62,5 @@ The official BitPay API documentation should always be your first reference for Version ------- -Bitpay plugin version 1.0 -Tested against Ecwid version 13.0.1629 +- Bitpay plugin version 1.0 +- Tested against Ecwid version 13.0.1629 From 1e919f6a1378f9e2bf78bec3b12c15180daa4a19 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Mon, 31 Mar 2014 11:30:44 -0400 Subject: [PATCH 07/23] Added new HTTP header for version tracking --- bitpay/bp_lib.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bitpay/bp_lib.php b/bitpay/bp_lib.php index 267b21f..2cfcc40 100644 --- a/bitpay/bp_lib.php +++ b/bitpay/bp_lib.php @@ -36,6 +36,7 @@ function bpCurl($url, $apiKey, $post = false) { 'Content-Type: application/json', "Content-Length: $length", "Authorization: Basic $uname", + 'X-BitPay-Plugin-Info: ecwid033114', ); curl_setopt($curl, CURLOPT_PORT, 443); From 6ead65a8eab21ebe2b6b3ac1ef6e9f1da5f0b02c Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Mon, 31 Mar 2014 11:30:48 -0400 Subject: [PATCH 08/23] Updated version info --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b65f61b..c000a6a 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -©2011,2012,2013,2014 BITPAY, INC. +©2011-2014 BITPAY, INC. Permission is hereby granted to any person obtaining a copy of this software and associated documentation for use and/or modification in association with the bitpay.com service. @@ -64,3 +64,4 @@ Version ------- - Bitpay plugin version 1.0 - Tested against Ecwid version 13.0.1629 +- Added new HTTP header for version tracking From 9e03530c21c21d4b2b5e58a5fef92578761d1afa Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Fri, 16 May 2014 01:11:33 -0400 Subject: [PATCH 09/23] Fix to use server error handling --- bitpay/functions.php | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/bitpay/functions.php b/bitpay/functions.php index 54d0e70..4d4516e 100644 --- a/bitpay/functions.php +++ b/bitpay/functions.php @@ -2,14 +2,7 @@ function debuglog($contents) { - $file = 'log.txt'; - file_put_contents($file, date('m-d H:i:s').": ", FILE_APPEND); - if (is_array($contents)) - file_put_contents($file, var_export($contents, true)."\n", FILE_APPEND); - else if (is_object($contents)) - file_put_contents($file, json_encode($contents)."\n", FILE_APPEND); - else - file_put_contents($file, $contents."\n", FILE_APPEND); + error_log($contents); } function postToEcwid($notice) @@ -46,9 +39,6 @@ function postToEcwid($notice) $response = curl_exec($ch); if ($response === false){ debuglog('request to ecwid.com failed'); - debuglog($url); - debuglog($notice); - debuglog($datatopost); debuglog(curl_error($ch)); } @@ -73,4 +63,4 @@ function deleteOldInvs() { closedir($handle); } } -?> \ No newline at end of file +?> From f41cc02ade1428c458099927ff066389d2d29165 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Fri, 16 May 2014 01:12:43 -0400 Subject: [PATCH 10/23] Fix to use server error handling --- bitpay/redirect2bitpay.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bitpay/redirect2bitpay.php b/bitpay/redirect2bitpay.php index bf1307f..6115ec0 100644 --- a/bitpay/redirect2bitpay.php +++ b/bitpay/redirect2bitpay.php @@ -32,8 +32,7 @@ $invoice = bpCreateInvoice(NULL, $_POST['x_amount'], $posData, $options); if (isset($invoice['error'])) { - debuglog($options); - debuglog($invoice); + debuglog('Error creating invoice'); print 'Error creating invoice'; die; } @@ -44,4 +43,4 @@ // redirect to bitpay header('Location: '.$invoice['url']); -?> \ No newline at end of file +?> From a13efbde3f773c637a3da1cdd6d593a36867a766 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Fri, 16 May 2014 10:46:08 -0400 Subject: [PATCH 11/23] Updated htaccess with more filetypes --- bitpay/.htaccess | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/bitpay/.htaccess b/bitpay/.htaccess index 8dfe378..587b9b3 100644 --- a/bitpay/.htaccess +++ b/bitpay/.htaccess @@ -1,3 +1,5 @@ - - Deny from all - \ No newline at end of file +; + Order allow,deny + Deny from all + Satisfy All + From c7181152a3b78ccb82aa46fe4ea43a8982ffd46d Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Fri, 16 May 2014 10:46:15 -0400 Subject: [PATCH 12/23] Update .htaccess --- bitpay/.htaccess | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitpay/.htaccess b/bitpay/.htaccess index 587b9b3..745b75e 100644 --- a/bitpay/.htaccess +++ b/bitpay/.htaccess @@ -1,4 +1,4 @@ -; + Order allow,deny Deny from all Satisfy All From 3a006e6b6a56ec24fb9d78fcc03efee91291b24f Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Fri, 16 May 2014 11:52:01 -0400 Subject: [PATCH 13/23] Simply redirects to home page --- bitpay/index.php | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 bitpay/index.php diff --git a/bitpay/index.php b/bitpay/index.php new file mode 100644 index 0000000..34a6d15 --- /dev/null +++ b/bitpay/index.php @@ -0,0 +1,3 @@ + Date: Fri, 10 Oct 2014 17:12:36 -0400 Subject: [PATCH 14/23] Security Patch --- bitpay/bp_lib.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/bitpay/bp_lib.php b/bitpay/bp_lib.php index 2cfcc40..dee7491 100644 --- a/bitpay/bp_lib.php +++ b/bitpay/bp_lib.php @@ -126,7 +126,12 @@ function bpVerifyNotification($apiKey = false) { return array('error' => 'authentication failed (bad hash)'); $json['posData'] = $posData['posData']; - return $json; + if (!array_key_exists('id', $json)) + { + return 'Cannot find invoice ID'; + } + + return bpGetInvoice($json['id'], $apiKey); } // $options can include ('apiKey') @@ -140,7 +145,10 @@ function bpGetInvoice($invoiceId, $apiKey=false) { return array('error' => $response); //decode posData $response['posData'] = json_decode($response['posData'], true); - $response['posData'] = $response['posData']['posData']; + if($bpOptions['verifyPos']) + { + $response['posData'] = $response['posData']['posData']; + } return $response; } From 6603e8f908b24df7149e32ee24540655611989da Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Tue, 10 Feb 2015 00:18:54 -0500 Subject: [PATCH 15/23] Updated copyright notice year --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c000a6a..ea6db93 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -©2011-2014 BITPAY, INC. +©2011-2015 BITPAY, INC. + +The MIT License Permission is hereby granted to any person obtaining a copy of this software and associated documentation for use and/or modification in association with the bitpay.com service. From a3472a24b41ac081067c862345119b5b2b8e99a1 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Fri, 20 Feb 2015 18:01:19 -0500 Subject: [PATCH 16/23] Create GUIDE.md --- GUIDE.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 GUIDE.md diff --git a/GUIDE.md b/GUIDE.md new file mode 100644 index 0000000..20b889e --- /dev/null +++ b/GUIDE.md @@ -0,0 +1,44 @@ +# Using the BitPay plugin for Prestashop +## Prerequisites +You must have a BitPay merchant account to use this plugin. It's free to [sign-up for a BitPay merchant account](https://bitpay.com/start). + + +## Installation & Configuration + +**In config.php:** + +- Set $storeURL to the URL of your store's homepage. +- Set $storeID to your ecwid store ID found in the bottom-right of the Ecwid control panel. +- Set $bitpayURL to the URL of the bitpay/ folder which you extracted from this plugin. +- Set $apiKey to the key you created at bitpay.com in the "My Account > API Access Keys" section. +- Adjust $speed if desired. + +**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 +- Click Save +- Click Design > CSS Themes +- Either click "New CSS Theme" or edit your own theme. +- Add this to the text area of your custom theme: +```css + /* bitpay checkout image */ + img.defaultCCImage { + padding: 25px 263px 0px 0px; + background: url('https://en.bitcoin.it/w/images/en/2/29/BC_Logo_.png'); + background-size:auto; + background-repeat:no-repeat; + width:0px; + height: 0px; + } +``` +- Click Save + From c43bff156b90379819f68f83ce1ba1d1881f4813 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Fri, 20 Feb 2015 18:03:43 -0500 Subject: [PATCH 17/23] Removed install/config info and added to GUIDE --- README.md | 72 +++++++++++++++++-------------------------------------- 1 file changed, 22 insertions(+), 50 deletions(-) diff --git a/README.md b/README.md index ea6db93..d7d63c0 100644 --- a/README.md +++ b/README.md @@ -1,55 +1,15 @@ -©2011-2015 BITPAY, INC. +# Description -The MIT License +Bitcoin payment plugin for Ecwid using the bitpay.com service. -Permission is hereby granted to any person obtaining a copy of this software and associated documentation for use and/or modification in association with the bitpay.com service. -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +## Quick Start Guide + +To get up and running with our plugin quickly, see the GUIDE here: https://github.com/bitpay/ecwid-plugin/blob/master/GUIDE.md + + +## Troubleshooting -Bitcoin plugin for Ecwid using the bitpay.com service. - - - -Instructions ------------- -In config.php: -- Set $storeURL to the URL of your store's homepage. -- Set $storeID to your ecwid store ID found in the bottom-right of the Ecwid control panel. -- Set $bitpayURL to the URL of the bitpay/ folder which you extracted from this plugin. -- Set $apiKey to the key you created at bitpay.com in the "My Account > API Access Keys" section. -- Adjust $speed if desired. - -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 -- Click Save -- Click Design > CSS Themes -- Either click "New CSS Theme" or edit your own theme. -- Add this to the text area of your custom theme: -
-		/* bitpay checkout image */
-		img.defaultCCImage {
-			padding: 25px 263px 0px 0px; 
-			background: url('https://en.bitcoin.it/w/images/en/2/29/BC_Logo_.png'); 
-			background-size:auto; 
-			background-repeat:no-repeat;
-			width:0px; 
-			height: 0px;
-		}
-
-- Click Save - - -Troubleshooting ---------------- The official BitPay API documentation should always be your first reference for development: https://bitpay.com/downloads/bitpayApi.pdf - Verify that your "notificationURL" for the invoice is "https://" (not "http://") @@ -62,8 +22,20 @@ The official BitPay API documentation should always be your first reference for - If all else fails, send an email describing your issue in detail to support@bitpay.com -Version -------- +## Version History + - Bitpay plugin version 1.0 - Tested against Ecwid version 13.0.1629 - Added new HTTP header for version tracking + + +## License + +©2011-2015 BITPAY, INC. + +The MIT License (MIT) + +Permission is hereby granted to any person obtaining a copy of this software and associated documentation for use and/or modification in association with the bitpay.com service. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + From 214896ef5c78de84e308554495146ce5247648b8 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Fri, 20 Feb 2015 18:04:17 -0500 Subject: [PATCH 18/23] Fixed plugin name - oops! --- GUIDE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GUIDE.md b/GUIDE.md index 20b889e..29db188 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -1,4 +1,5 @@ -# Using the BitPay plugin for Prestashop +# Using the BitPay plugin for ECWID + ## Prerequisites You must have a BitPay merchant account to use this plugin. It's free to [sign-up for a BitPay merchant account](https://bitpay.com/start). From a64cd3e57522a8de90b7514f15cccc447db2a57a Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Fri, 6 Nov 2015 10:16:16 -0500 Subject: [PATCH 19/23] Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d7d63c0..7e3b310 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ +# Notice + +This is a Community-supported project. + +If you are interested in becoming a maintainer of this project, please contact us at integrations@bitpay.com. Developers at BitPay will attempt to work along the new maintainers to ensure the project remains viable for the foreseeable future. + # Description Bitcoin payment plugin for Ecwid using the bitpay.com service. From 0049f3e91a52e4fdc009a08812eae17cc6a06747 Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Wed, 18 Nov 2015 15:21:32 -0500 Subject: [PATCH 20/23] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7e3b310..1e85134 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,8 @@ Bitcoin payment plugin for Ecwid using the bitpay.com service. ## Quick Start Guide +* Last Version Tested: 13.0.1629 + To get up and running with our plugin quickly, see the GUIDE here: https://github.com/bitpay/ecwid-plugin/blob/master/GUIDE.md From 8eed2d1092cf2ac66d9fbab5807f629a3308308d Mon Sep 17 00:00:00 2001 From: Chris Kleeschulte Date: Wed, 18 Nov 2015 15:22:01 -0500 Subject: [PATCH 21/23] Update GUIDE.md --- GUIDE.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/GUIDE.md b/GUIDE.md index 29db188..bf8852b 100644 --- a/GUIDE.md +++ b/GUIDE.md @@ -1,6 +1,9 @@ # Using the BitPay plugin for ECWID ## Prerequisites + +* Last Version Tested: 13.0.1629 + You must have a BitPay merchant account to use this plugin. It's free to [sign-up for a BitPay merchant account](https://bitpay.com/start). From 76708d19305260a79a60bbb34d69c9bd7179ab06 Mon Sep 17 00:00:00 2001 From: James Walpole Date: Fri, 19 Feb 2016 09:33:40 -0500 Subject: [PATCH 22/23] Update Support Links --- README.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 1e85134..f98f030 100644 --- a/README.md +++ b/README.md @@ -27,8 +27,21 @@ The official BitPay API documentation should always be your first reference for - Verify that the merchants web server is not blocking POSTs from servers it may not recognize. Double check this on the firewall as well, if one is being used. - Use the logging functionality to log errors during development. If you contact BitPay support, they will ask to see the log file to help diagnose any problems. - Check the version of this plugin against the official repository to ensure you are using the latest version. Your issue might have been addressed in a newer version of the library. -- If all else fails, send an email describing your issue in detail to support@bitpay.com +## Support + +**BitPay Support:** + +* [GitHub Issues](https://github.com/bitpay/ecwid-plugin/issues) + * Open an issue if you are having issues with this plugin. +* [Support](https://help.bitpay.com/) + * BitPay merchant support documentation + +**Ecwid Support** + +* [Homepage](https://www.ecwid.com/) +* [Documentation](https://help.ecwid.com/) +* [Support](https://help.ecwid.com/customer/portal/emails/new) ## Version History @@ -36,7 +49,6 @@ The official BitPay API documentation should always be your first reference for - Tested against Ecwid version 13.0.1629 - Added new HTTP header for version tracking - ## License ©2011-2015 BITPAY, INC. From 6d2534b73725802efbf28061490f64396fe6e811 Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Wed, 16 Mar 2016 11:18:19 -0400 Subject: [PATCH 23/23] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f98f030..5655d7c 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ This is a Community-supported project. -If you are interested in becoming a maintainer of this project, please contact us at integrations@bitpay.com. Developers at BitPay will attempt to work along the new maintainers to ensure the project remains viable for the foreseeable future. +If you are interested in becoming a maintainer of this project, please contact us at integrations@bitpay.com. Developers at BitPay will attempt to work with new maintainers to ensure the project remains viable for the foreseeable future. # Description