Skip to content

Commit

Permalink
should return an int if there is no commission
Browse files Browse the repository at this point in the history
  • Loading branch information
devo-devo committed Jul 25, 2024
1 parent d1bb51d commit a695f38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vendor/processors/stripe.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def get_application_fee_percent(self):
if vendor_site_commission.instance:
return vendor_site_commission.get_key_value('commission')

return None
return 0

def get_application_fee_amount(self, amount):
vendor_site_commission = VendorSiteCommissionConfig(self.site)
Expand Down

0 comments on commit a695f38

Please sign in to comment.