Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIAT Deposit (CNY) can't be confirmed. #15

Open
gjnardoni opened this issue Jan 16, 2019 · 0 comments
Open

FIAT Deposit (CNY) can't be confirmed. #15

gjnardoni opened this issue Jan 16, 2019 · 0 comments

Comments

@gjnardoni
Copy link

Hello guys.
I've tried your repo and InfraDev too (also many others) and when I try to approve (admin dashboard) the payment made by FIAT i get a 500 Internal Server Error.

Can you lend me a hand?

I, [2019-01-16T01:22:23.557913 #22313] INFO -- : Started PATCH "/admin/deposits/banks/1" for 172.27.1.53 at 2019-01-16 01:22:23 -0300
I, [2019-01-16T01:22:23.562049 #22313] INFO -- : Processing by Admin::Deposits::BanksController#update as HTML
I, [2019-01-16T01:22:23.562314 #22313] INFO -- : Parameters: {"utf8"=>"✓", "authenticity_token"=>"dp3jq6m+QsBvP/XgBARs4v2gXHebx3YoxaXBSnwK848=", "deposits_bank"=>{"txid"=>"asd"}, "commit"=>"Accept", "id"=>"1"}
I, [2019-01-16T01:22:23.962588 #22313] INFO -- : Completed 500 Internal Server Error in 400ms
F, [2019-01-16T01:22:23.967339 #22313] FATAL -- :
NameError (undefined local variable or method c' for #<Deposits::Bank:0x0055baa5b2ecc8>): app/models/deposit.rb:124:in aggregate_funds'
app/models/deposits/bank.rb:10:in block in charge!' app/models/deposits/bank.rb:8:in charge!'
app/controllers/admin/deposits/banks_controller.rb:29:in update' lib/middleware/security.rb:11:in call'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant