Add support for viewing and refunding transactions#768
Draft
aviupadhyayula wants to merge 5 commits into
Draft
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## ticketing-v2 #768 +/- ##
================================================
- Coverage 72.08% 71.68% -0.40%
================================================
Files 32 32
Lines 6996 7068 +72
================================================
+ Hits 5043 5067 +24
- Misses 1953 2001 +48 ☔ View full report in Codecov by Sentry. |
Member
|
Seems very valuable - is this a blocker to launch? |
Member
Author
|
OSA's expressed concern about the payments side of things in our conversations -- this isn't a blocker, but it's something that we want to have in place before our pilot. If we have to refund something, doing it through the Cybersource dashboard makes our internal accounting tricky. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Creates new viewset, serializer, and permission class to interact with transaction records. Superusers can see all transaction records. Non-privileged users must specify an event, and can only view transactions for that event if they're appropriately privileged.
Also contains minor modifications to attributes in
TicketTransactionRecord.TODO: still need to integrate with Cybersource's API for refunds.
Closes #756.