Documentation Home

Vantiv Environment Setup

Prerequisites

  • Users must establish their own sandbox accounts with Vantiv in order to use the BroadleafCommerce Vantiv payment functionality in a test environment. This can be done here:

Set up your Vantiv Account

Once you have established an account with Vantiv, begin by including the Vantiv Module dependency to your pom.xml.

<dependency>
    <groupId>com.broadleafcommerce</groupId>
    <artifactId>broadleaf-vantiv</artifactId>
    <version>1.0.0-SNAPSHOT</version>
    <type>jar</type>
    <scope>compile</scope>
</dependency>

Make sure to include the dependency in your core pom.xml as well:

<dependency>
    <groupId>com.broadleafcommerce</groupId>
    <artifactId>broadleaf-vantiv</artifactId>
</dependency>

You should now begin to setup your environment to work with Broadleaf Commerce Vantiv support.
The first step is to make Broadleaf Commerce aware of your Vantiv account credentials.
This is accomplished through environment configuration (see Runtime Environment Configuration).

roadleaf allows you to create your own property files per environment (e.g. common.properties, local.properties, development.properties, integrationdev.properties, integrationqa.properties, staging.properties, and production.properties)
You will need to enter the following key/value pairs in the appropriate locations and replace the "?" with your Vantiv account details:

You can also store these configs in the Database by utilizing the blSystemPropertiesService

Properties File Config

  • gateway.vantiv.paypageId=?
  • gateway.vantiv.reportGroup=?
  • gateway.vantiv.merchantId=?