Vyze Checkout Environment Setup
Prerequisites
Once you have established an account with Vyze, begin by including the Vyze Module dependency to your main pom.xml.
<dependency>
<groupId>com.broadleafcommerce</groupId>
<artifactId>broadleaf-vyze</artifactId>
<version>1.0.0-GA</version>
<type>jar</type>
<scope>compile</scope>
</dependency>
Make sure to include the dependency in your site
AND admin
pom.xml as well:
<dependency>
<groupId>com.broadleafcommerce</groupId>
<artifactId>broadleaf-vyze</artifactId>
</dependency>
You should now begin to setup your environment to work with Broadleaf Commerce Vyze support.
The first step is to make Broadleaf Commerce aware of your Vyze account credentials.
This is accomplished through environment configuration (see [[Runtime Environment Configuration]]).
Broadleaf 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 vyze api account details:
You can also store these configs in the Database by utilizing the blSystemPropertiesService
. See the java docs for more details.
Properties File Config
- gateway.vyze.libVersion=?
- gateway.vyze.serverUrl=?
- gateway.vyze.userRedirectUrl=?
- gateway.vyze.password=?
- gateway.vyze.user=?
Production Property Config
- gateway.vyze.serverUrl=?
- gateway.vyze.userRedirectUrl=?
Now that you have your environment set up, let's begin setting up the [[Vyze Module]].