summaryrefslogtreecommitdiff
path: root/views/mods/mod_amazon/order_done.phtml
diff options
context:
space:
mode:
authorDaniel Schmitzer <noreply@maennchen1.de>2020-08-11 04:42:30 +0000
committerDaniel Schmitzer <noreply@maennchen1.de>2020-08-11 04:42:30 +0000
commitca796d394a1abaf848ef6e436121bfabad7f0c2e (patch)
tree2f7736597681b54a9d92ae8e1a0ddcb811d06de7 /views/mods/mod_amazon/order_done.phtml
parent40a44855bf0ca0fbe74bf8f7d6b9f94848e5473c (diff)
#4.2.6
- Bugfix: Falsche Bilder beim hinzufügen von Bilder im Warenkorblayer (Theme) git-svn-id: https://[internal]/wordpress/plugins/wpsg4@7756 0d5edaf7-2b12-4e95-93f4-047927463d4b
Diffstat (limited to 'views/mods/mod_amazon/order_done.phtml')
-rw-r--r--views/mods/mod_amazon/order_done.phtml17
1 files changed, 9 insertions, 8 deletions
diff --git a/views/mods/mod_amazon/order_done.phtml b/views/mods/mod_amazon/order_done.phtml
index a0eb843..80665c9 100644
--- a/views/mods/mod_amazon/order_done.phtml
+++ b/views/mods/mod_amazon/order_done.phtml
@@ -20,7 +20,7 @@
<div id="PayWithAmazon" style="<?php echo (($this->view['wpsg_mod_amazon']['state'] === wpsg_mod_amazon::ORDER_DONE_GO)?'display:none':''); ?>"></div>
-<script type="text/javascript">/* <![CDATA[ */
+<script type="text/javascript">
var authRequest;
@@ -52,8 +52,7 @@
var autoRun = setInterval(function(){
- if (jQuery('#PayWithAmazon img').length > 0)
- {
+ if (jQuery('#PayWithAmazon img').length > 0) {
//setTimeout(function(){ jQuery('#PayWithAmazon img').click(); }, 1000);
clearInterval(autoRun);
@@ -62,7 +61,7 @@
}, 100);
-/* ]]> */</script>
+</script>
<?php } ?>
@@ -74,15 +73,17 @@
<input type="hidden" name="wpsg_done" value="<?php echo $_REQUEST['wpsg_done']; ?>" />
<input type="hidden" name="amazon[OrderReference]" id="wpsg_mod_amazon_OrderReference" value="" />
- <div id="walletWidgetDiv"></div>
+ <div id="walletWidgetDiv"></div><br />
<input type="submit" class="wpsg_button" name="submit" value="<?php echo __('Zahlung durchführen', 'wpsg'); ?>" id="wpsg_mod_amazon_doPayment" style="display:none;" />
<div class="wpsg_clear"></div>
</form>
-<script type="text/javascript">/* <![CDATA[ */
-
+<script>
+
+ jQuery('#walletWidgetDiv').show();
+
new OffAmazonPayments.Widgets.Wallet( {
sellerId: '<?php echo $this->get_option('wpsg_mod_amazon_seller_id'); ?>',
@@ -117,5 +118,5 @@
} ).bind("walletWidgetDiv");
-/* ]]> */</script>
+</script>
<?php } ?> \ No newline at end of file