Hi Folks,
I am trying to build a multi price subscription in stripe via zapier.
I have the price ID’s
I have the customer ID’s
I have a stripe API key
Stripe subscriptions API endpoint https://api.stripe.com/v1/subscriptions
Ideally I’d like to build this in a webhook post.
I’ve had a good look but cant seem to find any examples that will work for this.
Any help greatly appreciated.
TIA
Stripe subscriptions with multiple prices
Hi
Good question.
Seems like you may need to use the concept of a Lookup Table: https://zapier.com/help/create/format/create-lookup-tables-in-zaps
Hey
Sorry, perhaps I wasn't clear. The price ID’s and customer ID’s are already pushed in to the zap via a formstack form. It's more the formatting of the post to stripe that I need assistance with.
Hoping that someone in the community might have experience with it.
Which Stripe API endpoint for Subscriptions are you trying to use?
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/c866e654-9672-4b6d-8df8-468c1fa3ca5b.png)
The Webhooks app can be used as a Zap action step to make an app API POST request: https://zapier.com/apps/webhook/integrations#triggers-and-actions
Hey Troy,
Thanks for getting back.
So the ask has slightly changed, and I don't need to post line items.
I do however now have to update a subscription with a cancel at parameter. I've updated my time stamp to unix time and have the subscription id.
Based off https://stripe.com/docs/api/subscriptions/update?lang=java#update_subscription-cancel_at
I am trying to form the POST.
When I use the below, I get “The app returned "https://stripe.com/docs/error-codes/parameter-unknown".”
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/95659254-5c95-4c9a-82f1-65f922c6b55c.png)
When I look at my stripe logs I see the post parameter for cancel_at is messed up, like zapier is pushing strange formatting.
![](https://uploads-us-west-2.insided.com/zapier-ca/attachment/a442e66c-548a-44f7-aac1-a24c81930845.png)
Any Ideas?
Try using a normal POST instead of a Custom POST.
The normal POST has a section for data points, rather than 1 section for JSON.
100% this worked perfectly.
Thanks man.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.