Michael Bromley 987ce391e0 chore: Publish v1.9.7 2 лет назад
..
e2e 21baa0a4f7 feat(payments-plugin): Add metadata field to StripePluginOptions (#2157) 2 лет назад
src 21baa0a4f7 feat(payments-plugin): Add metadata field to StripePluginOptions (#2157) 2 лет назад
.gitignore 42c0be4b49 docs(payments-plugin): Add inline documentation for Mollie plugin 4 лет назад
README.md 56b86468f5 feat(payments-plugin): Use Mollie's Order API (#1884) 3 лет назад
package.json 987ce391e0 chore: Publish v1.9.7 2 лет назад
tsconfig.build.json 42c0be4b49 docs(payments-plugin): Add inline documentation for Mollie plugin 4 лет назад
tsconfig.json 42c0be4b49 docs(payments-plugin): Add inline documentation for Mollie plugin 4 лет назад

README.md

Payments plugin

For documentation, see https://www.vendure.io/docs/typescript-api/payments-plugin

Development

Mollie local development

For testing out changes to the Mollie plugin locally, with a real Mollie account, follow the steps below. These steps will create an order, set Mollie as payment method, and create a payment intent link to the Mollie platform.

  1. Get a test api key from your Mollie dashboard: https://help.mollie.com/hc/en-us/articles/115000328205-Where-can-I-find-the-API-key-
  2. Create the file packages/payments-plugin/.env with content MOLLIE_APIKEY=your-test-apikey
  3. cd packages/payments-plugin
  4. yarn dev-server:mollie
  5. Watch the logs for Mollie payment link and click the link to finalize the test payment.

You can change the order flow, payment methods and more in the file e2e/mollie-dev-server, and restart the devserver.