Getting Started

The AccelPay Checkout is the quickest way to sell online direct to consumer. It is built by AccelPay, used on your own website.

Onboard

Onboard onto the AccelPay platform by submitting our onboarding form

Create a CNAME record

To avoid third party cookies, we subdomain our cart to create a seamless experience for our brands. Add the following CNAME record:

Button Markup

Add the button markup in all the places you wish to have an 'Add to cart' button on your site.
This will include the listing and variant ids and takes the following format:

<div data-bclistingid="..." data-bcvariantid="..."></div>

The button annotation for all the listings can be found on the settings page in the AccelPay portal.


Add Scripts

Insert the AccelPay script into the head section of your site. The script can be found on the settings page in the AccelPay portal.


Documentation per platform

Squarespace

[Squarespace] Add Scripts

  1. In the Home menu, click Settings, click Advanced, then click Code Injection.

  1. Add AccelPay Library and Google Analytics scripts to the header section

  1. After adding the script, click Save

[Squarespace] Add Button Markup

  1. Edit a page or post, click an insert point, and click Code from the menu.

  1. Add button markup in the text field (The button will not show up in Edit mode)

  2. Click Save to see the button in Preview

[Squarespace] Style AccelPay Buttons

  1. In the Home menu, click Design, then click Custom CSS.

  2. Add custom CSS and click SAVE
Wordpress (Elementor)

If you are using Elementor in Wordpress, please notify AccelPay team in order to have a proper configuration for it on AccelPay script.

[Wordpress] Add Scripts

  1. Using a plugin is the easiest way to add a script to the header on Wordpress. In Plugin section, choose Add Plugin, search "Insert Headers and Footers by WPBeginner" and click "Install Now".

  1. After install is complete, click Activate.

  1. Go to Settings and click "Insert Headers and Footers

  1. Insert AccelPay scripts to the header and Click Save


[Wordpress] Add Button Markup

  1. In Elementor edit mode, choose HTML element and add to the page.

  1. Add button markup in the text field (The button will not show up in Edit mode)

  1. Click Preview to see the button

[Wordpress] Style AccelPay Buttons

  1. In the menu, click Apperance, then click Customize.

  1. Click Additional CSS

  1. Add custom CSS and click SAVE

Wix

[Wix] Add Scripts

  1. Go to Settings and choose Custom code from Advanced settings.

  1. Click Add Code.

  1. Add AccelPay scripts in "Paste the code snippet here" and Name "AccelPay Script". Choose "All pages: Load code once" option on Add Code to Pages.

  1. Click Apply

[Wix] Add Button Markup

  1. In Edit mode, Click Dev Mode from the header and click "Turn on Dev Mode"

  2. Go to Dev Mode menu from the side menu ({} icon), and create the folder "custom-elements" in Public and create the JS file "accelpay-custom.js" inside the folder. Remove the template file and copy paste the snippet below and save.

// To debug this code, open wixDefaultCustomElement.js in Developer Tools.
class AccelpayCustomElement extends HTMLElement {
    constructor() {
        super();
    }

    connectedCallback() {
        this.style = 'display:flex;justify-content:center;';
    }
}

customElements.define('accelpay-custom', AccelpayCustomElement);

  1. Click + button and choose Custom element from Embed Code


  1. Click Choose Source and check Velo file radio button and choose accelpay-custom.js as a source file

  2. Click Set Attributes and add data-bclistingid and data-bcvariantid with corresponding values from Accelpay Portal

[Wix] Style AccelPay Buttons

  1. Go to Settings and choose Custom code from Advanced settings.

  1. Click Accelpay Script that you created in the step 1

  1. After the scripts, add css snippet wrapped with <style></style>

Example:

<style>
    .accelpay-btn {
        background: #DB3737  !important;
        color: #fff  !important;
        border: 1px solid #F4BA65  !important;
    }
</style>