From 1e919f6a1378f9e2bf78bec3b12c15180daa4a19 Mon Sep 17 00:00:00 2001 From: Rich Morgan Date: Mon, 31 Mar 2014 11:30:44 -0400 Subject: [PATCH 1/2] 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 2/2] 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