summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-08-20 00:11:23 +0200
committerChristian Grothoff <christian@grothoff.org>2020-08-20 00:11:23 +0200
commit841c4d28350225558a4c8c37b8ec6f550c4288ac (patch)
tree3cb1c0e5a1cb91f9c7eaa172abeb3b16df486beb
parent6f4a48b84212ecf69e52edcd0609aced2dd39caa (diff)
downloadwoocommerce-taler-841c4d28350225558a4c8c37b8ec6f550c4288ac.tar.gz
woocommerce-taler-841c4d28350225558a4c8c37b8ec6f550c4288ac.tar.bz2
woocommerce-taler-841c4d28350225558a4c8c37b8ec6f550c4288ac.zip
test icon
-rw-r--r--plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php4
1 files changed, 3 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 8969556..79a1609 100644
--- a/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
+++ b/plugin/GNU-Taler-Payment-Gateway/class-wc-gnutaler-gateway.php
@@ -114,7 +114,9 @@ function gnutaler_init_gateway_class()
{
$this->id = 'gnutaler'; // payment gateway plugin ID
$this->logger = new WC_logger ($this->id); // setup logging
- $this->icon = ''; // FIXME: URL of the icon that will be displayed on checkout page near the gateway name
+ $this->icon = WC()->plugin_url() . '/assets/images/taler.png';
+
+''; // FIXME: URL of the icon that will be displayed on checkout page near the gateway name
$this->has_fields = false; // We cannot use custom fields to show the QR code / do the wallet integration as WC doesn't give us the order_id at that time. Bummer.
$this->method_title = 'GNU Taler Gateway';
$this->method_description = 'This plugin enables the payment via the GNU Taler payment system'; // will be displayed on the options page