Skip to content

Place an order in Magento 2 using GraphQL and the Stripe payment method.

Notifications You must be signed in to change notification settings

snez/magento2-graphql-place-order

Repository files navigation

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

About

Place an order in Magento 2 using GraphQL and the Stripe payment method.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published