#marka-subscription-update
1 messages · Page 1 of 1 (latest)
Hmm i don't think this can be changed after finalization. Was that aspect something you discussed specifically?
We did. The use case is a failed payment, subscription cancel, user returns and re-subscribes, where we want the option to offer different payment methods to resolve the failed invoice during re-subscribe. If this won't work, any suggestions?
When you create a new subscription you can definitely specify different payment methods
The main restriction is that you can't change this after the invoice has finalized
And to be clear you can change it on the subscription between invoices, you just can't change it on an existing invoice as far as I know
marka-subscription-update
payment_method_types is an array of strings, not a comma separated list @royal mountain
My advice: write real code in your favourite language, don't use the CLI at all for any of this
Thanks. Will try it in the code base. Was worried here though about the incorrect param message. It's shown that wasy in CLI help, and even if just using a single param (card for example), it still has the invalid param error message: req_jS5gDU8E1kk03p
yeah because you're passing it wrong
it's supposed to be a hash with a parameter inside but you did the . thing as a string
which is not really your fault, just the CLI (or curl) makes this hard to grasp. Way way faster not to waste time with those tools in that specific case and write a real example with real code
Great. Will try it shortly. Thanks @tough root .