#wuguimei
1 messages · Page 1 of 1 (latest)
Hi there, do you mean you want to get the PCI compliance by yourself (i.e., handle the sensitive card details )
yes
We use the wrong cvc to get the token, and then call https://stripe.com/docs/api/customers/create , we can bind successfully, but the late payment is not successful. We hope to get the result of unsuccessful binding when we bind the card. Do you have any guidance?
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
OK. So basically you want to verify the card before saving it to the customer.
https://stripe.com/docs/payments/setup-intents you should use SetupIntent API
yes
https://stripe.com/docs/payments/save-and-reuse and this is how you should get started
Is this cvc verification performed by the server or the front-end?
We use this interface: https://stripe.com/docs/api/tokens/retrieve , get card information cvc_ Check, but they all return: "unchecked", please give me a guide
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
When you confirm a SetupIntent, Stripe will send the card details to card network for verification.
Also I'd suggest to upgrade to the new PaymentIntent and SetupIntents API. The legacy Sources and Tokens APIs are already deprecated.
You mean my sdk version is too low?
No, it's not about SDK version. The Sources and Tokens APIs that you are currently looking at are deprecated. I don't recommend you to use them unless you are maintaining a legacy project.
Also I'd suggest you to read through the document that I sent you earlier, so that you'll know how to use SetupIntents API to collect a verified payment_method without charging a customer.
What is the process of integrating PCI compliance?
Are you using Stripe.js in your frontend? or you are using your own HTML form to collect the card details?
yes
https://stripe.com/en-gb-sg/guides/pci-compliance#how-stripe-helps-organisations-achieve-and-maintain-pci-compliance if you are using Stripe.js to tokenzie the card details, you don't need to worry about PCI compliance since Stripe has taken care of it for you