#ms.6
1 messages · Page 1 of 1 (latest)
Do you have documentation that you're following?
Yes
Ok I'm using raw card data api as I want to use my own custom designed card input elements - not stripes provided ones (I dont like stripe element design). How would I properly convert the card details into a token from the client side
For PCI compliance I should not be sending raw card details to my backend server, so I am trying to create a token out of the card details to send to my server.
In my server I link the card with the appropriate stripe customer account.
Here's a guide on how to do that: https://stripe.com/docs/payments/accept-card-payments?platform=web&ui=elements
If I wanted to create a custom add payment card form like this:
Is this possible with stripe elements?
Or would I have to use raw card data api and create my own form and handle PCI myself?
@wraith tiger Is it possible to create the add payment card form I posted above with stripe elements?
Yup! You can customize the Payment Element in a variety of ways
Sorry im not sure if you understand what Im saying
the links you are sending me of stripe elements are nothing like what I want
I sent you an image of a custom add payment card form and I dont see any examples of me being able to do that in the stripe documentation
You can do that if you create a Payment Element that only accepts card payments, then pass custom style and appearance options.
and I can only request the users name and postcode for the payment? because I dont want to request email as is in the standard stripe payment form.