summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-16 14:17:15 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-16 14:17:15 +0200
commitbe0c493b2cd57e18ff052af5dbbf70104f6212be (patch)
tree4475e24635db205357133de0f878c8d5d3aa8363
parenta1a47c7d8e2264833da3832361dc63d9c4ee1501 (diff)
downloadwoocommerce-taler-be0c493b2cd57e18ff052af5dbbf70104f6212be.tar.gz
woocommerce-taler-be0c493b2cd57e18ff052af5dbbf70104f6212be.tar.bz2
woocommerce-taler-be0c493b2cd57e18ff052af5dbbf70104f6212be.zip
logging
-rw-r--r--plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
index d1991a7..4c35fe8 100644
--- a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
+++ b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
@@ -297,7 +297,7 @@ function gnutaler_init_gateway_class()
{
wc_add_notice (__('Payment error:', 'woothemes') . 'backend did not confirm payment');
}
- wp_redirect($this->get_return_url ($order_id));
+ wp_redirect($this->get_return_url ($wc_order));
exit;
default:
$this->error('An error occurred during the second request to the GNU Taler backend: '