Re: Help needed integrating Visa In App Push Provisioning SDK in React Native

jose_asilis
New Contributor

Help needed integrating Visa In App Push Provisioning SDK in React Native

 

Hi everyone :). Thanks for having this Developer Center. We're currently in the process of implementing the Visa SDK in our application and need some help. We are using a third-party provider, Unit, that handles all of the banking portions of our app.

 

We're trying to implement the Visa Push Provisioning SDK into a react-native application. We are focusing first on integrating the Android portion, and we've run into several issues.

 

We've been able to get the signed nonce after initializing the SDK, managed to get the nonce from Unit, but the app crashes once it reaches the launWallet method:

 

    // to declare delegate methods and initialize (described below)  }
    // Get eligible wallets
    @ReactMethod
    public void launchGetWallets(String encPayload, Callback errorCallback, Callback successCallback) {
        Log.i("DEBUG-VISA", "Launching GET WALLETS");
        this.errorCallback = errorCallback;
        this.successCallback = successCallback;
        Log.i("DEBUG-VISA", "Launching GET WALLETS after callbacks");
       
        try {
            visaPushProvisioningInterface.getSupportedWallets(new VPSupportedWalletRequest(encPayload, null));
        } catch(Exception e) {
            Log.e("DEBUG-VISA", e.getMessage());
        }
    }

 

We are currently looking for additional help, to see if there is an example source code from Visa that can provide us, or who can we contact for further assistance?

 

 

 

6 REPLIES 6
jenn_kh
Community Moderator

Re: Help needed integrating Visa In App Push Provisioning SDK in React Native

Thank you for reaching out to the community, @jose_asilis! An agent is looking into this for you and will get back to you soon. If any community members know of a possible solution, please feel free to share it here! - Jenn

API_Products
Visa Developer Support Specialist

Re: Help needed integrating Visa In App Push Provisioning SDK in React Native

Hi @jose_asilis,

 

Please provide the information below for further investigation of the error.

 

1. Endpoint
2. Request Header
3. Request Body
4. Response Header (include the x-correlation-id)
5. Response Body

Using SoapUI, you can find the x-correlation-id in the Raw Tab of the response header.




Thanks,

Diana



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

jose_asilis
New Contributor

Re: Help needed integrating Visa In App Push Provisioning SDK in React Native

Hi Diana!! Would you kindly let me know which endpoint? Is it Unit's endpoint?

 

I'm currently using the SDK, and the only endpoint I'm interacting with is Unit's.

https://docs.unit.co/cards-add-to-mobile-wallet

 

 

API_Products
Visa Developer Support Specialist

Re: Help needed integrating Visa In App Push Provisioning SDK in React Native

Hi @jose_asilis,

 

For further investigation, please provide us with the x-correlation-id from the Response Header.




Thanks,

Diana



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

API_Products
Visa Developer Support Specialist

Re: Help needed integrating Visa In App Push Provisioning SDK in React Native

Hi @jose_asilis,

 

Please confirm if you're still experiencing an error. If so, please provide me with the x-correlation-id for investigation. 




Thanks,

Diana



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

API_Products
Visa Developer Support Specialist

Re: Help needed integrating Visa In App Push Provisioning SDK in React Native

Hi @jose_asilis,

 

It appears that we're communicating with each other over email, hence, I'll take you off my contact list on this community forum. Let's continue to discuss using email. 




Thanks,

Diana



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