Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(payments-plugin): Allow mollie orders with $0 #2855

Merged

Conversation

martijnvdbrug
Copy link
Contributor

@martijnvdbrug martijnvdbrug commented May 16, 2024

Description

Transition orders to PaymentSettled when the total is $0. The payment intent returns the given thank-you/confirmation page instead of the link to Mollie, because we don't need to redirect the customer to the Mollie platform.

Closes #2821

Checklist

📌 Always:

  • I have set a clear title
  • My PR is small and contains a single feature
  • I have checked my own PR

👍 Most of the time:

  • I have added or updated test cases
  • I have updated the README if needed

Copy link

netlify bot commented May 16, 2024

Deploy Preview for effervescent-donut-4977b2 failed.

Name Link
🔨 Latest commit 14b1ba1
🔍 Latest deploy log https://app.netlify.com/sites/effervescent-donut-4977b2/deploys/6645cbfc6ff14b0008589ef6

@martijnvdbrug
Copy link
Contributor Author

The mySQL test fails with

@vendure/core:  FAIL  e2e/shop-order.e2e-spec.ts > Shop orders
@vendure/core: Error: listen EADDRINUSE: address already in use :::3012

So, that seems like a concurrency thing, not an issue with the PR per se

@michaelbromley michaelbromley merged commit b54c210 into vendure-ecommerce:master May 24, 2024
10 of 16 checks passed
@michaelbromley
Copy link
Member

Thanks!

gdarchen pushed a commit to gdarchen/vendure that referenced this pull request Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mollie doesn't allow orders with €0
2 participants