React Native PayPal intergration using orders v2 api

dan070
New Community Member

I trying to implement paypal payments in react native using [PayPal Orders v2 API](https://developer.paypal.com/docs/api/orders/v2)

When using the approve link https://www.paypal.com/checkoutnow?token= in the webview and clicking continue, it just refreshes the paypal screen. So I can't get payer id.

 

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?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.