Open rameezh88 opened 8 years ago
And what the bank authentication page says ? Any attempts to do a POST to a provided postback url
I am not sure if it has tried to do a POST to the postback url. The steps I did were as follows:
Hope this helps in clarifying the issue. Please let me know if you have any more questions.
Well, the Stripe could be source of the problem. Because this component is intended to work with VISA/MC protocol (Verified By Visa / MasterCard Secure Code). PaReq and ACS are required values. Basically, ACS is the redirect url to a card issuer bank for performing an auth and it varies from card to card. Moreover, stripe cannot perform a 3DSecure authentication as it must be done at the card issuer bank web page which varies from card to card.
So, basically stripe should start the payment processing, return you the PaReq and ACS values. Then you use those values with 3DSView component which navigates to the card issuer bank web page and waits for authentication result. Then it gives you the PaReq return value you need then to send back to Stripe.
Hi,
It was a false alarm. The issue was with the WebView settings itself. All I had to do was call webView.getSettings().enableDomStorage(); And then it worked.
Great it was sorted out. So it did not work until you added that method or removed ?
That's right. It didn't work until then. Maybe this is something you could consider as well, for your WebView.
hmm, interesting.
Will check this at my side and probably I should add this configuration option into the library default setup. Thanks for discovering this issue !
Hi. What about solution of this problem? Some banks works with webView.getSettings().setDomStorageEnabled(true);, But some banks need webView.getSettings().setDomStorageEnabled(false);
@Pahanuch shouldn't the enabled dom storage be enough for all banks even if they're don not require it ?
I'm sorry, I don't understand. What I must to do to resolve this problem ?
@Pahanuch simply always set it to true: webView.getSettings().setDomStorageEnabled(true)
Can you show example of your D3SActivity ? With D3SSViewAuthorizationListener onAuthorizationCompleted
By the way I need to load pages with delay
postDelayed(() -> view.loadUrl(String.format("javascript:window.%s.processHTML(document.getElementsByTagName('html')[0].innerHTML);", JavaScriptNS)), 500);
Because App too fast get payment result method
Hi,
I'm trying to implement some 3d-secure logic in my app. It is for the Swedish market. I find that the D3SView successfully redirects to the correct URL, but once I authenticate the transaction, the onAuthorizationCompleted() method is not called. Can you please help me out in knowing if this is a common issue? I am working with this technology for the first time.