Integrations
CoreConnect front-end directly fetches data from the commerce engine, content management system and CoreConnect backend. These integrations need to be setup at the start of the project.
Commerce
To be added
Payments
Payments are integrated via the /lib/api/payment.ts api, providing the getPaymentMethods and startPayment functions.
Payment integrations are available for:
By default the a dummy payment method is set up, which can be changed in the /lib/loadcontext.ts file:
import { dummypayments } from "./dummypayments";import { paynlpayments } from "./paynl";
...
(base as ContextScope).payment = dummypayments(base);(base as ContextScope).payment = paynlpayments(base);Reference the guides for payment providers to setup the correct environment variables.
Analytics
Out of the box, CoreConnect has support for Google Tag Manager. To enable this, add the following to your .env file:
GOOGLE_GTM_ID=# GOOGLE_GTM_DOMAIN= # optional, to override default https://www.googletagmanager.comFollow complete setup instructions for Google Tag Manager.
Content
To be added
Backend integrations
To be added
.env file
To be added