I am now trying to implement paypal payments in react native using sandbox PayPal Orders v2 API i am passing following details: dataDetail = { "intent": "CAPTURE", "purchase_units": [ { "amount": { "currency_code": currency, "value": amount } } ], "shippingAddressRequired":false, "redirect_urls": { "return_url": "http://www.google.com", "cancel_url": "http://www.google.com" } } I am loading the approve link https://www.sandbox.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} /> please help
... View more