#François-CLI
1 messages · Page 1 of 1 (latest)
Hi there!
You are using the CLI on the platform account? And what are the exact events that you don't see?
yes, using CLI on the platform account. Don't see many events; all related to transfers, custumer.created
for example
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
that's what I'm using. just now, I can see the customer.created, but nothing about transfers
well, the transfer is created on the platform account, so in this case you want --forward-to <url>
that's because Stripe has two types of webhooks: account webhooks (things happening on your own account) and connect webhooks (things happening on connected accounts). you can learn more about this here: https://stripe.com/docs/connect/webhooks#connect-webhooks
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
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.
cool, so everything is fine
yes! I should have realized that sooner, sorry for the confusion.
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 ?