Anjali Deshmukh
Anjali Deshmukh

Reputation: 65

TypeError: null is not an object (evaluating '_NativeStripeSdk.default.initialise') In react native

enter image description here

I am trying to link stripe payment to react native expo using the @stripe/stripe-react-native package but i am getting error while providing publishable key to stripe provider element

Upvotes: 0

Views: 988

Answers (2)

Himanshu Prajapati
Himanshu Prajapati

Reputation: 134

Looks Like, SDK is not initialised properly. SDK functions call before SDK is initialised Please follow the steps of SDK configuration.

https://www.npmjs.com/package/@stripe/stripe-react-native

Upvotes: 0

Related Questions