Skip to content

Commit fdf17be

Browse files
committed
v3.2.7
* Add new choices for order cancellation. * Minor bugfixes
1 parent 6c29e68 commit fdf17be

File tree

4 files changed

+31
-6
lines changed

4 files changed

+31
-6
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ OpenCart >= 4.0
1111

1212
### Description
1313

14-
Accept payments in Bitcoin, Bitcoin Cash, Litecoin, Ethereum, Monero and IOTA directly to your crypto wallet, without any sign-ups or lengthy processes.
14+
Accept payments in Bitcoin, Bitcoin Cash, Litecoin, Ethereum, USDT and Matic directly to your crypto wallet, without any sign-ups or lengthy processes.
1515
All you need is to provide your crypto address.
1616

1717
#### Allow users to pay with crypto directly on your store
@@ -173,5 +173,9 @@ The easiest and fastest way is via our live chat on our [website](https://crypta
173173
#### 3.2.6
174174
* Minor fixes
175175

176+
#### 3.2.7
177+
* Add new choices for order cancellation.
178+
* Minor bugfixes
179+
176180
### Upgrade Notice
177181
* No breaking changes

admin/language/en-gb/payment/cryptapi.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@
6060
$_['sixty_minutes'] = 'Every 60 Minutes';
6161

6262
$_['order_cancelation_timeout'] = 'Order cancelation timeout';
63+
$_['fifteen_minutes_cancellation'] = '15 Minutes';
64+
$_['thirty_minutes_cancellation'] = '30 Minutes';
65+
$_['forty_five_minutes_cancellation'] = '45 Minutes';
6366
$_['one_hour'] = '1 Hour';
6467
$_['six_hours'] = '6 Hours';
6568
$_['twelve_hours'] = '12 Hours';
@@ -91,4 +94,4 @@
9194
$_['info_icon'] = '<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="ms-1 bi bi-info-circle" viewBox="0 0 16 16">
9295
<path d="M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z"/>
9396
<path d="m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533L8.93 6.588zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0z"/>
94-
</svg>';
97+
</svg>';

admin/view/template/payment/cryptapi.twig

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,24 @@
448448
{% endif %}
449449
>{{ never }}
450450
</option>
451+
<option value="900"
452+
{% if payment_cryptapi_order_cancelation_timeout == '900' %}
453+
selected="selected"
454+
{% endif %}
455+
>{{ fifteen_minutes_cancellation }}
456+
</option>
457+
<option value="1800"
458+
{% if payment_cryptapi_order_cancelation_timeout == '1800' %}
459+
selected="selected"
460+
{% endif %}
461+
>{{ thirty_minutes_cancellation }}
462+
</option>
463+
<option value="2700"
464+
{% if payment_cryptapi_order_cancelation_timeout == '2700' %}
465+
selected="selected"
466+
{% endif %}
467+
>{{ forty_five_minutes_cancellation }}
468+
</option>
451469
<option value="3600"
452470
{% if payment_cryptapi_order_cancelation_timeout is empty or payment_cryptapi_order_cancelation_timeout == '3600' %}
453471
selected="selected"
@@ -461,7 +479,7 @@
461479
>{{ six_hours }}
462480
</option>
463481
<option value="43200"
464-
{% if payment_cryptapi_order_cancelation_timeout == '21600' %}
482+
{% if payment_cryptapi_order_cancelation_timeout == '43200' %}
465483
selected="selected"
466484
{% endif %}
467485
>{{ twelve_hours }}
@@ -591,4 +609,4 @@
591609
</div>
592610
</div>
593611
</div>
594-
{{ footer }}
612+
{{ footer }}

install.json

Lines changed: 2 additions & 2 deletions
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.6",
4+
"version": "3.2.7",
55
"author": "CryptAPI",
66
"link": "https://cryptapi.io"
7-
}
7+
}

0 commit comments

Comments
 (0)