spree/spree_gateway

STRIPE-Orders-Payments: 500 error When canceling and order after capturing the SCA payment in the Admin Panel

grzeszet opened this issue · 0 comments

Background: It has been found that we have 500 errors when canceling order with payment made with SCA Payment method.
See the video:

Video.500.error.mp4

Steps to reproduce:

  1. Add product, go to checkout
  2. Pay with SCA Payment Method
  3. Go to Admin Panel
  4. Access the order
    5.Go to payments -> Capture the payment
  5. Go to Shipments -> Cancel the order
  6. Notice 500 error

Actual results:
500 Error occurs when Admin is canceling order with SCA Payment

Environment:
Affected version: spee.4.3.0.alpha (ruby 2.7.2; rails 6.0.0)
Configuration:
gem ‘spree’
gem ‘spree_gateway’
gem ‘spree_auth_devise’
gem ‘spree_static_content’
gem ‘spree_related_products’
gem ‘spree_sitemap’
gem ‘spree_analytics_trackers’
gem ‘spree_braintree_vzero’
gem ‘spree_i18n’