- Go to Dola's website, sign up, and complete your merchant on-boarding
- Once completed, proceed to your Wallet's
Settings > Business Details
to copy and paste yourMERCHANT_ID
- Use your
MERCHANT_ID
to configure your Vercel deployment
Product Schemas are required to include the following fields as they are required by BEP.
id
title
price
quantity
sku
image
description
weight
The Getting Started section is a prerequisite for this section
-
Clone:
npx degit dolapay/bep-examples/with-graphcms-next#main graphcms-bep-nextjs
-
Run command
cd graphcms-bep-nextjs
-
Create a
.env.local
file. then paste yourMERCHANT_ID
into theNEXT_PUBLIC_MERCHANT_ID
field.- GraphCMS API Endpoint into the
NEXT_PUBLIC_GRAPHCMS_ENDPOINT
field.
-
Run command
npm install
-
Start your server
npm run dev