#stevepixodeo_code
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/1311967138558377995
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
hello! can you share the PaymentIntent id?
yes sure, here is pm_1QQPHIH7qxXXRTHJjeSfK7If
the PaymentIntent id starts with the prefix pi_
sorry its not return for me paymentintent id
i'm sorry i don't understand, stripe.paymentIntents.create will create a PaymentIntent unless you're running into an error. Are you saying your code is throwing an error?
i received an error message: Received unknown parameter: customer_details
there's no such parameter customer_details when creating a PaymentIntent : https://docs.stripe.com/api/payment_intents/create
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
you should omit that parameter
thank you
i have question about automatic calculate tax for PaymentIntent
i want to retrieve tax for each PaymentIntent so how can i do it, please?
gimme a while to type out an answer, in short, PaymentIntents doesn't support automatic tax natively
There are a couple of options here, you can use if you want to use Automatic Tax :
- Checkout Sessions : https://docs.stripe.com/payments/checkout
- One-off invoices : https://docs.stripe.com/invoicing/integration
- use the Stripe Tax API : https://docs.stripe.com/tax/custom to calculate the tax amount separately and then create the PaymentIntent
- If you can get access to this private preview : https://docs.stripe.com/checkout/custom-checkout/overview
Use Stripe Tax APIs to calculate sales tax, GST, and VAT with Stripe's payments APIs and non-Stripe payment processors