Coinsnap for Wix Installation Guide
Learn how to connect your Coinsnap account with Wix using the embedded checkout button, payment link or widget.
Add Bitcoin & Lightning payments to your Wix website effortlessly.
Step 1
Activate developer mode
Open the Wix editor on your Wix website.
Click on Dev Mode in the upper area and then click on the Turn on Dev Mode button to activate developer mode.

Step 2
Open the code editor
Click on the { } icon on the left-hand side to open the code editor.

Step 3
Add payment provider service plugin
Click on the (+) sign in the Service plugins area and select Payment to add a service plugin for payment providers.

Step 4
Start setup
Click Start now on the following screen.

Step 5
Accept conditions
Check the conditions on the page with the legal provisions and click on Accept.

Step 6
name the plugin
Enter the name of the plugin: Coinsnap (you can use any name you like, but this will make it easier to follow the instructions).
Click on Add & edit code.

Step 7
localize created files
This creates a directory called Coinsnap, which contains two files: Coinsnap.js and Coinsnap-config.js, which are opened in the editor.

Step 8
copy code to Coinsnap-config.js
In Coinsnap-config.js, paste the code from our Github repository. Click on the Copy raw file icon to simply copy the code.
Make sure that you delete any sample code in Coinsnap-config.js in the Wix Editor before inserting the new code.

Step 9
Copy code to Coinsnap.js
Open Coinsnap.js in the Wix editor and paste the code from our Git repository.
Delete the entire sample code from Coinsnap.js before inserting the new code.

Step 10
http-functions.js Add to the backend directory
In the backend section of your editor, click on the (+) icon and select Expose Site API, which will create an http-functions.js file. (If this file already exists, you can skip this step).
Copy the code from our Git repository to http-functions.js. If http-functions.js already exists, paste the code from GitHub under the existing code. If not, delete the sample code before pasting.

Step 11
Publish your changes
Once the code is complete, click on Publish to save the changes and make the plugin available.

Step 12
Set up payment configuration
Open the dashboard of your website and click on Settings in the left-hand menu.
Click on Accept payments on the Settings page.

Step 13
Connect Coinsnap as a payment provider
On the following page you should see Bitcoin/Lightning with Coinsnap as payment provider. If not, refresh the page to clear the Wix cache.
Click on Connect next to Coinsnap.

Step 14
Enter Configuration Details
You will be asked to enter the following fields:
- API Key
- Store ID
- Webhook Secret

Step 15
Store ID and API key
In your Wix store: Paste the Store ID into the “Store ID” field and the API key into the “API key” field.

Frequently Asked Questions
What Users Ask About This plugin
Can I embed multiple Coinsnap payment buttons on one Wix page?
Yes. You can place multiple buttons or links for different products or services.
Does Wix allow Bitcoin at checkout natively?
No. Wix does not support native crypto gateways, but Coinsnap embeds and links work perfectly.