#Gary4091-elements

1 messages · Page 1 of 1 (latest)

desert chasm
#

Yes, you can use elements to collect on the credit card and CVV but it won't be on a single line anymore

#

Instead of using the card element, we also provide a multi-line split version with cardNumber, cardExpiry, and cardCvc elements

sullen vessel
#

What we need is to collect Card Number and CVV only via Element

#

The other data we need to submit from simple text boxes on our checkout form. Can we do that and still be in PCI compliance?

desert chasm
#

Let me try this out on my end really quick and confirm that this works

sullen vessel
#

Thank YOU so much!

desert chasm
#

Ah, I thought only providing the two would be a nice workaround but it looks like you need all three elements for it to work

sullen vessel
#

So we need to supply Expiration Date on the Element also?

desert chasm
#

Yes - you need all three for it to work

sullen vessel
#

One more question. Can we get an Expiration Date value from STRIPE after we supplied it?

#

so we can record it to our database?

pallid wedge
#

For PCI reasons you have to let Stripe collectr card number, expiration date and CVC with Elements. You can not collect expiration date yourself

sullen vessel
#

I was reading that Expiration Date without Card Number is considered a non-sensitive information

#

It is just a date

pallid wedge
#

Sure but we don't support providing just the expiration date so it's really not something you can do or should try. You need to use Elements and let us do this entirely

sullen vessel
#

Understood

#

May I ask one more question?

pallid wedge
#

of course as many as you need

sullen vessel
#

Our current checkout process has 2 pages that contains credit card info:

#

First Page - contains everything but CVV

#

A second page create CVV

#

Can Setup Intent first create CC Payment Method for a customer without CVV (via ELEMENTS on first checkout page) and then APPEND this payment method with CVV (on our second checkout page)?

pallid wedge
#

honestly you need to change your entire integration path it really shouldn't split the two like that it'll never work with Elements

#

I know it always seems easier to keep the UI you already have, but I would strongly discourage that approach

sullen vessel
#

Hmm

#

But CVV value that can't be stored for more than N days per PCI Requirement

#

I was reading in Stripe docs that we can update CVV using tokenization, just wanted the confirmation

#

I know the ideal way would be to start from scratch and do it right

pallid wedge
#

you really need to, you shouldn't try the approach you are taking honestly

#

I worry you're mixing many things up together

#

what does the "stored CVC delay" have to do with anything when you ask all at once?

sullen vessel
#

But the whole things about Elements vs Pre-built Stripe checkout

#

Ok, let me answer your question:

#

Let's say we created a Payment Method for credit card future use

#

Customer came in 30 days and want to use the credit card on-file

#

We allow him to use the credit card on-file but to increase security we ask him to enter CVC because:

pallid wedge
#

Okay so those are two completely separate flows

#

you need to build them completely separately

sullen vessel
#
  1. CVC would not be availble at STRIPE for this payment method after 30 days
pallid wedge
#

In one case, you collect card details upfront with Elements. You get number, expiration date and CVC with Elements (And pass the rest if you want such as name, address, email from your own form)

Separately, when someone comes 30 days later to pay again with the saved card, you ask for their CVC with a CVC element only to pass this as part of the payment confirmation and have the bank check this

#

it's different UIs, different flows, different code overall. Don't try and split the CVC step off of the "payment details collection" to make the code "unified" it will just cause issues

sullen vessel
#

I understand now

#

Thank you

#

Another question

#

Can we use Element that contain the following 3 datasets:

#
  1. Card Number
#
  1. Expiration Date
#
  1. CVV
#

This is a minimal dataset to charge the card as I understand

#

BUT, if we want to supply ZIP Code and Name from our Database to have more secure transaction?

#

Can we do that?

main lotus
#

Hello! Taking over for @pallid wedge. Yep, you can do that! You can specify additional billing details to use in your code. Are you using stripe.confirmCardPayment?

sullen vessel
#

We saving card for later use

#

Setup Intenet

#

Creating Customer, adding Payment Method

#

We have some non-sensitive data in our database that we want to use

main lotus
#

So you're using stripe.confirmCardSetup then, right?

sullen vessel
#

Yes

main lotus
sullen vessel
#

WOW. Great to know

#

We are working on the concept for now to better understand possible integration options. What information we can get back from stripe that was supplied via elements? It is my understanding we can get last 4 of credit card

#

Any other non-sensitive data supplied via ELEMENTS we can get to store in our database?

pallid wedge
#

(everything we return you can save)