#ahad-reactnative
1 messages · Page 1 of 1 (latest)
hi there! Each Expo SDK version requires a specific stripe-react-native version. Have you tried following the steps here?https://github.com/stripe/stripe-react-native#installation
Yes it says it'll auto install the correct one with expo install
what error message are you getting?
But before I go down that rabbit hole according to the API docs, the only way it seems to process a payment is through the page sheet. Is that correct?
There were a lot of errors, it's late so I removed the sdk and was reading through the api to see if i could just send a rest call to stripe to process the payment since I already have the full flow setup even with the custom card reader
If you're using React Native, yes - you would collect the card (or payment method) details via the PaymentSheet. That's our recommended way.
If you're talking about collecting the credit card details via your own custom fields and creating a PaymentMethod via the API - we actively discourage you from doing this because by handling raw card numbers directly you become subject to the full PCI compliance standards. This means you’d have to submit a SAQ D form annually to prove that you are PCI compliant [0]. It’s a 40 page form and not a headache most people want to be dealing with.
[0] select API direct - https://stripe.com/docs/security/guide#validating-pci-compliance
Oh wow,
Do you know if the payment sheet would parse the card from a regular magnetic card reader?