Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix for Cybersource. Wrong exception was except #324

Closed
wants to merge 1 commit into from
Closed

Bugfix for Cybersource. Wrong exception was except #324

wants to merge 1 commit into from

Conversation

Jskarie
Copy link
Contributor

@Jskarie Jskarie commented Aug 5, 2022

Bugfix and added documentation about a feature

Optional parameters

  • payment.attrs.fingerprint_session_id
  • payment.attrs.merchant_defined_data

error was thrown if the parameters above were not included, but that doesn't appear to be the intended design
Was caused by the wrong exception being captured
Issue #323

Bugfix and added documentation about a feature
Optional parameters
payment.attrs.fingerprint_session_id
payment.attrs.merchant_defined_data
were essentially required otherwise an error was thrown.
Was caused by the wrong exception being captured
@codecov
Copy link

codecov bot commented Aug 5, 2022

Codecov Report

Merging #324 (788838b) into master (d7958de) will increase coverage by 0.09%.
The diff coverage is 81.81%.

@@            Coverage Diff             @@
##           master     #324      +/-   ##
==========================================
+ Coverage   80.02%   80.11%   +0.09%     
==========================================
  Files          29       29              
  Lines        1857     1861       +4     
  Branches      270      270              
==========================================
+ Hits         1486     1491       +5     
  Misses        259      259              
+ Partials      112      111       -1     
Impacted Files Coverage Δ
payments/authorizenet/__init__.py 86.11% <ø> (ø)
payments/cybersource/__init__.py 66.56% <0.00%> (ø)
payments/stripe/forms.py 95.89% <ø> (ø)
payments/authorizenet/forms.py 92.00% <100.00%> (+6.28%) ⬆️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@WhyNotHugo
Copy link
Member

There's a few unrelated errors in CI. I'll try to address those, but I think this PR looks good.

@Jskarie
Copy link
Contributor Author

Jskarie commented Aug 10, 2022 via email

@WhyNotHugo
Copy link
Member

Merged in ea85be8. Thanks!

@WhyNotHugo WhyNotHugo closed this Aug 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants