#haroon_74239

1 messages · Page 1 of 1 (latest)

wind steepleBOT
hasty oak
latent spire
#

req_oCqJOoysdtAgS5

hasty oak
#

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",
        },
      },
latent spire
#

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?

hasty oak
#

you can try defining the price under a different product instead and see if that works

latent spire
#

I was also thinking the same a better approach than existing would be better for me since this requires a lot of changes

hasty oak
#

There isn't any other solution to this unfortunately