mliki melek
mliki melek

Reputation: 29

Get response from webView after redirect React-Native, Paytabs

I’m setting up an online payments using Paytabs payment Link in react-native WebView. And on redirect in the payment webPage it display a json Response. is there any way to to access that response in my react-native App? I already tried onMessage and onNavigationStateChange.

this is payment Flow and the response i wanna get in the App

react Native WebView

WebView action

renderContent() { return ( console.log("event",navEvent)} onMessage={(event)=> console.log("event",event)} style={{ flex: 1 }} />) }

Upvotes: 2

Views: 735

Answers (0)

Related Questions