Skip to content

Stripe payments - specific card numbers produce 500 error #379

Description

@grzeszet

While making payments with Stripe, using specific card numbers that produce specific responses, a 500 error is occurring.

Number with Stripe description:

4000000000000341 - "Attaching this card to a Customer object succeeds, but attempts to charge the customer fail."

4100000000000019 - Results in a charge with a risk_level of highest. The charge is blocked as it's considered fraudulent.

https://sentry.io/share/issue/7a7d79e56ba44a53b5b708de3517850f/

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’

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions