Website Building » Squarespace » How Do I Add a Stripe in Squarespace?

How Do I Add a Stripe in Squarespace?

Last updated on December 28, 2022 @ 6:44 pm

There are a few different ways that you can add a stripe to your Squarespace website. One way is to use the built-in Stripe Block. To do this, simply click on the “+” icon in the upper left-hand corner of the page, and then select the “Stripe” block from the list of options.

Another way that you can add a stripe to your Squarespace website is by using HTML. To do this, you will need to add the following code to your website:

PRO TIP: Adding a stripe in Squarespace may result in unexpected changes to your website’s design or functionality. If you are not comfortable making these changes, we recommend contacting a Squarespace expert or customer support for assistance.

<script src="https://checkout.stripe.com/checkout.js" class="stripe-button"
          data-key="pk_test_6pRNASCoBOKtIshFeQd4XMUh"
          data-amount="2000"
          data-name="Stripe Demo"
          data-description="2 widgets ($20.00)"
          data-image="/img/documentation/checkout/marketplace.png"
          data-locale="auto">
</script>

Once you have added this code to your website, you will need to style it using CSS. You can find more information about how to do this on the Stripe website.

The best way to add a stripe to your Squarespace website is by using the built-in Stripe Block. This method is quick and easy, and does not require any knowledge of HTML or CSS.

Madison Geldart

Madison Geldart

Cloud infrastructure engineer and tech mess solver.