Closed jlengrand closed 1 year ago
This should be fixed already in https://github.com/adyen-examples/checkoutCreate/pull/49 Do you have the latest version?
Yup, I just pulled main a minute ago to create a new branch.
I run from main, that should be enough right?
On Fri, Nov 4, 2022 at 2:02 PM anamotaadyen @.***> wrote:
This should be fixed already in #49 https://github.com/adyen-examples/checkoutCreate/pull/49 Do you have the latest version?
— Reply to this email directly, view it on GitHub https://github.com/adyen-examples/checkoutCreate/issues/60#issuecomment-1303503398, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHBAQUKC7VEYGRXOWOVAT3WGUCONANCNFSM6AAAAAARXE4VTU . You are receiving this because you authored the thread.Message ID: @.***>
well actually I believe that issue is the origin of the problem
del payments_request['stateOrProvince']
leads to a KeyError :).
Correct, I see the issue, this is needed for US, but I think we need to now add the field by default to then sanitise, for other countries
Here is a potential fix to avoid KeyErrors :
(with some typo fixes as a bonus 😊)
When trying to use my account, I'm getting the following error whatever method of payment I'm using:
Trying to dig into the issue