Skip to content

Commit 8fa57ac

Browse files
committed
v3.2.2
* Minor bugfixes and improvements.
1 parent 1eb1a2c commit 8fa57ac

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

Controller/Index/Callback.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ public function execute()
4141

4242
$metaData = json_decode($this->helper->getPaymentResponse($orderId), true);
4343

44+
if ($data['coin'] !== $metaData['cryptapi_currency']) {
45+
return $this->response->setBody("*ok*");
46+
}
47+
4448
if ($this->payment->hasBeenPaid($order) || $data['nonce'] != $metaData['cryptapi_nonce']) {
4549
return $this->response->setBody("*ok*");
4650
}

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The CryptAPI extension enables your Magento store to get receive payments in cry
2525
* (ETH) Ethereum
2626
* (BCH) Bitcoin Cash
2727
* (LTC) Litecoin
28-
* (XMR) Monero
28+
* (MATIC) Polygon
2929
* (TRX) Tron
3030
* (BNB) Binance Coin
3131
* (USDT) USDT
@@ -57,7 +57,7 @@ CryptAPI has no setup fees, no monthly fees, no hidden costs, and you don't even
5757
Simply set your crypto addresses and you're ready to go. As soon as your customers pay we forward your earnings directly to your own wallet.
5858

5959
CryptAPI has a low 1% fee on the transactions processed. No hidden costs.
60-
For more info on our fees [click here](https://cryptapi.io/get_started/#fees)
60+
For more info on our fees [click here](https://cryptapi.io/fees/)
6161

6262
### Installation
6363

@@ -98,17 +98,17 @@ This depends on the cryptocurrency you're using. Bitcoin usually takes up to 11
9898

9999
#### Is there a minimum for a payment?
100100

101-
Yes, the minimums change according to the chosen cryptocurrency and can be checked [here](https://cryptapi.io/get_started/#fees).
101+
Yes, the minimums change according to the chosen cryptocurrency and can be checked [here](https://cryptapi.io/cryptocurrencies/).
102102
If the Magento order total is below the chosen cryptocurrency's minimum, an error is raised to the user.
103103

104104
#### Where can I find more documentation on your service?
105105

106-
You can find more documentation about our service on our [get started](https://cryptapi.io/get_started) page, our [technical documentation](https://cryptapi.io/docs/) page or our [resources](https://cryptapi.io/resources/) page.
106+
You can find more documentation about our service on our [get started](https://cryptapi.io/get-started) page, our [technical documentation](https://cryptapi.io/docs/) page or our [resources](https://cryptapi.io/resources/) page.
107107
If there's anything else you need that is not covered on those pages, please get in touch with us, we're here to help you!
108108

109109
#### Where can I get support?
110110

111-
The easiest and fastest way is via our live chat on our [website](https://cryptapi.io) or via our [contact form](https://cryptapi.io/contact/).
111+
The easiest and fastest way is via our live chat on our [website](https://cryptapi.io) or via our [contact form](https://cryptapi.io/contacts/).
112112

113113
### Changelog
114114

@@ -157,5 +157,8 @@ The easiest and fastest way is via our live chat on our [website](https://crypta
157157
#### 3.2.1
158158
* Minor bugfixes and improvements.
159159

160+
#### 3.2.2
161+
* Minor bugfixes and improvements.
162+
160163
### Upgrade Notice
161164
* No breaking changes.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "cryptapi/cryptapi",
33
"description": "CryptAPI's Magento extension",
44
"type": "magento2-module",
5-
"version": "3.2.1",
5+
"version": "3.2.2",
66
"keywords": [
77
"cryptapi",
88
"magento2_module",

0 commit comments

Comments
 (0)