Version Notes
Download this release
Release Info
| Developer | Integrations Team |
| Extension | Bitpay_Core |
| Version | 2.1.13 |
| Comparing to | |
| See all releases | |
Code changes from version 2.1.12 to 2.1.13
- app/code/community/Bitpay/Core/Block/Iframe.php +1 -22
- app/code/community/Bitpay/Core/Model/Ipn.php +12 -5
- app/code/community/Bitpay/Core/Model/Method/Bitcoin.php +4 -21
- app/code/community/Bitpay/Core/controllers/IndexController.php +10 -5
- app/design/frontend/base/default/template/bitpay/iframe.phtml +11 -7
- package.xml +1 -1
app/code/community/Bitpay/Core/Block/Iframe.php
CHANGED
|
@@ -3,7 +3,6 @@
|
|
| 3 |
* @license Copyright 2011-2014 BitPay Inc., MIT License
|
| 4 |
* @see https://github.com/bitpay/magento-plugin/blob/master/LICENSE
|
| 5 |
*
|
| 6 |
-
* TODO: Finish this iFrame implemenation... :/
|
| 7 |
*/
|
| 8 |
|
| 9 |
class Bitpay_Core_Block_Iframe extends Mage_Checkout_Block_Onepage_Payment
|
|
@@ -45,26 +44,6 @@ class Bitpay_Core_Block_Iframe extends Mage_Checkout_Block_Onepage_Payment
|
|
| 45 |
return 'paid'; // quote's already paid, so don't show the iframe
|
| 46 |
}
|
| 47 |
|
| 48 |
-
|
| 49 |
-
$method = $this->getQuote()->getPayment()->getMethodInstance();
|
| 50 |
-
|
| 51 |
-
$amount = $this->getQuote()->getGrandTotal();
|
| 52 |
-
|
| 53 |
-
if (false === isset($method) || true === empty($method)) {
|
| 54 |
-
\Mage::helper('bitpay')->debugData('[ERROR] In Bitpay_Core_Block_Iframe::getIframeUrl(): Could not obtain an instance of the payment method.');
|
| 55 |
-
throw new \Exception('In Bitpay_Core_Block_Iframe::getIframeUrl(): Could not obtain an instance of the payment method.');
|
| 56 |
-
}
|
| 57 |
-
|
| 58 |
-
$bitcoinMethod = \Mage::getModel('bitpay/method_bitcoin');
|
| 59 |
-
|
| 60 |
-
try {
|
| 61 |
-
$bitcoinMethod->authorize($payment, $amount, true);
|
| 62 |
-
} catch (\Exception $e) {
|
| 63 |
-
\Mage::helper('bitpay')->debugData('[ERROR] In Bitpay_Core_Block_Iframe::getIframeUrl(): failed with the message: ' . $e->getMessage());
|
| 64 |
-
\Mage::throwException("Error creating BitPay invoice. Please try again or use another payment option.");
|
| 65 |
-
return false;
|
| 66 |
-
}
|
| 67 |
-
|
| 68 |
-
return $bitcoinMethod->getOrderPlaceRedirectUrl();
|
| 69 |
}
|
| 70 |
}
|
| 3 |
* @license Copyright 2011-2014 BitPay Inc., MIT License
|
| 4 |
* @see https://github.com/bitpay/magento-plugin/blob/master/LICENSE
|
| 5 |
*
|
|
|
|
| 6 |
*/
|
| 7 |
|
| 8 |
class Bitpay_Core_Block_Iframe extends Mage_Checkout_Block_Onepage_Payment
|
| 44 |
return 'paid'; // quote's already paid, so don't show the iframe
|
| 45 |
}
|
| 46 |
|
| 47 |
+
return 'bitpay';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
}
|
| 49 |
}
|
app/code/community/Bitpay/Core/Model/Ipn.php
CHANGED
|
@@ -29,11 +29,18 @@ class Bitpay_Core_Model_Ipn extends Mage_Core_Model_Abstract
|
|
| 29 |
return false;
|
| 30 |
}
|
| 31 |
|
| 32 |
-
$
|
| 33 |
|
| 34 |
-
if (
|
| 35 |
-
|
| 36 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
return false;
|
| 38 |
}
|
| 39 |
|
|
@@ -41,7 +48,7 @@ class Bitpay_Core_Model_Ipn extends Mage_Core_Model_Abstract
|
|
| 41 |
|
| 42 |
foreach ($collection as $i)
|
| 43 |
{
|
| 44 |
-
if ($
|
| 45 |
if (in_array($i->status, $statuses)) {
|
| 46 |
return true;
|
| 47 |
}
|
| 29 |
return false;
|
| 30 |
}
|
| 31 |
|
| 32 |
+
$order = \Mage::getModel('sales/order')->load($quoteId, 'quote_id');
|
| 33 |
|
| 34 |
+
if (false === isset($order) || true === empty($order)) {
|
| 35 |
+
\Mage::helper('bitpay')->debugData('[DEBUG] Bitpay_Core_Model_Ipn::GetStatusReceived(), order not found for quoteId' . $quoteId);
|
| 36 |
+
return false;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
$orderId = $order->getIncrementId();
|
| 41 |
+
|
| 42 |
+
if (false === isset($orderId) || true === empty($orderId)) {
|
| 43 |
+
\Mage::helper('bitpay')->debugData('[DEBUG] Bitpay_Core_Model_Ipn::GetStatusReceived(), orderId not found for quoteId' . $quoteId);
|
| 44 |
return false;
|
| 45 |
}
|
| 46 |
|
| 48 |
|
| 49 |
foreach ($collection as $i)
|
| 50 |
{
|
| 51 |
+
if ($orderId == json_decode($i->pos_data, true)['orderId']) {
|
| 52 |
if (in_array($i->status, $statuses)) {
|
| 53 |
return true;
|
| 54 |
}
|
app/code/community/Bitpay/Core/Model/Method/Bitcoin.php
CHANGED
|
@@ -42,17 +42,7 @@ class Bitpay_Core_Model_Method_Bitcoin extends Mage_Payment_Model_Method_Abstrac
|
|
| 42 |
throw new \Exception('In Bitpay_Core_Model_Method_Bitcoin::authorize(): missing payment or amount parameters.');
|
| 43 |
}
|
| 44 |
|
| 45 |
-
|
| 46 |
-
$amount = $payment->getOrder()->getQuote()->getGrandTotal();
|
| 47 |
-
}
|
| 48 |
-
|
| 49 |
-
// This means that this authorize method was called from a Magento checkout controller
|
| 50 |
-
// and not the iframe.phtml template while this plugin is in non-redirected checkout mode,
|
| 51 |
-
// therefore we shouldn't create a new invoice, we should just return the model
|
| 52 |
-
if ((!Mage::getStoreConfig('payment/bitpay/fullscreen') && $iframe === false)
|
| 53 |
-
|| (Mage::getStoreConfig('payment/bitpay/fullscreen') && $iframe === true)) {
|
| 54 |
-
return $this;
|
| 55 |
-
}
|
| 56 |
|
| 57 |
$this->debugData('[INFO] Bitpay_Core_Model_Method_Bitcoin::authorize(): authorizing new order.');
|
| 58 |
|
|
@@ -82,7 +72,7 @@ class Bitpay_Core_Model_Method_Bitcoin extends Mage_Payment_Model_Method_Abstrac
|
|
| 82 |
)
|
| 83 |
);
|
| 84 |
|
| 85 |
-
$quote = Mage::getSingleton('checkout/session')->getQuote();
|
| 86 |
$order = \Mage::getModel('sales/order')->load($quote->getId(), 'quote_id');
|
| 87 |
|
| 88 |
// Save BitPay Invoice in database for reference
|
|
@@ -266,15 +256,8 @@ class Bitpay_Core_Model_Method_Bitcoin extends Mage_Payment_Model_Method_Abstrac
|
|
| 266 |
$quote = Mage::getSingleton('checkout/session')->getQuote();
|
| 267 |
$order = \Mage::getModel('sales/order')->load($quote->getId(), 'quote_id');
|
| 268 |
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
$invoice->setPosData(json_encode(array('orderId' => $order->getIncrementId())));
|
| 272 |
-
} else {
|
| 273 |
-
$invoice->setOrderId($quote->getId());
|
| 274 |
-
$invoice->setPosData(json_encode(array('quoteId' => $quote->getId())));
|
| 275 |
-
$convertQuote = Mage::getSingleton('sales/convert_quote');
|
| 276 |
-
$order = $convertQuote->toOrder($quote);
|
| 277 |
-
}
|
| 278 |
|
| 279 |
$invoice = $this->addCurrencyInfo($invoice, $order);
|
| 280 |
$invoice = $this->addPriceInfo($invoice, $amount);
|
| 42 |
throw new \Exception('In Bitpay_Core_Model_Method_Bitcoin::authorize(): missing payment or amount parameters.');
|
| 43 |
}
|
| 44 |
|
| 45 |
+
$amount = $payment->getOrder()->getQuote()->getGrandTotal();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
$this->debugData('[INFO] Bitpay_Core_Model_Method_Bitcoin::authorize(): authorizing new order.');
|
| 48 |
|
| 72 |
)
|
| 73 |
);
|
| 74 |
|
| 75 |
+
$quote = \Mage::getSingleton('checkout/session')->getQuote();
|
| 76 |
$order = \Mage::getModel('sales/order')->load($quote->getId(), 'quote_id');
|
| 77 |
|
| 78 |
// Save BitPay Invoice in database for reference
|
| 256 |
$quote = Mage::getSingleton('checkout/session')->getQuote();
|
| 257 |
$order = \Mage::getModel('sales/order')->load($quote->getId(), 'quote_id');
|
| 258 |
|
| 259 |
+
$invoice->setOrderId($order->getIncrementId());
|
| 260 |
+
$invoice->setPosData(json_encode(array('orderId' => $order->getIncrementId())));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 261 |
|
| 262 |
$invoice = $this->addCurrencyInfo($invoice, $order);
|
| 263 |
$invoice = $this->addPriceInfo($invoice, $amount);
|
app/code/community/Bitpay/Core/controllers/IndexController.php
CHANGED
|
@@ -14,16 +14,21 @@ class Bitpay_Core_IndexController extends Mage_Core_Controller_Front_Action
|
|
| 14 |
*/
|
| 15 |
public function indexAction()
|
| 16 |
{
|
| 17 |
-
$params = $this->getRequest()->getParams();
|
| 18 |
-
$quoteId = $params['quote'];
|
| 19 |
\Mage::helper('bitpay')->registerAutoloader();
|
| 20 |
\Mage::helper('bitpay')->debugData($params);
|
| 21 |
-
$paid = Mage::getModel('bitpay/ipn')->GetQuotePaid($quoteId);
|
| 22 |
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
|
|
|
|
|
|
|
| 25 |
$this->getResponse()->setHeader('Content-type', 'application/json');
|
| 26 |
|
| 27 |
-
$this->getResponse()->setBody(json_encode(array('paid' => $paid)));
|
| 28 |
}
|
| 29 |
}
|
| 14 |
*/
|
| 15 |
public function indexAction()
|
| 16 |
{
|
|
|
|
|
|
|
| 17 |
\Mage::helper('bitpay')->registerAutoloader();
|
| 18 |
\Mage::helper('bitpay')->debugData($params);
|
|
|
|
| 19 |
|
| 20 |
+
$params = $this->getRequest()->getParams();
|
| 21 |
+
$quoteId = $params['quote'];
|
| 22 |
+
|
| 23 |
+
if (!is_numeric($quoteId))
|
| 24 |
+
{
|
| 25 |
+
return $this->getResponse()->setHttpResponseCode(400);
|
| 26 |
+
}
|
| 27 |
|
| 28 |
+
$paid = \Mage::getModel('bitpay/ipn')->GetQuotePaid($quoteId);
|
| 29 |
+
$this->loadLayout();
|
| 30 |
$this->getResponse()->setHeader('Content-type', 'application/json');
|
| 31 |
|
| 32 |
+
return $this->getResponse()->setBody(json_encode(array('paid' => $paid)));
|
| 33 |
}
|
| 34 |
}
|
app/design/frontend/base/default/template/bitpay/iframe.phtml
CHANGED
|
@@ -18,7 +18,7 @@ switch($url) {
|
|
| 18 |
echo 'Error creating invoice. Please try again or try another payment solution.';
|
| 19 |
break;
|
| 20 |
default:
|
| 21 |
-
echo '<
|
| 22 |
break;
|
| 23 |
}
|
| 24 |
$quoteId = $this->getQuote()->getId();
|
|
@@ -31,7 +31,7 @@ if ($request->getScheme() == 'https') {
|
|
| 31 |
?>
|
| 32 |
<script type="text/javascript">
|
| 33 |
//<![CDATA[
|
| 34 |
-
if ($$('
|
| 35 |
var bpListener = {
|
| 36 |
nextStep: function(transport) {
|
| 37 |
if (transport && transport.responseText) {
|
|
@@ -42,17 +42,21 @@ if ($$('iframe.bitpay_invoice_iframe').length > 0) {
|
|
| 42 |
response = {};
|
| 43 |
}
|
| 44 |
if (response.success) {
|
| 45 |
-
$$('iframe.bitpay_invoice_iframe')[0].setStyle({display:'block'});
|
| 46 |
$$('button.btn-checkout')[0].setStyle({display:'none'});
|
|
|
|
|
|
|
|
|
|
| 47 |
var ipnPoller = new PeriodicalExecuter(function() {
|
| 48 |
new Ajax.Request("<?php echo $url . '?quote=' . $quoteId; ?>",
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
var data = request.responseText.evalJSON();
|
| 54 |
if (data.paid) {
|
| 55 |
ipnPoller.stop();
|
|
|
|
|
|
|
| 56 |
review.nextStep(transport);
|
| 57 |
}
|
| 58 |
}
|
| 18 |
echo 'Error creating invoice. Please try again or try another payment solution.';
|
| 19 |
break;
|
| 20 |
default:
|
| 21 |
+
echo '<div class="bitpay_invoice_div" style="display:none; width:100%;"></div>';
|
| 22 |
break;
|
| 23 |
}
|
| 24 |
$quoteId = $this->getQuote()->getId();
|
| 31 |
?>
|
| 32 |
<script type="text/javascript">
|
| 33 |
//<![CDATA[
|
| 34 |
+
if ($$('div.bitpay_invoice_div').length > 0) {
|
| 35 |
var bpListener = {
|
| 36 |
nextStep: function(transport) {
|
| 37 |
if (transport && transport.responseText) {
|
| 42 |
response = {};
|
| 43 |
}
|
| 44 |
if (response.success) {
|
|
|
|
| 45 |
$$('button.btn-checkout')[0].setStyle({display:'none'});
|
| 46 |
+
var invoice_div = $$('div.bitpay_invoice_div')[0];
|
| 47 |
+
invoice_div.setStyle({display:'block'});
|
| 48 |
+
invoice_div.innerHTML = '<iframe class="bitpay_invoice_iframe" src="' + response.redirect + '" style="width:500px; height:150px; overflow:hidden; border:none; display:block; margin:auto; scrolling="no" allowtransparency="true" frameborder="0"></iframe>';
|
| 49 |
var ipnPoller = new PeriodicalExecuter(function() {
|
| 50 |
new Ajax.Request("<?php echo $url . '?quote=' . $quoteId; ?>",
|
| 51 |
+
{
|
| 52 |
+
asynchronous: true,
|
| 53 |
+
evalScripts: true,
|
| 54 |
+
onComplete: function(request) {
|
| 55 |
var data = request.responseText.evalJSON();
|
| 56 |
if (data.paid) {
|
| 57 |
ipnPoller.stop();
|
| 58 |
+
response.redirect = null;
|
| 59 |
+
transport.responseText = JSON.stringify(response);
|
| 60 |
review.nextStep(transport);
|
| 61 |
}
|
| 62 |
}
|
package.xml
CHANGED
|
@@ -1,2 +1,2 @@
|
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
-
<package><name>Bitpay_Core</name><version>2.1.12</version><stability>stable</stability><license uri="https://github.com/bitpay/magento-plugin/blob/master/LICENSE">MIT</license><channel>community</channel><extends/><summary/><description/><notes/><authors><author><name>Integrations Team</name><user>BitPayInc</user><email>support@bitpay.com</email></author></authors><date>2016-07-18</date><time>14:36:24</time><compatible/><dependencies/><required php_min="5.4.0" php_max="6.0.0">php</required><extensions><name>openssl<min/><max/></name><name>mcrypt<min/><max/></name></extensions><contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="Bitpay"><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Extension.php" hash="ce9dd3c24d090a4f3ecd10f0488eb635"/><file name="Header.php" hash="a1a0f427bfacfda6375acd345696262a"/></dir></dir></dir></dir></dir><dir name="Form"><file name="Bitpay.php" hash="c071d4a4f56b2c5cebaad25d21ad0645"/></dir><file name="Iframe.php" hash="087c226666e2c6fabf3e42480ffbe289"/><file name="Info.php" hash="3c8ca079710e5b8e5d176a0c15383400"/></dir><dir name="controllers"><file name="IndexController.php" hash="b2f62d8686b98beac7299e11832f2287"/><file name="IpnController.php" hash="499fc1fcda67bc780d789945597dc531"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a3d6e1c3fb81e271a85260aba4f9f797"/><file name="config.xml" hash="0731eeba13432b98bc0c2f75fe7a7957"/><file name="system.xml" hash="d6107d5818f8cd245d6da8f6e6973faf"/></dir><dir name="Helper"><file name="Data.php" hash="e4dda830cceb73d9b9b49316a4d45d80"/></dir><file name="LICENSE" hash="c443b0598a4770735bb68838f7d563a3"/><dir name="Model"><dir name="Config"><file name="PairingCode.php" hash="2a5e0ad5ff0713505e0369650e3666b6"/></dir><file name="Invoice.php" hash="35b78f521dff67381d54af0800165c81"/><file name="Ipn.php" hash="647172b744dfbd0ec596a9c67ab6a8aa"/><dir name="Method"><file name="Bitcoin.php" hash="f14797f805f9c6e0ea36d72b37a266f8"/></dir><dir name="Mysql4"><dir name="Invoice"><file name="Collection.php" hash="22be8a79edc2e1cd5b61f1800c4cfe53"/></dir><file name="Invoice.php" hash="9bbf44a18a28e74528bc68eee4c43832"/><dir name="Ipn"><file name="Collection.php" hash="8c9b4087793d674b47d08d62812cf9f5"/></dir><file name="Ipn.php" hash="428c133bd044253229ac7876aa08acbf"/></dir><file name="Network.php" hash="a02a268fac47fe19fed93828f28285e2"/><file name="Observer.php" hash="c0e6a80ae7cd484ac0221c5621533100"/><dir name="Resource"><dir name="Ipn"><file name="Collection.php" hash="31d5b23b9060609fbd9cfcd3482b7567"/></dir><dir name="Mysql4"><file name="Setup.php" hash="285ede9c3abd026784b1b20fff3a1913"/></dir></dir><file name="Status.php" hash="deba733eeb8127395e9f23677627e8c4"/><file name="TransactionSpeed.php" hash="444a8dfce8bdde09efa8daeafcef6cf9"/></dir><file name="README.md" hash="342b7e5c204f2514bb7f32c504108eaa"/><dir name="sql"><dir name="bitpay_setup"><file name="install-2.1.4.php" hash="fb4684735bcb535cd05cca29af169274"/><file name="upgrade-2.1.2-2.1.4.php" hash="e3a67cc75ffe28e032da1324ca5aecf2"/></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bitpay.xml" hash="c7e3886904c20f44b58409968c4209f0"/></dir><dir name="template"><dir name="bitpay"><dir name="info"><file name="default.phtml" hash="7e31f22f964ccbbbdcd71504c60e0393"/></dir><dir name="system"><dir name="config"><dir name="field"><file name="header.phtml" hash="971ec034699d110f7842a2c8befb4c55"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="bitpay.xml" hash="d5a28c0d1c057f5e8fc5a25fb69add6c"/></dir><dir name="template"><dir name="bitpay"><dir name="form"><file name="bitpay.phtml" hash="e59191df21481af2db3254da0a518278"/></dir><file name="iframe.phtml" hash="1062769e02419d6dc18c954553f946e2"/><dir name="info"><file name="default.phtml" hash="a3bd6e183052b9d9181aaf96accfa42e"/></dir><file name="json.phtml" hash="cc43e25d0445d5ba15b448ba946dabfd"/></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Bitpay_Core.xml" hash="122aa83102518a01122aaddcafa8ea7f"/></dir></dir><dir name="locale"><dir name="en_US"><file name="Bitpay_Core.csv" hash="1f6198bdeee3f77f87c36b4e09b45be2"/></dir></dir></dir><dir name="lib"><dir name="Bitpay"><file name="AccessToken.php" hash="53208c069417fe70c0553ee0053a2fd9"/><file name="AccessTokenInterface.php" hash="05a21e15cb40068c9dccd707b6add3f1"/><file name="Application.php" hash="67d05a61a3e0535c32949c73425921cb"/><file name="ApplicationInterface.php" hash="8721d3fe85f80dbf71ead7df93eb3f82"/><file name="Autoloader.php" hash="ae31a6ee3b445751264cff7f2eb15609"/><file name="Bill.php" hash="d41fc149de27e026546cda7db6c060cb"/><file name="BillInterface.php" hash="4d4f7c1e6b8ea9421a5e6651c7bd0654"/><file name="Bitpay.php" hash="50120aeed758c3acb3bebfc4b202f168"/><file name="Buyer.php" hash="aa43ea51f57b00568e3827d1e7ba2025"/><file name="BuyerInterface.php" hash="749f9fc623ff65e5bce296a5b4dfdbbc"/><dir name="Client"><dir name="Adapter"><file name="AdapterInterface.php" hash="b85307a1bd110c08141a7eb29b305973"/><file name="ca-bundle.crt" hash="9025ca14554240fc05c4e919ae3f8923"/><file name="CurlAdapter.php" hash="267beddc7821db66f81a113c4d806a20"/></dir><file name="ArgumentException.php" hash="3dc6e11dfc71116cad8e843255a09d2b"/><file name="BitpayException.php" hash="f8de7190213f0fab975e44f29ffa17f1"/><file name="Client.php" hash="e488b4ce173990284a479bbeebe8cc0d"/><file name="ClientInterface.php" hash="365b7a595eb15705bd4bd88273d10293"/><file name="ConnectionException.php" hash="f5cd06c10cca143d3e7a4f6c24e2727b"/><file name="Request.php" hash="fbdd615774ab606df4062b3874c03496"/><file name="RequestInterface.php" hash="1a77530dddf63f24a78ce488c401f499"/><file name="Response.php" hash="195796fb21d235e1348caca2a990910d"/><file name="ResponseInterface.php" hash="1d53f3b84efc12e370c72ac7be0e8211"/></dir><dir name="Config"><file name="Configuration.php" hash="7cb0441f0dce52bab9f30f0cc3dee2fa"/></dir><dir name="Crypto"><file name="CryptoInterface.php" hash="13ac34aa5f26fe5640c037511c7789f4"/><file name="HashExtension.php" hash="62f5d49ddafbc7e7ca19aaaea76830ba"/><file name="McryptExtension.php" hash="160e7e94e6ec50b255742bb5366dea29"/><file name="OpenSSLExtension.php" hash="e8393638871fc2605dbd6ec58e7a7564"/></dir><file name="Currency.php" hash="032871dc2c1fa880f9583f50148563fb"/><file name="CurrencyInterface.php" hash="561ff6c529ab29813e751999e70fb166"/><dir name="DependencyInjection"><file name="BitpayExtension.php" hash="fc361f93a85be0b066dd1a60bb5d4a15"/><dir name="Loader"><file name="ArrayLoader.php" hash="5176febbc2ff9bf1646f623dccd54cd7"/></dir><file name="services.xml" hash="cda4e79bf0e6f6821e5b4c2e16c240cb"/></dir><file name="Invoice.php" hash="f93959d593e54c30f01ccae85f521168"/><file name="InvoiceInterface.php" hash="1e280dbf85d96ad462b47c087fbe6d9f"/><file name="Item.php" hash="a4fc84d7309cf44de812612ca2fa6c90"/><file name="ItemInterface.php" hash="94e9fc64fafde84425cb30f73b96dc48"/><file name="Key.php" hash="0c6bdce34e7b3a650914393c9da5c99d"/><file name="KeyInterface.php" hash="30253c1e42ee7b452bbb0a7451c88685"/><file name="KeyManager.php" hash="ad48cd3f5ddba0c47606659a32e85e7b"/><dir name="Math"><file name="BcEngine.php" hash="281c473a2cdbb73457c3f2c5ade514ae"/><file name="EngineInterface.php" hash="a0de5260325608e0911d4128fe3e52c2"/><file name="GmpEngine.php" hash="3136a8196599b00f097c15c0aa3a4c49"/><file name="Math.php" hash="98fb61ecc9379c625c9b970df7e0ac54"/></dir><dir name="Network"><file name="Customnet.php" hash="d2af606a4a63babf0a08d0e8abac72f5"/><file name="Livenet.php" hash="7107f34a87978e78588482e5b1f868d4"/><file name="NetworkAware.php" hash="d92aad1b38105078cd5055b295014a11"/><file name="NetworkAwareInterface.php" hash="1d1f87d25469a8ce2d0f1f2eaaf03ef1"/><file name="NetworkInterface.php" hash="998b026f803b4d99daec03b876d2d132"/><file name="Testnet.php" hash="98b315759b32549c558e143e50a365ad"/></dir><file name="Payout.php" hash="be6c641b0bfa64f809ea85fcab6da954"/><file name="PayoutInstruction.php" hash="ef96db181023671aecac43950b709001"/><file name="PayoutInstructionInterface.php" hash="5d6c51b0b6a980d84bfad21ecaecf92c"/><file name="PayoutInterface.php" hash="b9e264009a1738b8204572dafca97745"/><file name="PayoutTransaction.php" hash="80ed69aae8134c32caddbfd8e17a85e3"/><file name="PayoutTransactionInterface.php" hash="43a42bf47814d44b431328b5e70731a4"/><file name="Point.php" hash="605d50d4b9890f2e1a3120fb5b0c50d2"/><file name="PointInterface.php" hash="2a8fce4bbc8e84e221563c27ce7b57ce"/><file name="PrivateKey.php" hash="d3e6ec3b5c91eb9627509365b26fb744"/><file name="PublicKey.php" hash="dca40e9a5e8679f21d143d205cd2c389"/><file name="SinKey.php" hash="f126c1344247e87aa5c108d57f0ca354"/><dir name="Storage"><file name="EncryptedFilesystemStorage.php" hash="e42a3c81bd19393ae78c10fed77dfb75"/><file name="FilesystemStorage.php" hash="673528691f5b999fc5481ff112140dfe"/><file name="MagentoStorage.php" hash="d3b1610facee9d09858f288bb30956a2"/><file name="MockStorage.php" hash="2570dbf74083bb8a7117595a6c4aefb4"/><file name="StorageInterface.php" hash="bb136e52d599fdb59739f32d027a1602"/></dir><file name="Token.php" hash="1fa586a9e05b86f5f1f8ef288c32f2c9"/><file name="TokenInterface.php" hash="b4d63534c0f88f13dc251ea981d8113f"/><file name="User.php" hash="061f9f4dcff8d3090cb358ae1b87e259"/><file name="UserInterface.php" hash="7714dd84ab21eac77736a80d9e19f7c0"/><dir name="Util"><file name="Base58.php" hash="544526f4f89848bfb61f7bfcae348af6"/><file name="CurveParameterInterface.php" hash="72ca86056b4abfebbcfec87037478db7"/><file name="Error.php" hash="d4e4ba021b73f94467793043db14cc93"/><file name="Fingerprint.php" hash="0dde9668583a04391a2faf99d4b72914"/><file name="Secp256k1.php" hash="84d9a363e0f185200664c712832b8759"/><file name="SecureRandom.php" hash="9e699a6e383cb439a604f6e6e1837833"/><file name="Util.php" hash="5b9a5032ee1385587d12d5df958e5d05"/></dir></dir></dir></target></contents></package>
|
| 1 |
<?xml version="1.0"?>
|
| 2 |
+
<package><name>Bitpay_Core</name><version>2.1.13</version><stability>stable</stability><license uri="https://github.com/bitpay/magento-plugin/blob/master/LICENSE">MIT</license><channel>community</channel><extends/><summary/><description/><notes/><authors><author><name>Integrations Team</name><user>BitPayInc</user><email>support@bitpay.com</email></author></authors><date>2016-09-07</date><time>17:57:50</time><compatible/><dependencies/><required php_min="5.4.0" php_max="6.0.0">php</required><extensions><name>openssl<min/><max/></name><name>mcrypt<min/><max/></name></extensions><contents><target name="mage"><dir name="app"><dir name="code"><dir name="community"><dir name="Bitpay"><dir name="Core"><dir name="Block"><dir name="Adminhtml"><dir name="System"><dir name="Config"><dir name="Form"><dir name="Field"><file name="Extension.php" hash="ce9dd3c24d090a4f3ecd10f0488eb635"/><file name="Header.php" hash="a1a0f427bfacfda6375acd345696262a"/></dir></dir></dir></dir></dir><dir name="Form"><file name="Bitpay.php" hash="c071d4a4f56b2c5cebaad25d21ad0645"/></dir><file name="Iframe.php" hash="2668ad71cb05f17a1fb357bd7df16f86"/><file name="Info.php" hash="3c8ca079710e5b8e5d176a0c15383400"/></dir><dir name="controllers"><file name="IndexController.php" hash="1f3342124d4a0fa1c520541b9bbc57a0"/><file name="IpnController.php" hash="499fc1fcda67bc780d789945597dc531"/></dir><dir name="etc"><file name="adminhtml.xml" hash="a3d6e1c3fb81e271a85260aba4f9f797"/><file name="config.xml" hash="0731eeba13432b98bc0c2f75fe7a7957"/><file name="system.xml" hash="d6107d5818f8cd245d6da8f6e6973faf"/></dir><dir name="Helper"><file name="Data.php" hash="e4dda830cceb73d9b9b49316a4d45d80"/></dir><file name="LICENSE" hash="c443b0598a4770735bb68838f7d563a3"/><dir name="Model"><dir name="Config"><file name="PairingCode.php" hash="2a5e0ad5ff0713505e0369650e3666b6"/></dir><file name="Invoice.php" hash="35b78f521dff67381d54af0800165c81"/><file name="Ipn.php" hash="4e588573317742f8f157629dcf4981b4"/><dir name="Method"><file name="Bitcoin.php" hash="764702dd0e798fc10007e7df0d89c442"/></dir><dir name="Mysql4"><dir name="Invoice"><file name="Collection.php" hash="22be8a79edc2e1cd5b61f1800c4cfe53"/></dir><file name="Invoice.php" hash="9bbf44a18a28e74528bc68eee4c43832"/><dir name="Ipn"><file name="Collection.php" hash="8c9b4087793d674b47d08d62812cf9f5"/></dir><file name="Ipn.php" hash="428c133bd044253229ac7876aa08acbf"/></dir><file name="Network.php" hash="a02a268fac47fe19fed93828f28285e2"/><file name="Observer.php" hash="c0e6a80ae7cd484ac0221c5621533100"/><dir name="Resource"><dir name="Ipn"><file name="Collection.php" hash="31d5b23b9060609fbd9cfcd3482b7567"/></dir><dir name="Mysql4"><file name="Setup.php" hash="285ede9c3abd026784b1b20fff3a1913"/></dir></dir><file name="Status.php" hash="deba733eeb8127395e9f23677627e8c4"/><file name="TransactionSpeed.php" hash="444a8dfce8bdde09efa8daeafcef6cf9"/></dir><file name="README.md" hash="342b7e5c204f2514bb7f32c504108eaa"/><dir name="sql"><dir name="bitpay_setup"><file name="install-2.1.4.php" hash="fb4684735bcb535cd05cca29af169274"/><file name="upgrade-2.1.2-2.1.4.php" hash="e3a67cc75ffe28e032da1324ca5aecf2"/></dir></dir></dir></dir></dir></dir><dir name="design"><dir name="adminhtml"><dir name="default"><dir name="default"><dir name="layout"><file name="bitpay.xml" hash="c7e3886904c20f44b58409968c4209f0"/></dir><dir name="template"><dir name="bitpay"><dir name="info"><file name="default.phtml" hash="7e31f22f964ccbbbdcd71504c60e0393"/></dir><dir name="system"><dir name="config"><dir name="field"><file name="header.phtml" hash="971ec034699d110f7842a2c8befb4c55"/></dir></dir></dir></dir></dir></dir></dir></dir><dir name="frontend"><dir name="base"><dir name="default"><dir name="layout"><file name="bitpay.xml" hash="d5a28c0d1c057f5e8fc5a25fb69add6c"/></dir><dir name="template"><dir name="bitpay"><dir name="form"><file name="bitpay.phtml" hash="e59191df21481af2db3254da0a518278"/></dir><file name="iframe.phtml" hash="aa90fa2a429e96c97ae074f5406beff6"/><dir name="info"><file name="default.phtml" hash="a3bd6e183052b9d9181aaf96accfa42e"/></dir><file name="json.phtml" hash="cc43e25d0445d5ba15b448ba946dabfd"/></dir></dir></dir></dir></dir></dir><dir name="etc"><dir name="modules"><file name="Bitpay_Core.xml" hash="122aa83102518a01122aaddcafa8ea7f"/></dir></dir><dir name="locale"><dir name="en_US"><file name="Bitpay_Core.csv" hash="1f6198bdeee3f77f87c36b4e09b45be2"/></dir></dir></dir><dir name="lib"><dir name="Bitpay"><file name="AccessToken.php" hash="53208c069417fe70c0553ee0053a2fd9"/><file name="AccessTokenInterface.php" hash="05a21e15cb40068c9dccd707b6add3f1"/><file name="Application.php" hash="67d05a61a3e0535c32949c73425921cb"/><file name="ApplicationInterface.php" hash="8721d3fe85f80dbf71ead7df93eb3f82"/><file name="Autoloader.php" hash="ae31a6ee3b445751264cff7f2eb15609"/><file name="Bill.php" hash="d41fc149de27e026546cda7db6c060cb"/><file name="BillInterface.php" hash="4d4f7c1e6b8ea9421a5e6651c7bd0654"/><file name="Bitpay.php" hash="50120aeed758c3acb3bebfc4b202f168"/><file name="Buyer.php" hash="aa43ea51f57b00568e3827d1e7ba2025"/><file name="BuyerInterface.php" hash="749f9fc623ff65e5bce296a5b4dfdbbc"/><dir name="Client"><dir name="Adapter"><file name="AdapterInterface.php" hash="b85307a1bd110c08141a7eb29b305973"/><file name="ca-bundle.crt" hash="9025ca14554240fc05c4e919ae3f8923"/><file name="CurlAdapter.php" hash="267beddc7821db66f81a113c4d806a20"/></dir><file name="ArgumentException.php" hash="3dc6e11dfc71116cad8e843255a09d2b"/><file name="BitpayException.php" hash="f8de7190213f0fab975e44f29ffa17f1"/><file name="Client.php" hash="e488b4ce173990284a479bbeebe8cc0d"/><file name="ClientInterface.php" hash="365b7a595eb15705bd4bd88273d10293"/><file name="ConnectionException.php" hash="f5cd06c10cca143d3e7a4f6c24e2727b"/><file name="Request.php" hash="fbdd615774ab606df4062b3874c03496"/><file name="RequestInterface.php" hash="1a77530dddf63f24a78ce488c401f499"/><file name="Response.php" hash="195796fb21d235e1348caca2a990910d"/><file name="ResponseInterface.php" hash="1d53f3b84efc12e370c72ac7be0e8211"/></dir><dir name="Config"><file name="Configuration.php" hash="7cb0441f0dce52bab9f30f0cc3dee2fa"/></dir><dir name="Crypto"><file name="CryptoInterface.php" hash="13ac34aa5f26fe5640c037511c7789f4"/><file name="HashExtension.php" hash="62f5d49ddafbc7e7ca19aaaea76830ba"/><file name="McryptExtension.php" hash="160e7e94e6ec50b255742bb5366dea29"/><file name="OpenSSLExtension.php" hash="e8393638871fc2605dbd6ec58e7a7564"/></dir><file name="Currency.php" hash="032871dc2c1fa880f9583f50148563fb"/><file name="CurrencyInterface.php" hash="561ff6c529ab29813e751999e70fb166"/><dir name="DependencyInjection"><file name="BitpayExtension.php" hash="fc361f93a85be0b066dd1a60bb5d4a15"/><dir name="Loader"><file name="ArrayLoader.php" hash="5176febbc2ff9bf1646f623dccd54cd7"/></dir><file name="services.xml" hash="cda4e79bf0e6f6821e5b4c2e16c240cb"/></dir><file name="Invoice.php" hash="f93959d593e54c30f01ccae85f521168"/><file name="InvoiceInterface.php" hash="1e280dbf85d96ad462b47c087fbe6d9f"/><file name="Item.php" hash="a4fc84d7309cf44de812612ca2fa6c90"/><file name="ItemInterface.php" hash="94e9fc64fafde84425cb30f73b96dc48"/><file name="Key.php" hash="0c6bdce34e7b3a650914393c9da5c99d"/><file name="KeyInterface.php" hash="30253c1e42ee7b452bbb0a7451c88685"/><file name="KeyManager.php" hash="ad48cd3f5ddba0c47606659a32e85e7b"/><dir name="Math"><file name="BcEngine.php" hash="281c473a2cdbb73457c3f2c5ade514ae"/><file name="EngineInterface.php" hash="a0de5260325608e0911d4128fe3e52c2"/><file name="GmpEngine.php" hash="3136a8196599b00f097c15c0aa3a4c49"/><file name="Math.php" hash="98fb61ecc9379c625c9b970df7e0ac54"/></dir><dir name="Network"><file name="Customnet.php" hash="d2af606a4a63babf0a08d0e8abac72f5"/><file name="Livenet.php" hash="7107f34a87978e78588482e5b1f868d4"/><file name="NetworkAware.php" hash="d92aad1b38105078cd5055b295014a11"/><file name="NetworkAwareInterface.php" hash="1d1f87d25469a8ce2d0f1f2eaaf03ef1"/><file name="NetworkInterface.php" hash="998b026f803b4d99daec03b876d2d132"/><file name="Testnet.php" hash="98b315759b32549c558e143e50a365ad"/></dir><file name="Payout.php" hash="be6c641b0bfa64f809ea85fcab6da954"/><file name="PayoutInstruction.php" hash="ef96db181023671aecac43950b709001"/><file name="PayoutInstructionInterface.php" hash="5d6c51b0b6a980d84bfad21ecaecf92c"/><file name="PayoutInterface.php" hash="b9e264009a1738b8204572dafca97745"/><file name="PayoutTransaction.php" hash="80ed69aae8134c32caddbfd8e17a85e3"/><file name="PayoutTransactionInterface.php" hash="43a42bf47814d44b431328b5e70731a4"/><file name="Point.php" hash="605d50d4b9890f2e1a3120fb5b0c50d2"/><file name="PointInterface.php" hash="2a8fce4bbc8e84e221563c27ce7b57ce"/><file name="PrivateKey.php" hash="d3e6ec3b5c91eb9627509365b26fb744"/><file name="PublicKey.php" hash="dca40e9a5e8679f21d143d205cd2c389"/><file name="SinKey.php" hash="f126c1344247e87aa5c108d57f0ca354"/><dir name="Storage"><file name="EncryptedFilesystemStorage.php" hash="e42a3c81bd19393ae78c10fed77dfb75"/><file name="FilesystemStorage.php" hash="673528691f5b999fc5481ff112140dfe"/><file name="MagentoStorage.php" hash="d3b1610facee9d09858f288bb30956a2"/><file name="MockStorage.php" hash="2570dbf74083bb8a7117595a6c4aefb4"/><file name="StorageInterface.php" hash="bb136e52d599fdb59739f32d027a1602"/></dir><file name="Token.php" hash="1fa586a9e05b86f5f1f8ef288c32f2c9"/><file name="TokenInterface.php" hash="b4d63534c0f88f13dc251ea981d8113f"/><file name="User.php" hash="061f9f4dcff8d3090cb358ae1b87e259"/><file name="UserInterface.php" hash="7714dd84ab21eac77736a80d9e19f7c0"/><dir name="Util"><file name="Base58.php" hash="544526f4f89848bfb61f7bfcae348af6"/><file name="CurveParameterInterface.php" hash="72ca86056b4abfebbcfec87037478db7"/><file name="Error.php" hash="d4e4ba021b73f94467793043db14cc93"/><file name="Fingerprint.php" hash="0dde9668583a04391a2faf99d4b72914"/><file name="Secp256k1.php" hash="84d9a363e0f185200664c712832b8759"/><file name="SecureRandom.php" hash="9e699a6e383cb439a604f6e6e1837833"/><file name="Util.php" hash="5b9a5032ee1385587d12d5df958e5d05"/></dir></dir></dir></target></contents></package>
|
