Visa Developer Community

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.

 

2 REPLIES
Community Scholar

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,
Diana

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.

Tags (1)