J Jorge Sanz Member Licensed User Oct 7, 2019 #1 Hello, I try to load a payment gateway page in a webview and it gives me the error *** WebKit discarded an uncaught exception in the webView: decidePolicyForNavigationAction: request: frame: decisionListener: delegate: <NSInvalidArgumentException> *** - [__ NSPlaceholderArray initWithObjects: count:]: attempt to insert nil object from objects [0] A "normal" website shows it without problems. What I can do?
Hello, I try to load a payment gateway page in a webview and it gives me the error *** WebKit discarded an uncaught exception in the webView: decidePolicyForNavigationAction: request: frame: decisionListener: delegate: <NSInvalidArgumentException> *** - [__ NSPlaceholderArray initWithObjects: count:]: attempt to insert nil object from objects [0] A "normal" website shows it without problems. What I can do?
Erel B4X founder Staff member Licensed User Longtime User Oct 8, 2019 #2 First step is to switch to WKWebView from iUI8 library. Upvote 0
J Jorge Sanz Member Licensed User Oct 8, 2019 #3 I also tried and it doesn't give an error but it doesn't show the web Last edited: Oct 8, 2019 Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 10, 2019 #4 Can you post the URL? Does it work if you open it with Safari? SafariController from iUI9? Upvote 0
J Jorge Sanz Member Licensed User Oct 10, 2019 #5 https://hpp.sandbox.addonpayments.c...&ORDER_ID=19000187006801&AMOUNT=600&CURRENCY= EUR&SHA1HASH=45cf771b6786b69bd18bbacec73c9a03afc5ece2&MERCHANT_RESPONSE_URL=http://www.xxxx.esx/pasarela.php&PA...XIST=1&HPP_VERSION=2&HPP_SELECT_STORED_CARD=1 Upvote 0
https://hpp.sandbox.addonpayments.c...&ORDER_ID=19000187006801&AMOUNT=600&CURRENCY= EUR&SHA1HASH=45cf771b6786b69bd18bbacec73c9a03afc5ece2&MERCHANT_RESPONSE_URL=http://www.xxxx.esx/pasarela.php&PA...XIST=1&HPP_VERSION=2&HPP_SELECT_STORED_CARD=1
Erel B4X founder Staff member Licensed User Longtime User Oct 11, 2019 #6 The link doesn't seem to work for me. What is the expected response? Try to download it with iHttpUtils2. Upvote 0
The link doesn't seem to work for me. What is the expected response? Try to download it with iHttpUtils2.
J Jorge Sanz Member Licensed User Oct 13, 2019 #7 Hello, The url I have published is not the real one since I don't want to publish it. If you want to go through private. If I try to download the web, I get the error "URL not supported" Upvote 0
Hello, The url I have published is not the real one since I don't want to publish it. If you want to go through private. If I try to download the web, I get the error "URL not supported"