Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 763 Bytes

README.md

File metadata and controls

20 lines (12 loc) · 763 Bytes

What's this?

A Node.js example app which uses GraphQL to place an order on Magento 2 using the Stripe payment gateway. Use this example when developing a PWA app or a headless commerce app which uses the Magento 2 GraphQL API.

Requirements

You will need to have the Stripe Payments v2.6.0 magento module or newer. You can obtain the module from either of the following 2 locations:

How to use

  1. Clone this repository locally
  2. Edit the .env file and set your Magento website domain name
  3. Run with node index.js

Example output:

image