Subversion Repositories wpShopGermany4

Rev

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

<?php

        /**
         * JS Teil für den PayPal PLUS Teil
         */

?>

        var ppp = PAYPAL.apps.PPP({
                "approvalUrl": "<?php echo $this->view['wpsg_mod_paypalapi']['approval_url']; ?>",
                "language": "de_DE",
                "preselection": "none",
                "country": "DE",
                "onLoad": function() { if (typeof wpsg_mod_paypalapi_load == 'function') wpsg_mod_paypalapi_load(); }, 
                "buttonLocation": "outside",
                <?php if (wpsg_isSizedArray($this->view['wpsg_mod_paypalapi']['ThirdPartyPayment'])) { ?>
                "thirdPartyPaymentMethods": <?php echo json_encode($this->view['wpsg_mod_paypalapi']['ThirdPartyPayment']); ?>,
                <?php } ?>              
                "placeholder": "wpsg_ppplus",
                "mode": "<?php echo $this->view['wpsg_mod_paypalapi']['mode']; ?>",
        } );