<div id=”paypal-button-container”></div> <script src=”https://www.paypal.com/sdk/js?client-id=AXSE0iEb3EyZ5IhmUMpuu9qRT3Nf8NUCdQ4aKW-RQ7AbLxuuxWPE1n6wt1cTXHLoXYSyEBFImuCPYPFv&vault=true” data-sdk-integration-source=”button-factory”></script> <script> paypal.Buttons({ style: { shape: ‘pill’, color: ‘gold’, layout: ‘vertical’, label: ‘subscribe’, }, createSubscription: function(data, actions) { return actions.subscription.create({ ‘plan_id’: ‘P-0NB0172274453315NL4A6MUI’ }); }, onApprove: function(data, actions) { alert(data.subscriptionID); } }).render(‘#paypal-button-container’); </script>

<div id="paypal-button-container"></div>
<script src="https://www.paypal.com/sdk/js?client-id=AXSE0iEb3EyZ5IhmUMpuu9qRT3Nf8NUCdQ4aKW-RQ7AbLxuuxWPE1n6wt1cTXHLoXYSyEBFImuCPYPFv&vault=true" data-sdk-integration-source="button-factory"></script>
<script>
  paypal.Buttons({
      style: {
          shape: 'pill',
          color: 'gold',
          layout: 'vertical',
          label: 'subscribe',
          
      },
      createSubscription: function(data, actions) {
        return actions.subscription.create({
          'plan_id': 'P-0NB0172274453315NL4A6MUI'
        });
      },
      onApprove: function(data, actions) {
        alert(data.subscriptionID);
      }
  }).render('#paypal-button-container');
</script>