• Support@martinny.com
  • 83945
<?php
[removed][removed] [removed] function initPayPalButton() { paypal.Buttons({ style: { shape: 'pill', color: 'blue', layout: 'vertical', label: 'pay', }, createOrder: function(data, actions) { return actions.order.create({ purchase_units: [{"description":"Payment","amount":{"currency_code":"USD","value":1102,"breakdown":{"item_total":{"currency_code":"USD","value":1000},"shipping":{"currency_code":"USD","value":2},"tax_total":{"currency_code":"USD","value":100}}}}] }); }, onApprove: function(data, actions) { return actions.order.capture().then(function(orderData) { // Full available details console.log('Capture result', orderData, JSON.stringify(orderData, null, 2)); // Show a success message within this page, e.g. const element = document.getElementById('paypal-button-container'); element[removed] = ''; element[removed] = '

Thank you for your payment!

'; // Or go to another URL: actions.redirect('thank_you.html'); }); }, onError: function(err) { console.log(err); } }).render('#paypal-button-container'); } initPayPalButton(); [removed] ?>

Do you want to get our quality service for your business?