#richard_20727
1 messages · Page 1 of 1 (latest)
Can you be specific about where you're looking and expecting to see certain data but not finding it?
Yeah so when we create the PaymentIntent we pass these params along with it amount, currency, description, receipt_email on_behalf_of application_fee_amount, transfer_data { destination }
this works as expected. I log into our dashboard and see.... do you mind if i upload a screeen shot?
That's fine, best to use test mode and redact and private info though, this channel is public
this is in test mode
this looks awesome what we expect to see
but our customer isn't seeing this data when they log in, they see
Ah gotcha
So that info is not propagated with destination payments, and accounts should generally not be seeing those transfer payments
But if you need to you can manually update those objects after the payment succeeds
(ie, manually replicate the PI info you set to the py_123 charge created on the connected account)
hmm i'm not followin'
or do you mean like click edit on the description and manually put it in?
No i mean via the API
when the payment succeeds and the transfer is created, you can manually update the charge objects on the connected account
oh yes! ok this is what i was trying to do earlier today. I see the the transfer object inside the payment details of pi_3NxhaR2u61NOe90519h6l7Cf. I need to grab that from the Payment Intent. Alrighty time for CLI work
sweet ok and just for my sanity. Once i get the transfer object i want to update the metadata?
You can get this on the payment intent by expanding latest_charge.transfer then looking at the destination_payment
Then you'd update the py_123 on the connected account using the stripe-account header
(charge update API)
where did latest_charge come from? is this a method i can use?
It's on the payment intent:
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
thanks so much. i'm gonna let you go and try to figure this out now. thanks for your help!
NP - good luck with it!