Visa checkout 6.6.0 issue - Android

Uday
Helper

Visa checkout 6.6.0 issue - Android

Hello, 

While integrating v6.6.0 - SandBox,  we tested the sample which comes with checkout SDK. 

 

Tested on Android O.S 8.0 

  - After tapping on button, it just hangs 

 

CheckoutButton checkoutButton = findViewById(R.id.visaCheckoutButton);
checkoutButton.init(this, ConfigureVisaPaymentInfo.getProfile(),
ConfigureVisaPaymentInfo.getPurchaseInfo(),
new VisaCheckoutSdk.VisaCheckoutResultListener() {
@Override
public void onButtonClick(LaunchReadyHandler launchReadyHandler) {
launchReadyHandler.launch();
}

@Override
public void onResult(VisaPaymentSummary visaPaymentSummary) {
if (VisaPaymentSummary.PAYMENT_SUCCESS.equalsIgnoreCase(
visaPaymentSummary.getStatusName())) {
Log.d(TAG, "Success");
} else if (VisaPaymentSummary.PAYMENT_CANCEL.equalsIgnoreCase(
visaPaymentSummary.getStatusName())) {
Log.d(TAG, "Canceled");
} else if (VisaPaymentSummary.PAYMENT_ERROR.equalsIgnoreCase(
visaPaymentSummary.getStatusName())) {
Log.d(TAG, "Error");
} else if (VisaPaymentSummary.PAYMENT_FAILURE.equalsIgnoreCase(
visaPaymentSummary.getStatusName())) {
Log.d(TAG, "Generic Unknown failure");
}
}
});

 

and on v4.4.2, button not even shows up.

 

 "Uncaught SyntaxError: Use of const in strict mode.", source: https://sandbox.secure.checkout.visa.com/checkout-widget/resources/js/mobile-button.js

 

Note:

It was working fine in v6.3 in all versions except 4.4.2.

https://community.developer.visa.com/t5/Getting-Started-with-Visa/Visa-checkout-Android-v6-3-0-hangs...

 

Can you please advise.

 

4 REPLIES 4
API_Managers
Visa Developer Support Specialist

Re: Visa checkout 6.6.0 issue - Android

Hi @Uday,

 

That's a good question! Can you please email this inquiry to developer@visa.com? After that, someone will reach out to you soon!

 

 




Thanks,

Tee



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

BrianG
Regular Visitor

Re: Visa checkout 6.6.0 issue - Android

I am also getting this issue once again. Last time i submitted a request and they helped me to fix it but i tried the same method again but seems like nothing is working. Help is appreciated.

 

Regards,
Brian.

SV
Regular Visitor

Re: Visa checkout 6.6.0 issue - Android

I am having the same issue with the 6.6.4 version and wondering what the resolution is.

I am trying to run the sample native app as is with my API Key.

Any help would be appreciated.

Thanks

Sita

 

 

 

 

API_Managers
Visa Developer Support Specialist

Re: Visa checkout 6.6.0 issue - Android

Hey @BrianG and @SV,

 

I'd be happy to help you both resolve the Visa Checkout issue that your experiencing. Can you please submit an email inquiry to developer@visa.com about this issue? Once you submit your email, someone from developer support will reach out to you soon!

 




Thanks,

Tee



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