Visa Developer Community

Newbie

VISA Checkout API 6.2.0 iOS NativeAppSample not working

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?

 

Mike

5 REPLIES 5
Highlighted
Visa Dev Moderator

Re: VISA Checkout API 6.2.0 iOS NativeAppSample not working

Hi @orologics,

 

I will take a look and someone will reach out to you soon!

 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana

Visa Dev Moderator

Re: VISA Checkout API 6.2.0 iOS NativeAppSample not working

Hello @orologics,

 

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.       

                         

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana

Helper

Re: VISA Checkout API 6.2.0 iOS NativeAppSample not working

Hello. Having the same issue. Whom should I contact?

Visa Dev Moderator

Re: VISA Checkout API 6.2.0 iOS NativeAppSample not working

Hey @Vegas,

 

Can you please explain to me the error or issue you are experiencing? You can submit an email to developer@visa.com or let us know what your technical error is in this forum post and someone will help you resolve the issue.

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.

Thanks,
Diana

Helper

Re: VISA Checkout API 6.2.0 iOS NativeAppSample not working

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

Screenshot 2019-07-24 at 12.34.06.png