#orangebanana_code

1 messages ¡ Page 1 of 1 (latest)

steady cypressBOT
#

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

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

burnt elbow
#

We are unfamiliar with the code. Is it using some third party plugin?

queen sand
#

Its using stripe package

#
#

The idea is that we have description and metadata in payment intent. An amount from this payment intent is then transferred to a platform connected account.

#

Then the connected account needs to see the same description and metadata under his payment which related to platfrom payment intent

burnt elbow
#

Yeah I see. Please check the document above

queen sand
#

That would work but I don't have the transfer id in payment intent

burnt elbow
#

You can call Retrieve PaymentIntent API, expanding latest_charge

queen sand
#

So payment intent has only one charge?

#

Because previously it was like a list of charges

steady cypressBOT
burnt elbow
#

Yes for now only the latest

crisp sphinx
queen sand
#

Ok. I will check these out

queen sand
#

Listing all charges doesn't work in my case

#

Solved with expanding latest_charge and retriving the transfer after that

#

Is there a way to expand the retrieved paymentIntent latest_charge and also from latest charge expand with transfer?

#

So I don't have to add another retrive for transfer

crisp sphinx
queen sand
#

Ohh that's really nice

#

Thank you both!

crisp sphinx
#

Happy to help.