#syushchenko_api

1 messages ¡ Page 1 of 1 (latest)

astral hatchBOT
#

👋 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/1422134118141005875

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

fallen canyon
#

hey there! happy to help - would you mind sharing some more details around your question about PaymentIntent objects?

#

generally speaking, a PaymentIntent object won't have a direct connection to a Product object, but the answer could vary depending on your integration (i.e do you use Billing/Invoices? are you integrating with Checkout or Elements?)

rugged prawn
#

We want to integrate with chargebacks911 services, for this we need to create orders in chargebacks911 using the API
All payments will be processed by Stripe. We need to receive a list of payments, including products. We'll be working through Checkout.

fallen canyon
#

ok, if you can share the ID for an example payment I'd be glad to take a look and confirm if it's possible to retrieve the Product info via the API

rugged prawn
#

pi_3SCPBnJnJv30eqKJ1JRzYRQ1

#

Test payment

fallen canyon
rugged prawn
#

Good

#

If we still want to support Elements, which API should we use for that?

fallen canyon
#

integrating directly with PaymentIntents and Elements means that there is no Price/Product used in the integration (because you set the amount and currency directly on the PaymentIntent)

#

Products/Prices only become involved if you're integrating with Checkout/Payment Links, or Invoicing/Billing

rugged prawn
#

Thanks for your help