This repository was archived by the owner on Mar 23, 2020. It is now read-only.
Description I'm using react-native-paypal-wrapper: ^1.3.0,react-native: 0.53.0,iOS
I followed the instruction that you specified in the README file
import PayPal from 'react-native-paypal-wrapper';
const options = {
merchantName : "COMPANY NME",
merchantPrivacyPolicyUri: "https://link.com/privacy",
merchantUserAgreementUri: "https://link.com/terms",
}
PayPal.initializeWithOptions(PayPal.SANDBOX, "<client_id here>", options);
Calling the future payment to get the authorization code
PayPal
.obtainConsent()
.then(authorization => console.log(authorization))
.catch(error => console.log(error));
will always return the results of the NO NETWORK environment.
Client:
environment: "mock"
paypal_sdk_version : "2.16.1"
platform : "iOS"
product_name : "PayPal iOS SDK"
response:
code : "AuthorizationCodeForNoNetworkEnvironment"
response_type : "authorization_code"
any thoughts?
Reactions are currently unavailable
I'm using
react-native-paypal-wrapper: ^1.3.0,react-native: 0.53.0,iOSI followed the instruction that you specified in the README file
Calling the future payment to get the authorization code
will always return the results of the NO NETWORK environment.
any thoughts?