<div id=”paypal-button-container-P-6M296275RM8427620MWDHU5Q”></div>

<script src=”https://www.paypal.com/sdk/js?client-id=Ac5p_qPCq_Bpuso0eF5UDSNMtZtnEokbcIU95hsT0OURiKrBqTw0T074lLilTm9AHF0GwFmWy4OoXjZW&vault=true&intent=subscription” data-sdk-integration-source=”button-factory”></script>

<script>

  paypal.Buttons({

      style: {

          shape: ‘pill’,

          color: ‘blue’,

          layout: ‘vertical’,

          label: ‘subscribe’

      },

      createSubscription: function(data, actions) {

        return actions.subscription.create({

          /* Creates the subscription */

          plan_id: ‘P-6M296275RM8427620MWDHU5Q’

        });

      },

      onApprove: function(data, actions) {

        alert(data.subscriptionID); // You can add optional success message for the subscriber here

      }

  }).render(‘#paypal-button-container-P-6M296275RM8427620MWDHU5Q’); // Renders the PayPal button

</script>