Files
medusa-store/packages/medusa-payment-stripe
Adrien de Peretti c8724da503 feat(medusa,medusa-payment-stripe): Move database mutation from plugin to core (#2743)
**what**
The goal of that PR is to first refactor the payment provider and payment plugin to support the new API that removes the data mutation from within the plugin to be done by the core instead. In any case, this pr does not include the steps of the deeper refactoring. The last part will come in later pr.

**How**
- The payment plugin is now capable to handle both the deprecated and new API and the plugin works the same as it use to works.
- The mutation made by the plugin have been moved into the core as well as the subscriber
- The tests have been updated to reflect the changed
- Remove all new methods introduced by the payment collections
  - Mutualise types
  - Update provider and payment collection services
  - cleanup around all those refactoring including cleanup of the payment collection
  - refactor stripe payment plugin

FIXES CORE-887
2022-12-19 14:37:35 +00:00
..
2022-12-13 10:34:07 +01:00
2020-01-18 14:48:15 +01:00

medusa-payment-stripe

Add Stripe as a Payment Provider.

Learn more about how you can use this plugin in the documentaion.

Options

{
  api_key: "STRIPE_API_KEY",
  webhook_secret: "STRIPE_WEBHOOK_SECRET",
  automatic_payment_methods: true
}

Automatic Payment Methods

If you wish to use Stripe's automatic payment methods set the automatic_payment_methods flag to true.