Login required

Sign in to your AvoPay account to use the Embed Builder.

Go to Dashboard →
① Select your service/product
② Button Design
Base theme
Accent colour
Corner radius
14px
③ Button label

Style this button any way you like.

Your embed code

Adds a single buy button for the service selected above — paste it anywhere on your page and visitors click it to pay.

How to embed — choose your platform
Plain HTML
Wix
Squarespace
Webflow
1

Paste the embed code anywhere inside the <body> of your HTML file. Place it near the bottom of the page for fastest loading.

2

The <button> tag can go anywhere on the page — as many times as you like for the same service. Style it with your own CSS.

3

The <script> tag only needs to appear once per page, even if you have multiple buy buttons.

1

In the Wix Editor, click the + icon → EmbedCustom Code. Or go to Settings → Custom Code → Add Code.

2

Set placement to Body — end. Paste your embed code. Click Apply.

3

To add the button visually, add an HTML iframe widget wherever you want the button to appear and paste just the <button> line inside it.

4

Publish your site — the payment widget is now live.

1

Go to Settings → Advanced → Code Injection → Footer. Paste the full embed code here. This loads the widget on every page.

2

To place the button on a specific page, edit that page → click + → add a Code block → paste the <button> line only.

3

Save and preview. The payment modal will open when visitors click the button.

1

In Webflow Designer, open Site Settings → Custom Code → Footer Code. Paste the full embed code here.

2

To add the button: drag an Embed component onto your canvas wherever you want the button. Paste only the <button> line inside it.

3

Publish your site. The AvoPay Commerce widget is now active on every page that has a button.

4

Tip: use Webflow Interactions to style the button on hover — AvoPay only controls the modal overlay.