Elastic Path Commerce Plugin Integration
To connect the Stripe plugin to your instance of ep-commerce
, add the plugin to Cortex, Integration Server, and Commerce Manager, download any dependencies and start the webapps.
Defining the version property
Add the following property definition to the extensions/pom.xml
file:
<ep.plugin.payment.stripe.version>804.0.0</ep.plugin.payment.stripe.version>
Adding the plugin to Cortex
In the
ep-commerce
directory, go toextensions/cortex/ext-cortex-webapp/pom.xml
file.Find the
maven-dependency-plugin
with IDcopy-plugin-artifacts
and add the following within the<configuration> --> <artifactItems>
node:<artifactItem> <groupId>com.elasticpath.repo.plugins</groupId> <artifactId>stripe-payment-provider-plugin</artifactId> <version>${ep.plugin.payment.stripe.version}</version> </artifactItem>
Adding the plugin to Commerce Manager
In the
ep-commerce
directory, go to theextensions/cm/ext-cm-modules/ext-cm-webapp/pom.xml
file.Find the
maven-dependency-plugin
with IDcopy-plugin-artifacts
and add the following within the<configuration> --> <artifactItems>
node:<artifactItem> <groupId>com.elasticpath.repo.plugins</groupId> <artifactId>stripe-payment-provider-plugin</artifactId> <version>${ep.plugin.payment.stripe.version}</version> </artifactItem>
Adding the plugin to Integration Server
In the
ep-commerce
directory, go to theextensions/integration/ext-integration-webapp/pom.xml
file.Find the
maven-dependency-plugin
with IDcopy-plugin-artifacts
and add the following within the<configuration> --> <artifactItems>
node:<artifactItem> <groupId>com.elasticpath.repo.plugins</groupId> <artifactId>stripe-payment-provider-plugin</artifactId> <version>${ep.plugin.payment.stripe.version}</version> </artifactItem>
Building the project
Build all Elastic Path Commerce modules with the new configuration.
In the root ep-commerce folder, run the following command:
mvn clean install -DskipAllTests
Starting the webapps
- Start ActiveMQ:
- In the
extensions/activemq-broker
folder, runmvn tomcat8:run-war
.
- In the
- Start Cortex:
- In the
extensions/cortex/ext-cortex-webapp
folder, runmvn tomcat8:run-war
.
- In the
- Start Integration Server:
- In the
extensions/integration/ext-integration-webapp
folder, runmvn tomcat8:run-war
.
- In the
- Start Commerce Manager:
- In the
extensions/cm/ext-cm-modules/ext-cm-webapp-runner
folder, runmvn clean tomcat8:run-war
.
- In the