I know that this library isn't being that actively maintained and that a new stripe-react-native library is dropping soon. However, I've got an existing project that I am working on that uses tipsi-stripe that I want to upgrade.
The installation instructions here: https://tipsi.github.io/tipsi-stripe/docs/installation.html suggest that the library isn't auto-linked. That you have to run:
yarn add tipsi-stripe
react-native link tipsi-stripe
With the latest version (8.0.2), I can see the error:
/node_modules/tipsi-stripe/ios/TPSStripe/TPSCardField.h:10:9: 'Stripe/Stripe.h' file not found
Same here and seems doesn't maintained it as auto linking not working in react-native 0.60+
Did you added pod 'Stripe', '~> 19.4.0' to your pod file?
Stripe SDK 20+ uses swift package manager & swift, not objective C. As a result, there is no Stripe/Stripe.h if you're on tipsi < 9.0.0, because it expects stripe sdk v19. If you're above Stripe SDK 19, use tipsi v9.0.0 and you won't get this issue with Stripe SDK v20+.
I tried tipsi-stripe (8.0.0, 8.0.1, 8.0.2, 9.0.0), lots of problem happened, I've ever seem this tech dependency before
all the solutions I've been trying,
and it'll happen whenever I change tipsi-stripe version'
XXX module not found
cd ios
rm -rf node_modules
rm -rf pods
yarn install
pod deintegrate
pod update
pod install
npx react-native link xxx
# i.e: npx react-native link tipsi-stripe
cmmand+ shift + k and then rebuildon old version, you don NOT need to add pod 'Stripe', '~> x.x.x' on Podfile
Most helpful comment
Stripe SDK 20+ uses swift package manager & swift, not objective C. As a result, there is no
Stripe/Stripe.hif you're on tipsi < 9.0.0, because it expects stripe sdk v19. If you're above Stripe SDK 19, use tipsi v9.0.0 and you won't get this issue with Stripe SDK v20+.