관리-도구
편집 파일: 4d93a92bd13f16b8f215afe012380caed3147ddc.php
<!--PayPal Pay Now Button--> <script src="https://www.paypal.com/sdk/js?client-id=<?php echo e(get_option('paypal_client_id')); ?>¤cy=<?php echo e($order->currency); ?>&disable-funding=credit,card"></script> <div id="paypal-button-container"></div> <script> paypal.Buttons({ createOrder: function(data, actions) { return actions.order.create({ purchase_units: [{ amount: { value: '<?php echo e(convert_currency_2(1, $order->currency_rate, $order->total)); ?>' } }] }); }, onApprove: function(data, actions) { window.location.href = "<?php echo e(url('gateway/paypal_payment_authorize')); ?>/" + data.orderID + "/<?php echo e($order->id); ?>"; }, onCancel: function (data) { alert('<?php echo e(_lang('Payment Cancelled')); ?>'); } }).render('#paypal-button-container'); </script><?php /**PATH /home/customamgdigital/saintsaccessories.custom.amgdigitalagency.com/resources/views/theme/default/gateways/paypal.blade.php ENDPATH**/ ?>