Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
fix: Changes for compataible with pyjwt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
John Hsu authored and ormsbee committed Mar 20, 2024
1 parent e595de9 commit ab1a264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ecommerce/extensions/payment/processors/cybersource.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def _unexpired_capture_contexts(self, session):
(capture_context, decoded_capture_context)
for (capture_context, decoded_capture_context)
in (
(capture_context, jwt.decode(capture_context['key_id'], verify=False))
(capture_context, jwt.decode(capture_context['key_id'], options={"verify_signature": False}))
for capture_context
in session.get('capture_contexts', [])
)
Expand Down

0 comments on commit ab1a264

Please sign in to comment.