Jump to content

JodiR

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by JodiR

  1. Site URL: http://enchantedsexandlove.com/revolution

    Hi all! I'm trying to add code from PayPal and it's saying "script disabled". I tried looking at it from another browser and it still doesn't work! This is the code I'm using under the payment plan. Thanks for your help!:

    <p><div id="paypal-button-container-P-26097925U8845553YMD5QT2Q"></div>
    <script src="https://www.paypal.com/sdk/js?client-id=AUIlYeAieag-unUdc9fHZVP23_9I5-zBlyicd4blbOOqasoa5dU4hatppxNdmVKtXpnLCcU8oddspJS9&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-26097925U8845553YMD5QT2Q'
            });
          },
          onApprove: function(data, actions) {
            alert(data.subscriptionID); // You can add optional success message for the subscriber here
          }
      }).render('#paypal-button-container-P-26097925U8845553YMD5QT2Q'); // Renders the PayPal button
    </script></p>

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.