Skip to content

Commit f48f7d8

Browse files
committed
v1.0.3
* Minor bugfixes
1 parent f85d18c commit f48f7d8

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The BlockBee plugin extends OpenCart, allowing you to get paid in crypto directl
2323
* (ETH) Ethereum
2424
* (BCH) Bitcoin Cash
2525
* (LTC) Litecoin
26-
* (XMR) Monero
26+
* (MATIC) Matic
2727
* (TRX) Tron
2828
* (BNB) Binance Coin
2929
* (USDT) USDT
@@ -131,5 +131,8 @@ The easiest and fastest way is via our live chat on our [website](https://blockb
131131
#### 1.0.2
132132
* Minor bugfixes.
133133

134+
#### 1.0.3
135+
* Minor bugfixes.
136+
134137
### Upgrade Notice
135138
* No breaking changes

catalog/controller/payment/blockbee.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,10 @@ public function callback()
527527

528528
$metaData = json_decode($this->model_extension_blockbee_payment_blockbee->getPaymentData($order['order_id']), true);
529529

530+
if ($data["coin"] !== $metaData['blockbee_currency']) {
531+
die("*ok*");
532+
}
533+
530534
if ($this->isOrderPaid($order) || $data['nonce'] !== $metaData['blockbee_nonce']) {
531535
die("*ok*");
532536
}

install.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "BlockBee Payment Module",
33
"code": "blockbee",
4-
"version": "1.0.2",
4+
"version": "1.0.3",
55
"author": "BlockBee",
66
"link": "https://blockbee.io"
77
}

0 commit comments

Comments
 (0)