2.1.59 • Published 9 months ago

medusa-payment-qpay v2.1.59

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Stripe

Receive payments on your Medusa commerce application using Stripe.

Stripe Plugin Documentation | Medusa Website | Medusa Repository

Features

  • Authorize payments on orders from any sales channel.
  • Support for Bancontact, BLIK, giropay, iDEAL, and Przelewy24.
  • Capture payments from the admin dashboard.
  • View payment analytics through Stripe's dashboard.
  • Ready-integration with Medusa's Next.js starter storefront.
  • Support for Stripe Webhooks.

Prerequisites


How to Install

1. Run the following command in the directory of the Medusa backend:

npm install medusa-payment-stripe

2. Set the following environment variables in .env:

STRIPE_API_KEY=sk_...
# only necessary for production
STRIPE_WEBHOOK_SECRET=whsec_...

3. In medusa-config.js add the following at the end of the plugins array:

const plugins = [
  // ...
  {
    resolve: `medusa-payment-stripe`,
    options: {
      api_key: process.env.STRIPE_API_KEY,
      webhook_secret: process.env.STRIPE_WEBHOOK_SECRET,
    },
  },
]

Test the Plugin

1. Run the following command in the directory of the Medusa backend to run the backend:

npm run start

2. Enable Stripe in a region in the admin. You can refer to this User Guide to learn how to do that. Alternatively, you can use the Admin APIs.

3. Place an order using a storefront or the Store APIs. You should be able to use Stripe as a payment method.


Additional Resources

2.1.59

9 months ago

2.1.58

9 months ago

2.1.57

9 months ago

2.1.56

9 months ago

2.1.55

9 months ago

2.1.54

9 months ago

2.1.53

9 months ago

2.1.52

9 months ago

2.1.51

9 months ago

2.1.50

9 months ago

2.1.48

9 months ago

2.1.46

9 months ago

2.1.44

9 months ago

2.1.43

9 months ago

2.1.41

9 months ago

2.1.39

9 months ago

2.1.37

9 months ago

2.1.35

9 months ago

2.1.34

9 months ago

2.1.32

9 months ago

2.1.31

9 months ago

2.1.29

9 months ago

2.1.28

9 months ago

2.1.27

9 months ago

2.1.26

9 months ago

2.1.25

9 months ago

2.1.23

9 months ago

2.1.22

9 months ago

2.1.21

9 months ago

2.1.20

9 months ago

2.1.19

9 months ago

2.1.18

9 months ago

2.1.17

9 months ago

2.1.15

9 months ago

2.1.14

9 months ago

2.1.13

9 months ago

2.1.12

9 months ago

2.1.11

9 months ago

2.1.10

9 months ago

2.0.55

9 months ago

2.0.52

9 months ago

2.0.51

9 months ago

2.0.50

9 months ago

2.0.49

9 months ago

2.0.48

9 months ago

2.0.47

9 months ago

2.0.46

9 months ago

2.0.45

9 months ago

2.0.44

9 months ago

2.0.43

9 months ago

2.0.42

9 months ago

2.0.41

9 months ago

2.0.40

9 months ago

2.0.39

9 months ago

2.0.38

9 months ago

2.0.37

9 months ago

2.0.36

9 months ago

2.0.35

9 months ago

2.0.34

9 months ago

2.0.33

9 months ago

2.0.32

9 months ago

2.0.31

9 months ago

2.0.30

9 months ago

2.0.29

9 months ago

2.0.28

9 months ago

2.0.27

9 months ago

2.0.26

9 months ago

2.0.25

9 months ago

2.0.24

9 months ago

2.0.23

9 months ago

2.0.22

9 months ago

2.0.21

9 months ago

2.0.20

9 months ago

2.0.19

9 months ago

2.0.18

9 months ago

2.0.17

9 months ago

2.0.16

9 months ago

2.0.15

9 months ago

2.0.14

9 months ago

2.0.13

9 months ago

2.0.12

9 months ago

2.0.10

9 months ago

2.0.9

9 months ago

2.0.8

9 months ago

2.0.7

9 months ago

2.0.6

9 months ago

2.0.5

9 months ago

2.0.4

9 months ago

2.0.3

9 months ago

2.0.2

9 months ago

2.0.1

9 months ago

2.0.0

9 months ago