Skip to content

Commit 6c29e68

Browse files
committed
v3.2.6
* Minor fixes
1 parent 867381e commit 6c29e68

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The CryptAPI extension enables your OpenCart store to get receive payments in cr
3232
* (DOGE) Dogecoin
3333

3434

35-
among many others, for a full list of the supported cryptocurrencies and tokens, check [this page](https://cryptapi.io/pricing/).
35+
among many others, for a full list of the supported cryptocurrencies and tokens, check [this page](https://cryptapi.io/cryptocurrencies/).
3636

3737
= Auto-value conversion =
3838

@@ -170,5 +170,8 @@ The easiest and fastest way is via our live chat on our [website](https://crypta
170170
#### 3.2.5
171171
* Minor fixes
172172

173+
#### 3.2.6
174+
* Minor fixes
175+
173176
### Upgrade Notice
174177
* No breaking changes

catalog/controller/payment/cryptapi.php

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

525525
$metaData = json_decode($this->model_extension_cryptapi_payment_cryptapi->getPaymentData($order['order_id']), true);
526526

527+
if ($data["coin"] !== $metaData['cryptapi_currency']) {
528+
die("*ok*");
529+
}
530+
527531
if ($this->isOrderPaid($order) || $data['nonce'] !== $metaData['cryptapi_nonce']) {
528532
die("*ok*");
529533
}

install.json

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

0 commit comments

Comments
 (0)