#shalu-kumari_api
1 messages · Page 1 of 1 (latest)
👋 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/1285888551598293104
📝 Have more to share? Add more details, code, screenshots, videos, etc. below.
Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- shalu-kumari_api, 10 minutes ago, 3 messages
- shalu-kumari_api, 17 hours ago, 106 messages
- shalu-kumari_api, 22 hours ago, 19 messages
👋 happy to help
ya
as my colleague tried to explain earlier it's not possible to send raw card numbers as it's not PCI compliant
but this is the mentioned in the doc
so how we can implemented
I agree with you, but this is not possible unless you are PCI compliant and you get access to this feature! I will flag it to our Docs team to change that example
it's explained here https://docs.stripe.com/api/payment_methods/create#create_payment_method-card how to use it
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If this is a card PaymentMethod, this hash contains the user’s card details. For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format card: {token: "tok_visa"}. When providing a card number, you must meet the requirements for PCI compliance. We strongly recommend using Stripe.js instead of interacting with this API directly.
so you can use card: {token: "tok_visa"} as an alternative
let me chcked can you provide the curl request updated
i f you want say that i need to create token for card right
https://docs.stripe.com/api/tokens/create_card
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
no
tok_visa is a magic string
no ,I want used a card number for testing purpose
it's not possible to create a payment method using a card number via the API if you're not PCI compliant
you need to use Stripe.js in the frontend to generate the PaymentMethod
how we can do that PCI compliant becuse we don't go to the frontented side
are you a MOTO business?
i am devloper ,I need to feasibility checked its fisible then i puposed the client
to used stripe
would you mind describing the business model and the use case you have?
Requirnmnet :
- they want the mutiple payment method option shown like card and ach method but they do not want go with the front end side.
Payment flow all they want work with backend side and done sucessful payment
that's not what I'm asking about
how your customers will give you these information?
there must be someway for them to do it
if it's not on the frontend then how?
in my crm they customized the ui using lwc they give information
LWC is the ui frame work customized and user give the input
your customer will use your CRM? or is it an employee who uses the CRM and enters the information given by the customer to the employee?
kindly let me know if the card number and theire details have given then payment method is created or not