I downloaded the SDK and edited the swift NativeAppSample to insert my API key. When I run it, I could log in a user and add the test visa card, but after that, I am unable to get the callback from
checkoutButton.onCheckout to return kVisaCheckoutResultPaymentSuccess.
It also does not let me log in with another email address and touch ID does not work. Anybody else seeing that problem and maybe could suggest what I could do to get past this point?
I will take a look and someone will reach out to you soon!
I'd like to provide you with a follow up on this query. We've confirmed that your are currently working with Visa Checkout Developer Support. Therefore, to resolve the issue you are describing, please continue to work with them.
Can you please explain to me the error or issue you are experiencing? You can submit an email to firstname.lastname@example.org or let us know what your technical error is in this forum post and someone will help you resolve the issue.
I've managed to fix the issue by myself.
There are only 3 parameters in the Profile constructor:
Profile(environment: .sandbox, apiKey: API_KEY, profileName: PROFILE_NAME)
I've been passing a merchant name as a profileName.
I should've been passing "SYSTEMDEFAULT" or nil.
You can find the list of your profiles at Dashboard/Configuration/Visa Checkout/Checkout Profiles