Closed (fixed)
Project:
Commerce Stripe
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Sep 2019 at 11:04 UTC
Updated:
27 Sep 2019 at 15:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
carsteng commentedComment #3
blacklabel_tom commentedI can confirm this behaviour
Comment #4
mglamanI made a mistake in the subscriber. It must ignore non-draft orders.
https://git.drupalcode.org/project/commerce_stripe/blob/8.x-1.x/src/Even...
There should be a check on the order state.
Comment #5
mglamanThe fix is to purge the payment intent from the order once we save the payment, I believe. If we had a data blob on payments we could keep the payment intent there for records.
Needs tests
Comment #6
mglamanWe check the status before running. Our tests now use a not-so-silent event subscriber. Tests this scenario.
Comment #7
ivan616 commentedI just applied this patch from #6 on our site and I can confirm error was no longer appearing on stripe dashboard.
Also, payment vent through successfully.
Comment #8
ivan616 commentedReview.
Comment #10
bojanz commentedCommitted #6.