I recently received an email telling us that our existing app integration will stop working on the 7th of december, but the react native package I use (react-native-paypal-gateway) uses the mobile sdk, and hasn't been updated. I am now trying to implement paypal payments in react native using PayPal Orders v2 API I am loading the approve link https://www.paypal.com/checkoutnow?token= in the webview. But when approving the payment, it just refreshes the screen, it doesnt redirect to the return_url specified in the intent. Here's my WebView code <WebView source={{ uri: this.state.paypalLink }} javaScriptEnabled={true} domStorageEnabled={true} startInLoadingState={false} onNavigationStateChange={this.onNavigationStateChange} /> How can I detect that payment was made?
... View more