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

Add support for viewing and refunding transactions #768

Draft
wants to merge 5 commits into
base: ticketing-v2
Choose a base branch
from

Conversation

aviupadhyayula
Copy link
Member

@aviupadhyayula aviupadhyayula commented Jan 18, 2025

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.

@aviupadhyayula aviupadhyayula changed the base branch from master to ticketing-v2 January 18, 2025 16:43
@aviupadhyayula aviupadhyayula linked an issue Jan 18, 2025 that may be closed by this pull request
Copy link

codecov bot commented Jan 18, 2025

Codecov Report

Attention: Patch coverage is 36.00000% with 48 lines in your changes missing coverage. Please review.

Project coverage is 71.68%. Comparing base (80bb21d) to head (52ca5c4).

Files with missing lines Patch % Lines
backend/clubs/permissions.py 24.00% 19 Missing ⚠️
backend/clubs/views.py 32.00% 17 Missing ⚠️
backend/clubs/models.py 33.33% 12 Missing ⚠️
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.
📢 Have feedback on the report? Share it here.

@aviupadhyayula aviupadhyayula marked this pull request as draft January 18, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add support for refunding transactions
1 participant