Skip to content

Fix for issue #4#5

Open
xanadu-3g wants to merge 2 commits intorobclark56:masterfrom
xanadu-3g:master
Open

Fix for issue #4#5
xanadu-3g wants to merge 2 commits intorobclark56:masterfrom
xanadu-3g:master

Conversation

@xanadu-3g
Copy link

Hi!
I've tried to fix issue #4, I might have broke some other functions, with replacing $this->SCA in the last line. I'm not aware why you were using the URL returned in the json instead of the original URL.

PS:
Thanks for the class.

It fixes 2 related bugs, when sending getStatement API calls. First SCA header fields were only added to POST requests, but getStatement is a GET and needs SCA depending on account country. And SCA->path doesn't contain the required GET parameters, such as currency.
@robclark56
Copy link
Owner

Thanks for the proposed changes.

Can you expand on this: " might have broke some other functions"

Can you please run this:
https://github.com/robclark56/TransferWise_PHP_SimpleAPIclass/blob/master/code/test.php

... with your changes

and confirm all works.

Thanks

Rob

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

Successfully merging this pull request may close these issues.

2 participants