Skip to content
This repository has been archived by the owner on Oct 13, 2021. It is now read-only.

SS-280 Card declined during subscription results in 500 status code response #100

Merged
merged 1 commit into from
Jun 14, 2019

Conversation

jackiemunroe
Copy link
Contributor

@jackiemunroe jackiemunroe commented Jun 13, 2019

Refactor app.py: Update stripe error handling

  • Changed handling of stripe card errors
  • Added test to verify new handler
  • Updated existing tests in file to use mocks

https://jira.mozilla.com/browse/SS-280
#97

- Changed handling of stripe card errors
- Added test to verify new handler
- Updated existing tests in file to use mocks
Copy link
Contributor

@marty331 marty331 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests pass, manually tested with "tok_chargeDeclined" and received a 402 as expected.

@marty331 marty331 merged commit 9519c5b into master Jun 14, 2019
@marty331 marty331 deleted the SS-280_card_declined_error_code branch June 14, 2019 14:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants