* * @link http://www.woothemes.com/products/klarna/ * @since 1.0.0 * * @package WC_Gateway_Klarna */ if (!defined('ABSPATH')) { exit; // Exit if accessed directly } // Use Klarna PMS for Norway if ('NO' == $this->klarna_helper->get_klarna_country()) { ?> <fieldset> <?php $klarna_pms = new WC_Klarna_PMS(); if ($this->testmode == 'yes') { $klarna_mode = 'test'; } else { $klarna_mode = 'live'; } global $woocommerce; $klarna_pms_data = $klarna_pms->get_data($this->klarna_helper->get_eid(), $this->klarna_helper->get_secret(), $this->selected_currency, $this->klarna_helper->get_klarna_country(), $woocommerce->cart->total, 'part_payment', 'klarna_part_payment_pclass', $klarna_mode, false); echo $klarna_pms_data; ?> <p class="form-row form-row-wide"> <label for="klarna_part_payment_pno"><?php echo esc_attr(__('Date of Birth', 'woocommerce-gateway-klarna')); ?>
* * @link http://www.woothemes.com/products/klarna/ * @since 1.0.0 * * @package WC_Gateway_Klarna */ if (!defined('ABSPATH')) { exit; // Exit if accessed directly } // Use Klarna PMS for Norway if ('NO' == $this->klarna_helper->get_klarna_country()) { ?> <fieldset> <?php $klarna_pms = new WC_Klarna_PMS(); if ($this->testmode == 'yes') { $klarna_mode = 'test'; } else { $klarna_mode = 'live'; } global $woocommerce; $klarna_pms_data = $klarna_pms->get_data($this->klarna_helper->get_eid(), $this->klarna_helper->get_secret(), $this->selected_currency, $this->klarna_helper->get_klarna_country(), $woocommerce->cart->total, 'invoice', 'klarna_invoice_pclass', $klarna_mode, $this->get_invoice_fee_price()); echo $klarna_pms_data; ?> <p class="form-row form-row-wide"> <label for="klarna_invoice_pno"><?php echo __("Date of Birth", 'woocommerce-gateway-klarna'); ?> <span