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

Erroneous new transfer booked with Rate: 0 #6

Open
gsbabil opened this issue Apr 5, 2021 · 1 comment
Open

Erroneous new transfer booked with Rate: 0 #6

gsbabil opened this issue Apr 5, 2021 · 1 comment

Comments

@gsbabil
Copy link

gsbabil commented Apr 5, 2021

Hi @anuragdhingra,

Thanks for the really neat tool.

I have recently started noticing new transfers being booked/updated with the rate being 0. It is not clear if this is due to incomplete information from TransferWise or parsing-error in the tool. There is no error on the console when it starts occurring.

Please find some logging output for some test quotes I created today. Let me know if there is anything else I can add. Thank you.

Starting batch server on port 3000
2021/04/05 11:58:41 || NEW TRANSFER BOOKED || Transfer ID: 233410124 | {USD} --> {CAD} | Rate: 0 |  Amount: 50 ||
2021/04/05 11:59:41 || NEW TRANSFER BOOKED || Transfer ID: 233410453 | {USD} --> {CAD} | Rate: 0 |  Amount: 48 ||
2021/04/05 12:01:41 || NEW TRANSFER BOOKED || Transfer ID: 233411169 | {USD} --> {CAD} | Rate: 0 |  Amount: 50 ||
2021/04/05 12:02:40 || NEW TRANSFER BOOKED || Transfer ID: 233411527 | {USD} --> {CAD} | Rate: 0 |  Amount: 48 ||   

P.S.

Could you please add why we need a listening socket on port 3000? Thanks.

@anuragdhingra
Copy link
Owner

@gsbabil
I think the above issue is mainly related to either any recent changes in their API or might be a currency/country-specific issue. While testing it I noticed that the request body for the book transfer API slightly varies for some currencies.
Please let me test it on the sandbox, for USD/CAD on the coming weekend and get back to you.

Could you please add why we need a listening socket on port 3000? Thanks.

That is the port go server is running on. There is no port exposed from the docker container. You can check more here from the Dockerfile.

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

2 participants