#Mike Taylor
1 messages · Page 1 of 1 (latest)
Hello! Can you give me the ID of a Transfer which you set a description on so I can take a closer look?
Or the ID of the corresponding Charge on the connected account (starts with py_)?
Based on what you said, it sounds like you're setting the description on the Transfer object, which won't work. You need to set the description on the associated Charge on the connected account instead.
tr_3LkdlvCwAArHtQSX0BrM67qC
Hi @violet tundra I'm taking over
We get the source transaction, and then to a stripe.charges.update
``
const sourceTransaction = result.source_transaction;
return stripe.charges.update(
sourceTransaction,
{description: item.name}
).then ...
``
OK, so if you want to set a description on the connect charge object, you should make a connect request with Stripe-Account header, where the Stripe-Account is the connected account ID
Can you share with me the request ID corresponding to the charge update request? Here's how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_JjsOkMGS85PTRX
OK, you are updating the charge object on your platform, not connected account.
You should update the charge object on the connected account, which you get from the destination_payment of the transfer, and make a connect request to update this object
ok just checking now
Your code should be something like this
{description: 'YOUR_DESCRIPTION'},
{stripeAccount: '{{CONNECTED_STRIPE_ACCOUNT_ID}}'}
);```
thanks thats what we were looking for, trying out now
we never quite understand the double brackets in the docs. so is it
``
return stripe.charges.update(
destinationPayment,
{description: item.name},
{stripeAccount: accountId},
).then..
``