79362925

Date: 2025-01-16 20:06:06
Score: 2
Natty:
Report link

You can't use your own UI fields to capture raw card information as passing raw card information to Stripe's API comes with some requirements and requires approval from Support.

I'd recommend reading https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis and reaching out to their Support team if you meet the requirements.

According to docs - CardForm and CardField both do support style parameter. Have you tried using that to customize the look?

https://stripe.dev/stripe-react-native/api-reference/index.html#CardField

https://stripe.dev/stripe-react-native/api-reference/index.html#CardForm

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: hanzo