Website Hosting

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