#jessp1736
1 messages · Page 1 of 1 (latest)
stripe trigger payment_method.attached --add payment_method:customer=cus_OAYWucHLP5ea3S
when debugging the event object the customer on the PaymentMethod is 'cus_ObPjQcXMtj4kGc'
Hello! Yeah, I don't think that will work as-is.
dang
It would likely be easier to write code to actually do this. Why are you trying to trigger this Event?
Testing the webhook
Yeah, the underlying fixture for this Event in the the Stripe CLI doesn't allow you to specify a Customer, it always creates a new one.
You would need to either write your own custom fixture or perform the attach manually.
can I set the metadata on that customer by passing in dot notion on it?
I doubt it since it's created new like you just said.
Not using the CLI, no.