title: PayPal Checkout - Set up the transaction shipping address and shipping amount
body: <p>PayPal Checkout</p>
  
  <p><a href="https://developer.paypal.com/docs/checkout/integrate/#4-set-up-the-transaction" rel="nofollow noreferrer">Set up the transaction</a></p>
  
  <p>allow to set parameters like <code>mount.value: '0.01</code> and other things like so</p>
  
  <pre><code>&lt;script&gt;
    paypal.Buttons({
      createOrder: function(data, actions) {
        // Set up the transaction
        return actions.order.create({
          purchase_units: [{
            amount: {
              value: '0.01'
            }
          }]
        });
      }
    }).render('#paypal-button-container');
  &lt;/script&gt;
  </code></pre>
  
  <p>But I need to set up the shipping address and shipping amount. How can I do it?</p>
  
  <p>PS 
  I found <a href="https://developer.paypal.com/docs/orders-integration-guide/#" rel="nofollow noreferrer">Orders API Integration Guide for Express Checkout</a>. It has all the options</p>
  
  <p>like <code>details.shipping = 0.00</code> ...</p>
  
  <p>and <code>shipping_address</code>, but it does not work with PayPal Checkout example. Is it because I'm testing in the sendbox?</p>