Skip to content
New issue

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

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

Already on GitHub? # to your account

withdraw cny not working #104

Open
AnthonyRex opened this issue Dec 4, 2020 · 0 comments
Open

withdraw cny not working #104

AnthonyRex opened this issue Dec 4, 2020 · 0 comments

Comments

@AnthonyRex
Copy link

I think the withdraw form for fiat is wrong.

getting bank can't be blank

I believe because of it calling this form
in https://github.com/pankaj9310/graviex-peatio/blob/master/public/templates/funds/withdraw_cny.html

this is for crypto and not for fiat

this is the log here

I, [2020-11-07T21:37:53.686647 #125661] INFO -- : Started POST "/withdraws/banks" for 127.0.0.1 at 2020-11-07 21:37:53 -0800
I, [2020-11-07T21:37:53.698813 #125661] INFO -- : Processing by Private::Withdraws::BanksController#create as HTML
I, [2020-11-07T21:37:53.699162 #125661] INFO -- : Parameters: {"withdraw"=>{"member_id"=>1, "currency"=>"cny", "sum"=>5000, "fund_source_id"=>3, "fund_uid"=>"23983675638"}, "two_factor"=>{"type"=>"app", "otp"=>"748697"}, "bank"=>{"withdraw"=>{"member_id"=>1, "currency"=>"cny", "sum"=>5000, "fund_source_id"=>3, "fund_uid"=>"23983675638"}, "two_factor"=>{"type"=>"app", "otp"=>"748697"}}}
I, [2020-11-07T21:37:53.774046 #125661] INFO -- : [Withdraw]: last = 1514764800, current = 1604813873, diff = 90049073, sql = select created_at as result from withdraws where member_id = 1 and currency = 9 order by id desc limit 1

it's not submitting the bank

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

No branches or pull requests

1 participant