#Ajay479
1 messages · Page 1 of 1 (latest)
Account ID should be available in the Dashboard under the Connect tab. You can also search by the email in the search bar
Hm I might be doing something wrong then, it looks like we don't have connect
I am wanting to resend an event from live mode to a different person on test mode (so I can test)
Should I just overwrite the customer param on the event?
Oh, you're looking for the Customer ID then (not account_id). You will need to recreate the customer in test-mode, since live-mode customers are not available in test-mode
Is there an easy way to do that?
Many. There's a customers tab where you can create customers. There's also a Customers API if you want to create them programmatically.
Why couldn't I just use another account that already exists on test mode?
Should I just be editing test mode events instead of trying to reuse live events?
You can't edit events. What are you trying to do specifically?
Why couldn't I just use another account that already exists on test mode?
You can, but they might not have the same type of Payment Method or default behavior, which is why I proposed creating a new test-mode customer that is identical to the live-mode customer
https://stripe.com/docs/cli/events/resend#events_resend-param
I am trying to send an invoice.updated event with paid=false
I was trying to use the same event that caused issues but it is probably easier just to trigger event
Ahhh, okay. Yeah, you can only resend identical events, so the same exact event with the same customer would be sent to the endpoint that you specify.
Does that help at all?
That explains why what I was trying to do, didn't work, thanks.
Is there a way to trigger events for specific customer?
Yup! If you look at the --add flag, you'll see an example of passing in an existing Customer ID: https://stripe.com/docs/cli/trigger#trigger-add