diff options
Diffstat (limited to 'views/mods/mod_paypalapi/settings_edit.phtml')
| -rw-r--r-- | views/mods/mod_paypalapi/settings_edit.phtml | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/views/mods/mod_paypalapi/settings_edit.phtml b/views/mods/mod_paypalapi/settings_edit.phtml index 55e15de..24a0cf0 100644 --- a/views/mods/mod_paypalapi/settings_edit.phtml +++ b/views/mods/mod_paypalapi/settings_edit.phtml @@ -21,6 +21,10 @@ <br />
+<?php echo wpsg_drawForm_Input('wpsg_mod_paypalapi_currency', __('Währungscode (Standard: EUR)'), $this->get_option('wpsg_mod_paypalapi_currency'), array('help' => 'wpsg_mod_paypal_currency')); ?>
+
+<br />
+
<?php echo wpsg_drawForm_Input('', __('WebHook URL', 'wpsg'), $this->getUrl(wpsg_ShopController::URL_BASKET, 'wpsg_mod_paypalapi', 'webHook', array(), true), array('readonly' => true, 'help' => 'wpsg_mod_paypal_webhook_url')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_paypalapi_create', __('Beim speichern versuchen den WebHook anzumelden.', 'wpsg'), 0, array('labelright' => true, 'noDoubleDot' => true, 'help' => 'wpsg_mod_paypal_createwebhook')); ?>
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_paypalapi_webhook_log', __('WebHook Anfragen protokollieren', 'wpsg'), $this->get_option('wpsg_mod_paypalapi_webhook_log'), array('labelright' => true)); ?>
@@ -77,6 +81,11 @@ <br />
</div>
+<div class="wpsg_mod_paypalapi_plus_inaktiv">
+- <?php echo wpsg_drawForm_Checkbox('wpsg_mod_paypalapi_autostart', __('Zahlung sofort starten', 'wpsg'), $this->get_option('wpsg_mod_paypalapi_autostart'), array('help' => 'wpsg_shippay_paystart')); ?>
+-
+-</div>
+
<?php echo wpsg_drawForm_Checkbox('wpsg_mod_paypalapi_paypalexpress_details', __('Warenkorbdetails übertragen', 'wpsg'), $this->get_option('wpsg_mod_paypalapi_paypalexpress_details'), array('help' => 'wpsg_mod_paypalapi_paypalexpress_details')); ?>
<br />
@@ -120,8 +129,20 @@ jQuery('#wpsg_mod_paypalapi_plus_aktiv').bind('change', function() {
- if (jQuery(this).is(':checked')) jQuery('.wpsg_mod_paypalapi_plus_aktiv').show();
- else jQuery('.wpsg_mod_paypalapi_plus_aktiv').hide();
+ if (jQuery(this).is(':checked'))
+- {
+-
+- jQuery('.wpsg_mod_paypalapi_plus_aktiv').show();
+- jQuery('.wpsg_mod_paypalapi_plus_inaktiv').hide();
+-
+- }
+- else
+- {
+-
+- jQuery('.wpsg_mod_paypalapi_plus_aktiv').hide();
+- jQuery('.wpsg_mod_paypalapi_plus_inaktiv').show();
+-
+- }
} ).change();
|
