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.
Can you please advise.
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!
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.
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
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!