#jatinder_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/1378009603119251486
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
The error message I am getting is Sending credit card numbers directly to the Stripe API is generally unsafe. To continue processing use Stripe.js, the Stripe mobile bindings, or Stripe Elements. For more information, see https://dashboard.stripe.com/account/integration/settings. If you are qualified to handle card data directly, see https://support.stripe.com/questions/enabling-access-to-raw-card-data-apis.
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
While using sandbox I am able to do that but when I am trying production it gives compiles issue.
Do you have an example of this working for you in a sandbox? That also should not work in test mode without access for your account.
I am trying to develop a stripe connect
This also does not appear to be a connect related request. What are you trying to do?
Overall, you should not be sending raw card details like this, and doing do requires your account to be approved after providing PCI compliance documentation. Please reach out to support if you need this.
But you should be using Elements instead to get card details in the client
can you give an example for the same
Sure, take a look at the docs here for adding the payment element: https://docs.stripe.com/payments/accept-a-payment?platform=web&ui=elements#set-up-stripe.js
Great thanks, I will check and and get back to you If I get any issue.
Just One question will this redirect me to the stripe webpage for payment or will it open a popup on my webpage.
It is embedded in your page, though some payment methods require redirects
Okay great I just need to use pay via card that will work right?