#ahad-reactnative

1 messages · Page 1 of 1 (latest)

near wharf
nova eagle
#

Yes it says it'll auto install the correct one with expo install

near wharf
#

what error message are you getting?

nova eagle
#

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?

nova eagle
# near wharf what error message are you getting?

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

near wharf
#

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

Ensure PCI compliance and secure communications between your customer and your server.

nova eagle
near wharf
#

are you using Stripe Terminal?

#

the PaymentSheet wouldn't parse the card from a regular magnetic card reader. If you want to collect card details from a POS, then you would want to use Stripe Terminal.

nova eagle
#

Stripe Terminal doesn't have an official React Native integration

#

I would have used it if there were an official integration