#Jeremy T.
1 messages · Page 1 of 1 (latest)
hello! can you share more on why you're doing this i.e. just getting the card details then discarding the created payment method?
Sure. On our mobile app, we have a requirement where we show different dialogs/screens depending on the card's brand and its funding before we associate the card to the customer/user.
can you illustrate this with an example perhaps?
I'd like to know what would the dialog / screen say e.g. for a specific card brand and funding?
We have different texts and flow depending on if it's a Visa Credit card or MasterCard.
for context, i strongly discourage doing this because :
- yes, there are rate limits : 100/rps - https://stripe.com/docs/rate-limits
- Collecting the raw credit card numbers in your custom form and then using the Stripe API directly to tokenize the cards subjects you to the full PCI compliance standards. In your case this means you’d have to submit a SAQ D form annually to prove that you are PCI compliant. It’s a 40 page form and not a headache most people want to be dealing with — see https://stripe.com/docs/security/guide#validating-pci-compliance under "API Direct"
If you still want to determine the card brand up front, you can probably make use of the Stripe SDKs (don't use the create PaymentMethod API directly) - https://stripe.com/docs/payments/save-and-reuse-cards-only to retrieve the card details upfront
But this one uses your own CardInputWidget, right?
yes it does