File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ Features
29
29
* Locale support based on WP locale settings (EN/HR)
30
30
* Multilanguage support using po/mo translation
31
31
* Replace banner image of PayWay on checkout with smaller 250px width
32
+ * Not needle IntAmount and IntCurrency from 1.1.2024.
32
33
33
34
Removed
34
35
* Removed woo-multi-currency support and integration
@@ -41,7 +42,7 @@ Removed
41
42
42
43
Latest version:
43
44
44
- * Version [ 1.7.3 ] ( https://github.com/marinsagovac/woocommerce-tcom-payway/archive/refs/tags/1.7.3. zip ) January/2023
45
+ * Version [ 1.8 ] ( https://github.com/marinsagovac/woocommerce-tcom-payway/archive/refs/tags/1.8. zip ) January/2024
45
46
46
47
API 2.x.x:
47
48
Original file line number Diff line number Diff line change @@ -391,9 +391,6 @@ public function generate_ipg_form($order_id)
391
391
'acq_id ' => $ this ->acq_id , // secret key
392
392
'PurchaseAmt ' => $ order_format_value ,
393
393
394
- 'IntCurrency ' => 'HRK ' ,
395
- 'IntAmount ' => $ total_amount_request * $ this ->ratehrkfixed ,
396
-
397
394
// ISO 4217
398
395
'CurrencyCode ' => 978
399
396
);
@@ -484,8 +481,15 @@ function check_tcompayway_response()
484
481
global $ woocommerce ;
485
482
486
483
// Return if is error during installation
484
+ // Back to homepage
487
485
if (!isset ($ _POST ['ShoppingCartID ' ])) {
488
- return ;
486
+ $ text = '<html><meta charset="utf-8"><body><center> ' ;
487
+ $ text .= __ ('Redirecting... ' , 'tcom-payway-wc ' );
488
+ $ text .= '</center><script>setTimeout(function(){ window.location.replace(" ' . home_url () . '"); },1500);</script></body></html> ' ;
489
+
490
+ echo $ text ;
491
+
492
+ exit ;
489
493
}
490
494
491
495
if (!$ _POST ['Amount ' ]) {
Original file line number Diff line number Diff line change 3
3
* Plugin Name: WooCommerce PayWay Hrvatski Telekom payment gateway
4
4
* Plugin URI: https://github.com/marinsagovac/woocommerce-tcom-payway
5
5
* Description: WooCommerce PayWay Hrvatski Telekom payment gateway
6
- * Version: 1.7.1
6
+ * Version: 1.8
7
7
* Licence: MIT
8
8
* License URI: https://opensource.org/licenses/MIT
9
9
* Author: Marin Šagovac
You can’t perform that action at this time.
0 commit comments