Skip to content

Commit 723ccb0

Browse files
authored
Merge pull request #37 from marinsagovac/34-plugin-crash-on-php-v83
1.8.5
2 parents a0dbe92 + 521089a commit 723ccb0

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ Most recent latest changes is defined on every major, minor and bug fixes.
66

77
## Versions
88

9+
### 1.8.5
10+
11+
* fix redirection of t-com payway
12+
913
### 1.8.3
1014

1115
* Cleanup a code

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017-2022 Marin Sagovac
3+
Copyright (c) 2017-2024 Marin Sagovac
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,11 @@ Removed
4343

4444
Latest version:
4545

46-
* Version [1.8.4](https://github.com/marinsagovac/woocommerce-tcom-payway/releases/tag/1.8.4) November/2024
46+
* Version [1.8.5](https://github.com/marinsagovac/woocommerce-tcom-payway/releases/tag/1.8.5) November/2024
4747

4848
API 2.x.x:
4949

50+
* Version [1.8.5](https://github.com/marinsagovac/woocommerce-tcom-payway/releases/tag/1.8.5) November/2024
5051
* Version [1.8.3](https://github.com/marinsagovac/woocommerce-tcom-payway/releases/tag/1.8.3) November/2024
5152
* Version [1.8.1](https://github.com/marinsagovac/woocommerce-tcom-payway/releases/tag/1.8.1) February/2024
5253
* Version [1.7.3](https://github.com/marinsagovac/woocommerce-tcom-payway/archive/refs/tags/1.7.3.zip) January/2023

classes/class-wc-tpayway.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,9 +423,10 @@ private function determine_language($country_code)
423423
public function process_payment($order_id)
424424
{
425425
$order = wc_get_order($order_id);
426+
426427
return array(
427428
'result' => 'success',
428-
'redirect' => $order->get_checkout_payment_url(),
429+
'redirect' => $order->get_checkout_payment_url(true),
429430
);
430431
}
431432

tcom-payway-woocommerce.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
* Plugin Name: WooCommerce PayWay Hrvatski Telekom payment gateway
44
* Plugin URI: https://github.com/marinsagovac/woocommerce-tcom-payway
55
* Description: WooCommerce PayWay Hrvatski Telekom payment gateway
6-
* Version: 1.8
6+
* Version: 1.8.5
77
* Licence: MIT
88
* License URI: https://opensource.org/licenses/MIT
99
* Author: Marin Šagovac
10-
* Developers: Marin Šagovac, Matija Kovačević, Danijel Gubić, Ivan Švaljek, Micemade
10+
* Developers: Marin Šagovac, Matija Kovačević, Danijel Gubić, Ivan Švaljek, Micemade, 9jaDevo, Danijel-kt, nine-2-five, Chidiebere Chukwudi
1111
* Text Domain: tcom-payway-wc
1212
*/
1313

0 commit comments

Comments
 (0)