Skip to content

Commit 455964c

Browse files
committed
fixed status not being saved
1 parent 042d7c9 commit 455964c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inc/plugins/rexshop.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function rexshop_info()
3333
"website" => "https://shop.rexdigital.group",
3434
"author" => "RexDigitalGroup",
3535
"authorsite" => "https://rexdigital.group",
36-
"version" => "1.13",
36+
"version" => "1.14",
3737
"guid" => "",
3838
"compatibility" => "18*,16*"
3939
);
@@ -1130,7 +1130,7 @@ function rexshop_store_transaction($request, $uid, $enddate, $productSku = null)
11301130
'uid' => intval($uid),
11311131
'product_sku' => rexshop_regex_escape($productSku, '/[^a-zA-Z0-9]/'),
11321132
'transaction_id' => rexshop_regex_escape($request['order']['transaction_id'], '/[^a-zA-Z0-9]/'),
1133-
'transaction_status' => rexshop_regex_escape($request['transaction_status'], '/[^a-zA-Z0-9]/'),
1133+
'transaction_status' => rexshop_regex_escape($request['status'], '/[^a-zA-Z0-9]/'),
11341134
'transaction_from' => (int) $request['order']['initiated_at'],
11351135
'country' => rexshop_regex_escape($request['customer']['country'], '/[^a-zA-Z]/'),
11361136
'enddate' => (int) $enddate,

0 commit comments

Comments
 (0)