Is there a way to convert the 2-letter contry code of the users profile to a 3-letter country code expected by the createPayment function?
I’m using Velo code in the Wix editor.
In order to use the skipUserInfoPage option, the payment must be created with all the userInfo (first name, last name, email and country code).
The problem is that the getMember function returns a 2-letter country code, while the createPayment function needs a 3-letter country code.
currentMember.getMember()
wixPayBackend.createPayment
Thank you