#zaq_unexpected

1 messages ยท Page 1 of 1 (latest)

minor novaBOT
tribal graniteBOT
#

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.

minor novaBOT
#

๐Ÿ‘‹ 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/1235750618455474296

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

lilac moon
#

Hi there, can you share with me the PaymentIntent ID?

final peak
#

pi_3PC9lDE1o3vQgPLo0EgltqL5

lilac moon
#

OK, I assume you are doing a separate charge and transfer?

final peak
#

i didnt want to, but thats my attempt right now

#

I was having success doing a charge and transfer all at once. but i wasnt able to attach metadata to the transfer

lilac moon
#

You can follow this guide to solve the problem.

when creating a transfer, tie it to an existing charge by specifying the charge ID as the source_transaction parameter. With a source_transaction, the transfer request returns success regardless of your available balance.

final peak
#

okay. while i have you here, am i missing something that would have enabled me to attach metadata to the transfer object. if i was doing a charge and transfer at the same time?

lilac moon
final peak
#

yeah. but when i put metadata on, it only returned back to me in the paymentIntent.success message. not the transfer.created message

#

its ok. if this other method works we'll be fine

#

would the source_transation's CHARGE ID be the ID of the paymentIntent?

lilac moon
#

No, it's the paymentIntent's latest_charge

final peak
#

THANK YOU

#

its working ๐Ÿ˜„