All guides

Add a pay button to your website

One snippet for Shopify, Squarespace, Wix, WordPress or Webflow. · 4 min read

Any site that lets you paste HTML can take Swipe payments for a fixed-price product or service. Create a payment link first, then paste this where the button should go, with your link in place of the example.

<a href="https://swipecheckout.xyz/l/pl_your_link_id"
   style="display:inline-block;padding:12px 22px;border-radius:999px;
          background:#5b7cff;color:#fff;font:600 15px system-ui;text-decoration:none">
  Pay with crypto
</a>

Where to paste it

  • Shopify: a Custom Liquid section in the theme editor, or the HTML view of a page.
  • Squarespace: a Code block.
  • Wix: Embed code → Embed HTML.
  • WordPress: a Custom HTML block.
  • Webflow: an Embed element.
A link has one price. For carts, or prices that change per order, create checkouts from your server with the API instead.