- Issue created by @leonid_fishchuk
Sometimes Stripe payment intent is not updated when user updates their cart.
Amount charged by stripe will be the initial cart price, not the changed one
Payment intent is set to be updated in Drupal\commerce_stripe\EventSubscriberOrderPaymentIntentSubscriber::onOrderUpdate
but after some debugging, I noticed payment gateway might be empty at some point which stops the update.
As a possible solution, we could store the updated price in temporary storage until the gateway is set and an update can be done.
Active
Stripe Checkout