Skip to content

Commit

Permalink
[Fixes #2184] CreditCard number is no longer blank when processing
Browse files Browse the repository at this point in the history
payments. Thanks to @liufengyun for the solution
  • Loading branch information
LBRapid committed Nov 6, 2012
1 parent e48579b commit 5e2ddd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/app/models/spree/order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ def payment_method
end

def pending_payments
payments.with_state('checkout')
payments.select {|p| p.state == "checkout"}
end

def process_payments!
Expand Down

0 comments on commit 5e2ddd1

Please sign in to comment.