Subversion Repositories wpShopGermany4

Rev

Rev 5261 | Rev 7247 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<?php

        /*
         * Template für das Zahlungsformular nach Bestellablauf
         */
        
?>
<form id="wpsg_skrill_payform" method="POST" action="<?php echo $this->view['wpsg_mod_skrill']['url']; ?>">

        <input type="hidden" name="pay_to_email" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_email')); ?>" />
        <input type="hidden" name="recipient_description" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_recipient_description')); ?>" />
        <input type="hidden" name="transaction_id" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['transaction_id']); ?>" />
        
        <input type="hidden" name="return_url" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['return_url']); ?>" />
        <input type="hidden" name="return_url_text" value="<?php echo __('Zurück zum Shop', 'wpsg'); ?>" />
        <input type="hidden" name="return_url_target" value="_self" />

        <input type="hidden" name="cancel_url" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['cancel_url']); ?>" />
        <input type="hidden" name="cancel_url_target" value="_self" />
        
        <input type="hidden" name="status_url" value="<?php echo wpsg_hspc($this->view['wpsg_mod_skrill']['status_url']); ?>" />
        <input type="hidden" name="language" value="DE" />
        <input type="hidden" name="logo_url" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_logo_url')); ?>" />
        
        <!-- <input type="hidden" name="pay_from_email" value="<?php echo wpsg_hspc($this->view['kunde']['email']); ?>" />-->
        <input type="hidden" name="firstname" value="<?php echo wpsg_hspc($this->view['kunde']['vname']); ?>" />
        <input type="hidden" name="lastname" value="<?php echo wpsg_hspc($this->view['kunde']['name']); ?>" />
        <input type="hidden" name="date_of_birth" value="<?php echo wpsg_hspc(date('dmY', strtotime($this->view['kunde']['geb']))); ?>" />
        <input type="hidden" name="address" value="<?php echo wpsg_hspc($this->view['kunde']['strasse']); ?>" />
        <input type="hidden" name="phone_number" value="<?php echo wpsg_hspc($this->view['kunde']['tel']); ?>" />
        <input type="hidden" name="postal_code" value="<?php echo wpsg_hspc($this->view['kunde']['plz']); ?>" />
        <input type="hidden" name="city" value="<?php echo wpsg_hspc($this->view['kunde']['ort']); ?>" />
        <input type="hidden" name="country" value="<?php echo wpsg_hspc($this->view['kunde']['land']['kuerzel']); ?>" />
        
        <input type="hidden" name="amount" value="<?php echo number_format(wpsg_tf($this->view['basket']['sum']['preis_gesamt_brutto']), 2, '.', ''); ?>" />
        <input type="hidden" name="currency" value="<?php echo wpsg_hspc($this->get_option('wpsg_mod_skrill_currency')); ?>" />
        
        <input type="hidden" name="platform" value="32888040" />
        
        <!--  5 Felder -->
        <input type="hidden" name="detail1_description" value="<?php echo __('Bestellnummer', 'wpsg'); ?>:" />
        <input type="hidden" name="detail1_text" value="<?php echo wpsg_hspc($this->view['order']['onr']); ?>" />
                
        <input type="image" src="<?php echo WPSG_URL_CONTENT; ?>plugins/<?php echo WPSG_FOLDERNAME; ?>/views/mods/mod_skrill/skrill-moneybookers-payby-border_de_150x106.png" alt="<?php echo __('Bezahlen mit Skrill', 'wpsg'); ?>" />

        <p>
                <?php echo __('Klicken Sie auf das Logo, um die Zahlung mit Skrill (Moneybookers) zu starten.', 'wpsg'); ?>
        </p>

</form>

<?php if ($this->get_option('wpsg_mod_skrill_autostart') == '1') { ?>
<script type="text/javascript">

        jQuery(document).ready(function() {
                jQuery('#wpsg_skrill_payform').submit();
        } );

</script>
<?php } ?>