Skip to content

Commit

Permalink
Merge pull request #2118 from gtech-mulearn/dev
Browse files Browse the repository at this point in the history
Merge dev to dev-server
  • Loading branch information
jelanmathewjames authored Jun 24, 2024
2 parents 965a5d8 + acc172a commit cb327ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/donate/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,6 @@ def post(self, request):
if serializer.is_valid():
serializer.save()

return create_receipt(transaction_details)
return CustomResponse(response = transaction_details).get_success_response()
except razorpay.errors.SignatureVerificationError as e:
return CustomResponse(general_message = "Payment Verification Failed").get_failure_response()

0 comments on commit cb327ff

Please sign in to comment.