#kaki87_best-practices

1 messages · Page 1 of 1 (latest)

inland iceBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1395863618935062593

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

gilded lagoon
#

I guess I forgot the most important question : line_items.price_data.product_data.name would be used in the customer portal while managing subscriptions, would that be the proper option to solve this issue, or is there a better option ?

pine vapor
#

I'm not sure line_items.price_data.product_data.name overwrites existing product names. This is just the name of the product that will be created from the checkout session.

gilded lagoon
#

Oh, so that's not usable when using an existing product ?

pine vapor
#

No it's not.

#

Double checking something on my end.

#

Will a guild be a subscription?

gilded lagoon
#

Yes

pine vapor
#

If so, then the approach here will be to create products for each guild

#

So they all appear as seperate subscriptions in the customer portal

gilded lagoon
#

Wouldn't that make analytics very messy ?

pine vapor
#

Not sure, don't know how you're analyzing data.

#

From Stripe reporting standpoint it will show each guild (subscription) the number of subscribers and the revenue, etc.

gilded lagoon
#

I meant in Stripe Billing yes, but it's 1 guild = 1 subscription by the owner

#

While an owner can own multiple guilds, with 1 subscription each

pine vapor
#

Not sure I follow. Are guilds unique to the owner? As in they are not available for other customers to subscribe to?

gilded lagoon
#

I'm not sure what you're asking either 😅

  • A Discord user who owns a guild can subscribe for said guild ;
  • If said user owns multiple guilds, they can subscribe for each guild ;
  • The product should be the same in all cases ;
  • It would be nice for the user to be able to differenciate these subscriptions by guild in the customer portal.
#

A Discord user cannot subscribe for a guild they don't own, if that's your question.

pine vapor
#

Ok, so you can't have a recurring product with sub products (guilds).

#

One of which:

Customers can’t define multiple Prices with the same product and recurring.interval values. For example, to offer a magazine for 4.00 USD per month regular price and 3.00 USD per month for students, create a separate student magazine Product version.

#

So in this case the each guild will need to be a separate recurring product.

gilded lagoon
#

The prices and intervals will be the same.