- Go to Dola's website, sign up, and complete your merchant on-boarding
- Once completed, proceed to your Wallet's
Settings > Business Detailsto copy and paste yourMERCHANT_ID - Use your
MERCHANT_IDto configure your Vercel deployment
Product Schemas are required to include the following fields as they are required by BEP.
idtitlepricequantityskuimagedescriptionweight
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.localfile. then paste yourMERCHANT_IDinto theNEXT_PUBLIC_MERCHANT_IDfield.- GraphCMS API Endpoint into the
NEXT_PUBLIC_GRAPHCMS_ENDPOINTfield.
-
Run command
npm install -
Start your server
npm run dev