#haroon_74239
1 messages · Page 1 of 1 (latest)
hi there, can you share the request id [0]? it'd look like req_xxx
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
req_oCqJOoysdtAgS5
Both Prices that you're passing in here have the same interval i.e. monthly. Stripe expects Prices with different intervals e.g. Price 1 - monthly, Price 2 - yearly
subscription_update: {
enabled: "True",
products: {
0: {
prices: {
0: "price_1OmrayGSYByk0OL9nVIPuuF7",
1: "price_1OmrayGSYByk0OL9VCgSFXm9",
},
product: "prod_PVsyaQfPQJnNNc",
},
},
Yes, but as per my requirement I want to categorize plans user wise. And user can switch from one plan to another.
Suppose from basic to premium and wise versa. How I can achieve this use case?
you can try defining the price under a different product instead and see if that works
I was also thinking the same a better approach than existing would be better for me since this requires a lot of changes
There isn't any other solution to this unfortunately