The webview you get re-directed to, is a mock to show how Visa card’s work, Visa uses the VBV (verified by visa) model you can read more about 3DSecure authentication here, which involves your customer getting redirected to a bank page to enter their iPIN and OTP, we mock the input and redirection flow using the webview that asks you to enter 123456 as your OTP.
You are most likely getting the same view for MasterCard because it is an international MasterCard.
If you use any of our test local MasterCards i.e. MasterCard issued in Nigeria, you should be asked to enter your pin on the same modal without getting redirected.
{“status”:“error”,“message”:“Merchant cannot accept international payments at this time. Please contact support”,“data”:{“code”:“NO_INTL”,“message”:“Merchant cannot accept international payments at this time. Please contact support”}}
my functionalities
new RaveUiManager(this)
.setAmount(bookingResponse?.total!!)
.setCurrency(AdminData.currencyCode)
.setEmail(GetSet.getEmail())
.setfName(GetSet.getName())
.setlName(GetSet.getName())
.allowSaveCardFeature(false)
.setPublicKey(“FLWPUBK_TEST-84cb02bce2d5eeb1ffb7b64208e40e80-X”)
.setEncryptionKey(“FLWSECK_TEST0dda7f1af127”)
.setTxRef(bookingId)
.acceptCardPayments(true)
.acceptMpesaPayments(true)
.onStagingEnv(live_mode)
.setMeta(arrayListOf(Meta(“Test value 1”,“Android”)))
.isPreAuth(true)
.setNarration(“Payment for booking id : $bookingId”)
.shouldDisplayFee(true)
.showStagingLabel(true)
.allowSaveCardFeature(false)
.initialize()