Skip to content

Commit c9a3acf

Browse files
committed
another stripe fix
1 parent 0e34c7a commit c9a3acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/subscriptions/history.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<div class="card-content">
5757
<div class="card-title">
5858
<div class="right">
59-
<% account_balance = @stripe_customer.account_balance %>
59+
<% account_balance = @stripe_customer.balance %>
6060
<%= 'Outstanding balance:' if account_balance > 0 %> <%= number_to_currency(account_balance.abs / 100.0) if account_balance != 0 %> <%= 'credit' if account_balance < 0 %>
6161
</div>
6262
Billing history

0 commit comments

Comments
 (0)