Introduction

Welcome to the Credova Plugin documentation. The plugin is a JavaScript library that will help you interact with our financing platform and provide a better experience to your users.

In this guide, we will cover the key points of how to configure and use the plugin.

tip

You need to have a Sandbox account already set up. If you do not have, please get in contact with us.

Browser Suport

Credova pluging suports 91.34% of used browsers.
You can check here the list of suported browsers and versions.

Installation

The first thing you need to do is place the following script near the end of your page:

<script src="https://plugin.credova.com/plugin.min.js"></script>
tip

Don't insert the script in the head tag. The plugin injects some elements to the page, so it requires the head tag to be fully loaded to work properly.

The script will make the CRDV variable available. This is the only modification that the plugin will do to the global scope of the page.

The plugin is self-contained and does not require any dependency.

Configure your store

For the plugin work correctly, you need to call the config method passing the desired environment and your store code:

CRDV.plugin.config({ environment: CRDV.Environment.Sandbox, store: "YOUR-STORE-CODE" });

Don't forget to set the correct environment before pushing your code live:

CRDV.plugin.config({ environment: CRDV.Environment.Production, store: "YOUR-STORE-CODE" });

Next

Now that you installed and configured the plugin, here are a few suggestions for what to do next:

  • Check out the Pre-qualification page for ways to show your users the financing options available to them.
  • Read the Checkout page to learn how to add our financing platform as a payment option in your website.
  • Read how to check the application SIGNED status at Credova by using the status endpoint or the callback notification.