-
Notifications
You must be signed in to change notification settings - Fork 93
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
What’s the best way of using getting a 3D secure token? #439
Comments
Hi @ThomasEdwards. I see what you're saying. I'm looking into if there's a simpler way or something we can change, but initial reaction is that your approach is as straight-forward as it can be at this moment. |
I realise that anything at this level would probably break all backwards compatibility, so maybe a v3 one day? 😌Thanks! |
Hi @ThomasEdwards. After some investigating, I was alerted to this script. It's a little less verbose, but it's brittle in that it only works if you know your first error is going to be a |
Oh that’s interesting – it presumes that the 3D secure validation will always be in |
No, not always. I perceive your approach as safer, as it considers more use cases. |
Ah yeah I’d rather have one endpoint that covers all the bases than having seperate ones, thanks anyway! |
Currently I’m using this:
Other than refactoring it out into methods, that’s as simple as I can make it. Is there another way I’m missing?
This would be better:
The text was updated successfully, but these errors were encountered: