summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-12-14 16:46:41 +0100
committerChristian Grothoff <christian@grothoff.org>2021-12-14 16:46:46 +0100
commit9354b7dd3241214305d3cf7c0663096e5b67587e (patch)
treec288812c4bd03b7cfbc8c765263a98b1b47edf1c
parentaa5ea4f9e7a4956d40100ddca09b137e2e4b0d7c (diff)
downloadgnu-taler-payment-for-woocommerce-9354b7dd3241214305d3cf7c0663096e5b67587e.tar.gz
gnu-taler-payment-for-woocommerce-9354b7dd3241214305d3cf7c0663096e5b67587e.tar.bz2
gnu-taler-payment-for-woocommerce-9354b7dd3241214305d3cf7c0663096e5b67587e.zip
update plugin to support Taler merchant protocol v3
-rw-r--r--class-wc-gnutaler-gateway.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/class-wc-gnutaler-gateway.php b/class-wc-gnutaler-gateway.php
index cf10e88..62d3e15 100644
--- a/class-wc-gnutaler-gateway.php
+++ b/class-wc-gnutaler-gateway.php
@@ -9,7 +9,7 @@
* Plugin Name: GNU Taler Payment for WooCommerce
* Plugin URI: https://git.taler.net/woocommerce-taler
* Description: This plugin enables payments via the GNU Taler payment system
- * Version: 0.8
+ * Version: 0.9
* Author: Dominique Hofmann, Jan StrĂ¼bin, Christian Grothoff
* Author URI: https://taler.net/
*
@@ -723,7 +723,7 @@ function gnutaler_init_gateway_class() {
);
if ( isset( $refund_delay ) ) {
$order_json['refund_delay'] = array(
- 'd_ms' => 1000 * 60 * 60 * 24 * intval( $refund_delay ),
+ 'd_us' => 1000 * 1000 * 60 * 60 * 24 * intval( $refund_delay ),
);
}
return $order_json;