From ff9d7b7273b5c17449a09cd63d691eba17e2efd2 Mon Sep 17 00:00:00 2001 From: Daniel Schmitzer Date: Mon, 19 Oct 2020 13:00:52 +0000 Subject: - Feature: Erinnerungsmail bei Unvollständigen Bestellungen - Amazon V2 Commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7787 0d5edaf7-2b12-4e95-93f4-047927463d4b --- .../mod_amazon_v2/basket_inner_prebutton.phtml | 44 +++++++ .../basket_inner_prebutton_widget.phtml | 133 +++++++++++++++++++++ views/mods/mod_amazon_v2/gfx/logo_100x25.png | Bin 0 -> 810 bytes views/mods/mod_amazon_v2/order_done.phtml | 68 +++++++++++ .../mod_amazon_v2/order_view_afterpayment.phtml | 75 ++++++++++++ views/mods/mod_amazon_v2/overview_button.phtml | 47 ++++++++ views/mods/mod_amazon_v2/settings_edit.phtml | 48 ++++++++ 7 files changed, 415 insertions(+) create mode 100644 views/mods/mod_amazon_v2/basket_inner_prebutton.phtml create mode 100644 views/mods/mod_amazon_v2/basket_inner_prebutton_widget.phtml create mode 100644 views/mods/mod_amazon_v2/gfx/logo_100x25.png create mode 100644 views/mods/mod_amazon_v2/order_done.phtml create mode 100644 views/mods/mod_amazon_v2/order_view_afterpayment.phtml create mode 100644 views/mods/mod_amazon_v2/overview_button.phtml create mode 100644 views/mods/mod_amazon_v2/settings_edit.phtml (limited to 'views/mods/mod_amazon_v2') diff --git a/views/mods/mod_amazon_v2/basket_inner_prebutton.phtml b/views/mods/mod_amazon_v2/basket_inner_prebutton.phtml new file mode 100644 index 0000000..e65c569 --- /dev/null +++ b/views/mods/mod_amazon_v2/basket_inner_prebutton.phtml @@ -0,0 +1,44 @@ +view['wpsg_mod_amazon']; + + // https://amazonpaycheckoutintegrationguide.s3.amazonaws.com/amazon-pay-checkout/introduction.html + +?> + +get_option('wpsg_mod_amazon_v2_login') === '1') { ?> + + render(WPSG_PATH_VIEW.'/mods/mod_amazon_v2/basket_inner_prebutton_widget.phtml'); ?> + + + + + +
+
+
+ + + + diff --git a/views/mods/mod_amazon_v2/basket_inner_prebutton_widget.phtml b/views/mods/mod_amazon_v2/basket_inner_prebutton_widget.phtml new file mode 100644 index 0000000..85359cf --- /dev/null +++ b/views/mods/mod_amazon_v2/basket_inner_prebutton_widget.phtml @@ -0,0 +1,133 @@ + + + + +
+
+
+ +
+
+ + + + + + \ No newline at end of file diff --git a/views/mods/mod_amazon_v2/gfx/logo_100x25.png b/views/mods/mod_amazon_v2/gfx/logo_100x25.png new file mode 100644 index 0000000..bb16b5b Binary files /dev/null and b/views/mods/mod_amazon_v2/gfx/logo_100x25.png differ diff --git a/views/mods/mod_amazon_v2/order_done.phtml b/views/mods/mod_amazon_v2/order_done.phtml new file mode 100644 index 0000000..6af6f00 --- /dev/null +++ b/views/mods/mod_amazon_v2/order_done.phtml @@ -0,0 +1,68 @@ +view['wpsg_mod_amazon_v2']; + + // https://pay.amazon.de/help/JE5KSJW4SFH2UM8 + // https://developer.amazon.com/de/docs/eu/amazon-pay-onetime/sca-upgrade.html?ld=NSGoogle + // https://sellercentral.amazon.com/forums/t/what-is-the-amazonorderreferenceid/286349/2 + +?> + + + +

+ + + + + +
+ + + + + +

+ + get_option('wpsg_mod_paypal_autostart') == '1') { ?> + + + + + + + <?php echo __('Jetzt mit AmazonPay bezahlen', 'wpsg'); ?> + + + + + diff --git a/views/mods/mod_amazon_v2/order_view_afterpayment.phtml b/views/mods/mod_amazon_v2/order_view_afterpayment.phtml new file mode 100644 index 0000000..940bc5c --- /dev/null +++ b/views/mods/mod_amazon_v2/order_view_afterpayment.phtml @@ -0,0 +1,75 @@ +view['wpsg_mod_amazon_v2']; + +?> + + + true]); ?> + + + + true]); ?> + + + + true]); ?> + + + + true]); ?> + + +
+ +
+
+

+ + + +

+
+
+
+ + + +
+ + + + + + + + + + + +
+ +
+
+

+ + + +

+
+
+
+ + diff --git a/views/mods/mod_amazon_v2/overview_button.phtml b/views/mods/mod_amazon_v2/overview_button.phtml new file mode 100644 index 0000000..8f2c96c --- /dev/null +++ b/views/mods/mod_amazon_v2/overview_button.phtml @@ -0,0 +1,47 @@ + + + + +
JETZT kaufen
+ + \ No newline at end of file diff --git a/views/mods/mod_amazon_v2/settings_edit.phtml b/views/mods/mod_amazon_v2/settings_edit.phtml new file mode 100644 index 0000000..16a6dcd --- /dev/null +++ b/views/mods/mod_amazon_v2/settings_edit.phtml @@ -0,0 +1,48 @@ + + +get_option('wpsg_mod_amazon_v2_seller_id'), array('help' => 'wpsg_mod_amazon_v2_seller_id')); ?> +get_option('wpsg_mod_amazon_v2_store_id'), []); ?> +get_option('wpsg_mod_amazon_v2_public_key_id'), []); ?> + + +
+ +get_option('wpsg_mod_amazon_v2_sandbox'), array('help' => 'wpsg_mod_amazon_v2_sandbox')); ?> + + + +
+ +get_option('wpsg_mod_amazon_v2_aktiv')); ?> +get_option('wpsg_mod_amazon_v2_name'), array('help' => 'wpsg_mod_amazon_v2_name')); ?> +get_option('wpsg_mod_amazon_v2_hint'), array('help' => 'wpsg_shippay_hint')); ?> +get_option('wpsg_mod_amazon_v2_subject'), array('help' => 'wpsg_mod_amazon_v2_subject')); ?> + +
+ +get_option('wpsg_mod_amazon_v2_gebuehr'), true), array('unit' => $this->get_option('wpsg_currency').' / %', 'help' => 'wpsg_shippay_gebuehr')); ?> +get_option('wpsg_mod_amazon_v2_mwst'), array('help' => 'wpsg_mod_amazon_v2_mwst')); ?> +get_option('wpsg_mod_amazon_v2_mwstland'), array('help' => 'wpsg_mod_amazon_v2_mwstland')); ?> + -- cgit v1.2.3