Skip to content

Commit

Permalink
1.14.15
Browse files Browse the repository at this point in the history
  • Loading branch information
iverok committed Oct 16, 2023
1 parent 9fd7c62 commit 9de77c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions VippsApi.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -749,6 +749,11 @@ public function poll_checkout ($pollingurl) {

try {
$res = $this->http_call($command,$data,'GET',$headers,'json');
// This is not a 404, but the session is still expired. IOK 2023-10-16
if (($res['sessionState'] ?? "") == 'SessionExpired') {
return 'EXPIRED';
}

} catch (VippsAPIException $e) {
if ($e->responsecode == 400) {
// No information yet.
Expand Down
4 changes: 3 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ Stop zeroing out addressline_2 in checkout
Security fix in sanitizing the Buy Now button shortcode
Check format of images used for receipts
Improvements for IIS
Fixes for 8.2 and for certain implausible configurations

== Frequently Asked Questions ==

Expand Down Expand Up @@ -218,8 +219,9 @@ From version 1.1.13 you can also modify the javascript using the new WP hooks li
* 'vippsStatusCheckErrorHandler' - A filter that should return function taking a statustext and an error object. It receives the default error handler, and is called when checking the order status with ajax for some reason ends up in an error.

== Changelog ==
= 2023-10-xx version 1.14.15 =
= 2023-10-16 version 1.14.15 =
Stop zeroing out addressline 2 in checkout
Fix polling when sessions are very long-lived in woo

= 2023-10-06 version 1.14.14 =
Fix sanitizion of output in Buy-Now button code; thanks to Darius Sveikauskas for reporting
Expand Down

0 comments on commit 9de77c8

Please sign in to comment.