#kppro

1 messages · Page 1 of 1 (latest)

vast flickerBOT
sterile ruin
#

Hi! Let me help you with this.

latent minnow
#

Hi thanks

sterile ruin
latent minnow
#

the card element doesn't seems highly customizable like the screenshot

#

I do not think I can achieve the same result with the card element, can I ?

#

also with the card element it seems I can access the user entered data in the fields

sterile ruin
#

No, all card/payment method collection elements from Stripe are PCI compliant.

latent minnow
#

so it means even if the sdk give us access to the card data that the user entered we are still PCI compliant because we use the Stripe Card Element and we "say" in good faith I do not send this to my server or store it elsewhere ?

sterile ruin
#

How would you have access to card data?

latent minnow
#

like this ?

if let cardTextField = MySTPPaymentCardTextField {
cardParams.number = cardTextField.cardNumber
cardParams.expMonth = cardTextField.expirationMonth
cardParams.expYear = cardTextField.expirationYear
cardParams.cvc = cardTextField.cvc
}

sterile ruin
#

You shouldn't be able to do that. Does it work for you?

latent minnow
#

ok so we are not supposed to be able to access this. From what I recall when we test CardElement yes we were able to do that, that is why we didn't use it at that time

#

to stay PCI compliant

#

I will try to reproduce again to confirm this

#

regarding the other question, if CardElement is the only way to have a custom Stripe form, is it customizable (because I don't see options in the doc about this) ? like to be able to do the form on the screenshot

#

or is the final look only like the one on the documentation for ios & android

sterile ruin
#

You can't separate the fields unfortunately.

#

You could instead use WebView and use Payment Element for the web.

latent minnow
#

interesting. thanks. I guess the other app I screenshot as an example which state powered by Stripe, is doing is or maybe not caring about being PCI Compliant and just use their form

#

thanks for the information. I am satisfied with my care !

#

I will investigate again the card element when I can. Have a good day 🙂

sterile ruin
#

Happy to help!