Skip to main content

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

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.
  1. Open your Wix Editor.
  2. Click Dev Mode at the top of the screen.
  3. 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.
  1. In the left panel, click the { } Code Files icon.
  2. Under Service Plugins, click the (+) button and select Payment.
  3. When prompted to name your plugin, enter exactly:
Wix will automatically generate the following folder structure in your project:
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 with novac.js:
  1. Open novac.js in the Wix Editor.
  2. Delete all existing sample code.
  3. Copy and paste the code from our GitHub repository.
Repeat the same steps for 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.
  1. Go to the Backend folder in the Wix Editor.
  2. Click (+) > Expose Site API. This creates an http-functions.js file.
  3. If the file already exists, open it to edit.
  4. Add the code from our http-functions.js to 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.
  1. Go to your Wix Dashboard.
  2. 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.
  3. Click Connect next to Novac.
  4. Enter your public_key, secret_key, and logo_url to complete the configuration.