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 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);