Midtrans / midtrans-go

This is the Official Go API client/library for Midtrans Payment API. More information about the product and see documentation at http://docs.midtrans.com for more technical details
https://pkg.go.dev/github.com/midtrans/midtrans-go
MIT License
93 stars 25 forks source link

Validate Bank Account BRI always return success (Sandbox env) #27

Closed klepon46 closed 1 year ago

klepon46 commented 1 year ago

Hi,

I always get success validated bank account whenever I fill bank with BRI and with random account number.

Curl: curl --location --request GET 'https://app.sandbox.midtrans.com/iris/api/v1/account_validation?bank=bri&account=4421321321321' \ --header 'Accept: application/json' \ --header 'Cache-Control: no-cache' \ --header 'Authorization: Basic KEY'

Response: {"id":"62608a9a40bf4124b254f6a95be9023a","account_no":"4421321321321","bank_name":"bri","account_name":"BRI Simulator A"}

Xaxxis commented 1 year ago

Hi, @klepon46 thank you for reaching out to us. It seems a valid issue on our API response but should impact on sandbox env. Will inform our payment team to check. I will inform you once the issue solve

Thank You

klepon46 commented 1 year ago

Hi @Xaxxis Any updated?

Xaxxis commented 1 year ago

Hi, @klepon46 our team is still discussing this, but low priority because this is impacted only on Sandbox env. As a workaround, may you can use this BRI account number 888801000009999 to simulate an invalidated BRI bank account on the sandbox environment.

Thanks