Skip to content

Commit

Permalink
fix payment_code checking bug
Browse files Browse the repository at this point in the history
  • Loading branch information
zetavg committed Aug 28, 2015
1 parent 5a7631f commit 1690569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/bill.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def get_payment_info
def pay_if_paid!
case type
when 'payment_code'
pay! if NewebPayService.reget_payment_code(uuid, amount)
pay! if NewebPayService.reget_payment_code(uuid, amount) == true

when 'virtual_account'
pay! if SinoPacService.virtual_account_paid?(uuid)
Expand Down

0 comments on commit 1690569

Please sign in to comment.