From 197bf2bebd7ba035308e939cb7e9f4a100ae159f Mon Sep 17 00:00:00 2001
From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com>
Date: Mon, 3 Jun 2024 15:07:20 +0200
Subject: [PATCH 1/4] Update meta-box-subscription-info.php
---
views/meta-box-subscription-info.php | 215 ++++++++++++++++++++++-----
1 file changed, 177 insertions(+), 38 deletions(-)
diff --git a/views/meta-box-subscription-info.php b/views/meta-box-subscription-info.php
index 32340cd7..8cf0a465 100644
--- a/views/meta-box-subscription-info.php
+++ b/views/meta-box-subscription-info.php
@@ -260,57 +260,196 @@
-
-
- |
-
+ |
+
+
+
+
get_cancel_url();
+ /**
+ * Clipboard feature.
+ *
+ * @link https://github.com/WordPress/WordPress/blob/68e3310c024d7fceb84a5028e955ad163de6bd45/wp-includes/js/plupload/handlers.js#L364-L393
+ * @link https://translate.wordpress.org/projects/wp/dev/nl/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=10763746&filters%5Btranslation_id%5D=91929960
+ * @link https://translate.wordpress.org/projects/wp/dev/nl/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=6831324&filters%5Btranslation_id%5D=58732256
+ */
- printf(
- '%s',
- esc_attr( $url ),
- esc_html( $url )
- );
+ wp_enqueue_script( 'clipboard' );
?>
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+ This link can be shared with the customer and gives the customer the option to cancel this subscription.
+
+
|
-
-
- |
- get_renewal_url();
-
- printf(
- '%s',
- esc_attr( $url ),
- esc_html( $url )
- );
-
- ?>
+
+
+
+
+
+
+
+
+ This link can be shared with the customer and gives the customer the option to (early) renew the subscription.
+
+
|
-
-
- |
- get_mandate_selection_url();
-
- printf(
- '%s',
- esc_attr( $url ),
- esc_html( $url )
- );
-
- ?>
+
+
+
+
+
+
+
+
+ This link can be shared with the customer and gives the customer the opportunity to change the payment method.
+ This is useful if a credit card expires or if a customer wants to have the charge debited from another account.
+
+
|
From ca1f78151a4342267a80d8e5ed486417c6c47917 Mon Sep 17 00:00:00 2001
From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com>
Date: Mon, 3 Jun 2024 19:55:01 +0200
Subject: [PATCH 2/4] Update meta-box-subscription-info.php
---
views/meta-box-subscription-info.php | 125 +++++++++++++--------------
1 file changed, 59 insertions(+), 66 deletions(-)
diff --git a/views/meta-box-subscription-info.php b/views/meta-box-subscription-info.php
index 8cf0a465..4bb0469b 100644
--- a/views/meta-box-subscription-info.php
+++ b/views/meta-box-subscription-info.php
@@ -261,7 +261,7 @@
-
+
@@ -280,22 +280,26 @@
?>
|