#sam-reactnative-stripesdk

1 messages · Page 1 of 1 (latest)

plucky badgerBOT
stray minnow
last stream
stray minnow
#

How are you initializing the StripeProvider?

last stream
#
import { StripeProvider } from '@stripe/stripe-react-native';

import CheckoutPage from './CheckoutPage';

const CheckoutpageContainer = (): JSX.Element => {
  

  return (
    <StripeProvider
    publishableKey="pk_..."
    >
      <CheckoutPage />
    </StripeProvider>
  );
};

export default CheckoutpageContainer;
#

The error on the android emulator looks like this. Is there something I need to do to get the native code synced up? To be clear the project is not pure react native

stray minnow
#

To be clear the project is not pure react native
Unfortunately I don't know what that means

#

And this will likely require a significant amount of debugging and testing that I can't do here