Skip to content

Commit

Permalink
feat: centralize determine payment status
Browse files Browse the repository at this point in the history
  • Loading branch information
brunomiguelpinto committed Dec 20, 2024
1 parent 342f274 commit 631286c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/payment_providers/base_provider.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def determine_payment_status(payment_status)
return :succeeded if self.class::SUCCESS_STATUSES.include?(payment_status)
return :failed if self.class::FAILED_STATUSES.include?(payment_status)

nil
payment_status
end
end
end
Expand Down

0 comments on commit 631286c

Please sign in to comment.