You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the app, I need a WebView because the tokenize() function that transforms the user credit card into a string token is provided as an a <script/> tag for HTML.
However, the Gateway states that in order to allow production-env requests, it requires HTTPS and SSL from the website.
How that applies to WebView? If I inline the , the page won't have HTTPS nor SSL, right? So should I host this html in like a Firebase Hosting (has HTTPS+SSL by default) and use its URL in my WebView? But if doing so, I wouldn't be able to window.ReactNativeWebView.postMessage, right? How could I proceed if using a hosted html?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am starting to use a Payment Gateway.
In the app, I need a WebView because the tokenize() function that transforms the user credit card into a string token is provided as an a <script/> tag for HTML.
However, the Gateway states that in order to allow production-env requests, it requires HTTPS and SSL from the website.
How that applies to WebView? If I inline the , the page won't have HTTPS nor SSL, right? So should I host this html in like a Firebase Hosting (has HTTPS+SSL by default) and use its URL in my WebView? But if doing so, I wouldn't be able to
window.ReactNativeWebView.postMessage
, right? How could I proceed if using a hosted html?Beta Was this translation helpful? Give feedback.
All reactions