summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-20 11:47:54 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-20 11:47:54 +0200
commit375c97014c7bb202a81f93c547c6da4ca8812c83 (patch)
tree22c3f37f349e1fd6e4fe609d41292b4dd724caed
parent9d74860a7af15c7be9f997b2454d4d283d002f5d (diff)
downloadwoocommerce-taler-375c97014c7bb202a81f93c547c6da4ca8812c83.tar.gz
woocommerce-taler-375c97014c7bb202a81f93c547c6da4ca8812c83.tar.bz2
woocommerce-taler-375c97014c7bb202a81f93c547c6da4ca8812c83.zip
logo
-rw-r--r--plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php6
1 files changed, 1 insertions, 5 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 4eb61ab..3353af8 100644
--- a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
+++ b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
@@ -49,10 +49,6 @@ TODO (without FIXME in code):
- refund needs to be tested
FEATURES:
-- find a better way to give the refund URI to the customer,
- i.e. by sending e-mail (if on file!) and/or displaying it
- somewhere with an 'order status page' (if WC has something
- like that), see WC()->mailer() returning WC_emails::instance()!
- add support for i18n
- consider constructing of 'summary text' from order details?
- try to get 'merchant_name' from WC configuration instead of our own settings!
@@ -187,6 +183,7 @@ function gnutaler_init_gateway_class()
);
// Load the settings.
+ echo "HERE: " . WC()->woocommerce_settings_get_option('name');
$this->init_settings();
$this->title = $this->get_option( 'title' );
$this->description = $this->get_option( 'description' );
@@ -196,7 +193,6 @@ function gnutaler_init_gateway_class()
if (substr($this->GNU_Taler_Backend_URL, -1) == '/')
$this->GNU_Taler_Backend_URL = substr ($this->GNU_Taler_Backend_URL, 0, -1);
$this->GNU_Taler_Backend_API_Key = $this->get_option( 'GNU_Taler_Backend_API_Key' );
- $this->merchant_name = $this->get_option( 'merchant_name' );
$this->Payment_url = $this->get_option( 'Payment_url' );
$this->Order_text = $this->get_option( 'Order_text' );