#funk101

1 messages ยท Page 1 of 1 (latest)

sly cloudBOT
warm furnace
trail ember
#

thanks I'll check

#

not sure of syntax, is this right? stripe trigger customer.subscription.updated --override fixtureName:subscription.cancel_at_period_end=true

wanton igloo
#

Hi ๐Ÿ‘‹

you wouldn't need to include fixtureName. Unless that's a placeholder

trail ember
#

what is considered a "fixtureName"?

#

this -> stripe trigger customer.subscription.updated --override subscription:cancel_at_period_end=true

#

that seemed to work

#

hmm, but you can only add 1 parameter?

#

this is not possible I guess -> stripe trigger customer.subscription.updated --override [subscription:id:sub_1MP7OgJvvgQ6mkrVnau5icsb,subscription:cancel_at_period_end=true]

wanton igloo
#

I don't think that would be properly interpreted. Have you tried simply using multiple assignment expressions with spaces?

#

e.g.

stripe trigger customer.subscription.updated --override subscription:customer_id=cux_ZZZZ subscription:price_id=price_XXXX
trail ember
#

did this -> stripe trigger customer.subscription.updated --override subscription:id=sub_1MP7OgJvvgQ6mkrVnau5icsb --override subscription:cancel_at_period_end=true got this -> Trigger failed: Request failed, status=400, body={ "error": { "code": "parameter_unknown", "doc_url": "https://stripe.com/docs/error-codes/parameter-unknown", "message": "Received unknown parameter: id", "param": "id", "request_log_url": "https://dashboard.stripe.com/test/logs/req_q0TmOjSgyPIxPN?t=1675097804", "type": "invalid_request_error" } }

#

"id" I guess is not the right param

wanton igloo
trail ember
#

thanks