#François-CLI

1 messages · Page 1 of 1 (latest)

prime flare
#

Hi there!

#

You are using the CLI on the platform account? And what are the exact events that you don't see?

plain hazel
#

yes, using CLI on the platform account. Don't see many events; all related to transfers, custumer.created

#

for example

prime flare
#

about the customer.created event. where is the customer actually created: on the platform account or on the connected account?
if you are using direct charges, I'm guessing it's on the connected account. in this case you need to make sure to use --forward-connect-to <url> because you want a Connect webhook. https://stripe.com/docs/cli/listen#listen-forward-connect-to

plain hazel
#

that's what I'm using. just now, I can see the customer.created, but nothing about transfers

prime flare
#

well, the transfer is created on the platform account, so in this case you want --forward-to <url>

plain hazel
#

I just run stripe listen --forward-to localhost/webhooks/stripe

#

and as you can see, I receive connect webhooks

#

if you look at pi_3LD2UEIYbwgwFWxv1KDz6pTe it's like if there is no transfer in the dashboard

#

and if I try to refund : Cannot reverse transfer on charge ch_3LD2UEIYbwgwFWxv1IkOHLvh because it does not have an associated transfer.

#

I'm wondering if transfers are used for direct_charge

prime flare
#

I'm windering if transfers are used for direct_charge
indeed, with direct charge the money goes directly to the connected account, and then an optional application fee is sent to the platform account. but there's no transfer.

plain hazel
#

cool, so everything is fine

prime flare
#

yes! I should have realized that sooner, sorry for the confusion.

plain hazel
#

I should have too 🙂

#

thank you !

plain hazel
#

one last thing please. Is there a way, for the standard account I've conncected to the platform via OAuth, to see this connection from its dashboard ?