Overview
The Novac Wix plugin allows you to accept payments directly on your Wix store using Novac’s secure checkout experience. This guide walks you through setting up the plugin, configuring your site, and testing your integration before going live.Prerequisites
See details
See details
Before you begin, ensure that you have the following:
- A Novac Account, preferably approved for live transactions
- A Wix account with an active Premium subscription
General Plugin Setup
Turn On Developer Mode
Developer Mode gives you access to Wix’s code editor, which is required to install the plugin files.- Open your Wix Editor.
- Click Dev Mode at the top of the screen.
- Select Turn on Dev Mode.
Add the Payment Provider Plugin
With Developer Mode enabled, you can now add the Novac payment plugin to your site.- In the left panel, click the { } Code Files icon.
- Under Service Plugins, click the (+) button and select Payment.
- When prompted to name your plugin, enter exactly:
service-plugins
novac
novac.js
novac-config.js
Add the Novac Plugin Code
You need to replace the sample code in both generated files with the Novac plugin code from our GitHub repository. Start withnovac.js:
- Open
novac.jsin the Wix Editor. - Delete all existing sample code.
- Copy and paste the code from our GitHub repository.
novac-config.js.
Access both code files here:
Add the Backend Function
The backend function receives payment callbacks from Novac and processes webhooks for each transaction. Without this, your store will not be notified when a payment completes.- Go to the Backend folder in the Wix Editor.
- Click (+) > Expose Site API. This creates an
http-functions.jsfile. - If the file already exists, open it to edit.
- Add the code from our
http-functions.jsto the file.
If your backend file already contains existing code, append the Novac callback function at the end. If it is a new file, remove the template code first, then paste in the Novac code.
Publish Your Site
Once all files are saved, click Publish in the top-right corner of the Wix Editor. This activates the plugin on your live site, the plugin will not work until the site is published.Site Installation
Configure Novac in Your Wix Dashboard
With the plugin files published, you can now connect Novac as a payment provider from your Wix Dashboard.- Go to your Wix Dashboard.
- Navigate to Settings > Accept Payments. Novac should now appear as a payment provider. If it does not, refresh the page to clear Wix’s cache.
- Click Connect next to Novac.
- Enter your
public_key,secret_key, andlogo_urlto complete the configuration.