#bilalfarman_code

1 messages ¡ Page 1 of 1 (latest)

sour vineBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1238481466598490182

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

bronze epoch
#

Hey there, as the error message says, this is not recommended.

#

As the end of the message also says (cut off in what you pasted above) this is possible to enable, but you must contact support to request access after proving PCI compliance.

#

So best thing is to not do this, and use Elements instead to colelct card details securely.

rustic schooner
#

here how I am collecting the card data

#

isn't it secure?

#

check the screenshot

bronze epoch
#

I see no screenshot, but you code shows you sending card details to our api directly

#

Those look like your own form fields, which you're sending to the API

rustic schooner
#

can't we use own fields instead of stripe form?

bronze epoch
#

Not by default, no. That requires access to send raw card details since you are handling those values.

#

You need to be PCI compliant to do that

rustic schooner
#

If I create the payment intent first and then can I use my own fields form in this case with client_id or token of payment intent?

bronze epoch
#

No, you still need to use elements & Stripe.js to confirm client side

rustic schooner
bronze epoch
#

If you're building this new currently, you should be using v3

#

And then you can use the card element to collect those card details

rustic schooner
#

So in V2 or V3 I need to implement stripe form to collect card information right?

bronze epoch
rustic schooner
#

But implementation of element is disturbing my existing theme flow, how I can tackle it?

bronze epoch