diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-08-16 14:17:15 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-08-16 14:17:15 +0200 |
commit | be0c493b2cd57e18ff052af5dbbf70104f6212be (patch) | |
tree | 4475e24635db205357133de0f878c8d5d3aa8363 | |
parent | a1a47c7d8e2264833da3832361dc63d9c4ee1501 (diff) | |
download | woocommerce-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.php | 2 |
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: ' |