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

KYC Level5 fails missing doc_expire on Address.rb #1269

Open
andrew-thought opened this issue Mar 24, 2021 · 1 comment
Open

KYC Level5 fails missing doc_expire on Address.rb #1269

andrew-thought opened this issue Mar 24, 2021 · 1 comment

Comments

@andrew-thought
Copy link

andrew-thought commented Mar 24, 2021

Baseapp on KYC level5 (Addres/utility bill) not sending doc_expire, but Barong API is requiring it and erroring out with 422 Missing doc_expire.

Not sure best path here, Baseap doesn't have expiration date on Level 5 form, can set Baseapp to send doc_expire way in the future, or modify Barong to ignore doc_expire for api/v2/resources/address.

Baseapp and Barong version 2-6-stable

Thanks!

Barong error
{"date":"2021-03-24T14:30:18.579+00:00","severity":"WARN","data":{"status":422,"time":{"total":323.38,"db":1.39,"view":321.99},"method":"POST","path":"/api/v2/resource/addresses","params":{"upload":"[FILTERED]","address":"36 test ","city":"Test","country":"US","postcode":"17555"},"host":"xxx","response":{"errors":["doc_expire.blank"]},

@andrew-thought andrew-thought changed the title KYC Level fails missing doc_expire on Address.rb KYC Level5 fails missing doc_expire on Address.rb Mar 24, 2021
@kanakan34
Copy link

config/initializers/barong.rb
config.set(:required_docs_expire, 'true', type: :bool) change with false

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

No branches or pull requests

2 participants