#evschu_subscription-description
1 messages ¡ Page 1 of 1 (latest)
đ 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/1501287178549072083
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
evschu_subscription-description
@distant roost can you share the exact PaymentIntent ids pi_123 or Invoice ids in_123 for the one with the wrong description and the one before that
Most recent (Bad): pi_3TS5QKPHJIJnHl8d2hDMLQIA
Previous (Good): pi_3THCv0PHJIJnHl8d0jcm8e7T
Is there any other information I can provide?
sorry I'm still debugging
hi there, I'm taking over for koopajah as they had to step away. it looks like for previous Payment Intents on that subscription, the description is being manually updated in the dashboard to be "3. Bronze Pint Club". here's an example from pi_3THCv0PHJIJnHl8d0jcm8e7T: https://dashboard.stripe.com/acct_1QrvRsPHJIJnHl8d/logs/req_pUGIAl1c554XkY
For the past couple of months, I've had to manually go in and updated them to the correct values. But I'm not the one setting them to "Subscription update".
That is happening when the subscription creates the payment intent for the next payment. That's all on Stripe's side.
I don't want to have to go in and manually fix these every month, so that's why I'm reaching out.
ah I see, thanks for clarifying. "Subscription update" is the default description for payment intents generated on invoices for subscriptions, I'll see if there's a way to override that behavior, one moment
90+% of the time, Stripe does update it to the correct description. But for some small number it keeps the value at "Subscription update"
it keeps it that way even after your manual update?
Here is an example of a good and bad payment intent. (same as I shared above)
Most recent (Bad): pi_3TS5QKPHJIJnHl8d2hDMLQIA
Previous (Good): pi_3THCv0PHJIJnHl8d0jcm8e7T
Some small percent of them have the description "Subscription update" instead of the product (or subscription?) name. Once a month our client does an export, and they want to see the correct description, not "Subscription update". So I go in and manually change them.
I'm trying to find out why it's set to "Subscription update" in the first place. It seems like a bug on Stripe's side since it's correct 90% of the time.
I checked other Connected accounts, and it's happening for them a small percentage of the time, too.
still looking for a solution. when you say some small percent, do you mean a small percent of subscriptions? as in, does it seem like it consistently happens to certain subscriptions? or does the behavior change between invoices of the same subscription?
it happens for different subscriptions
ok, do you have an example of a subscription where it doesn't happen? I'd like to compare the two
See the subscription related to this payment: pi_3THCv0PHJIJnHl8d0jcm8e7T
pi_3THCv0PHJIJnHl8d0jcm8e7T and pi_3TS5QKPHJIJnHl8d2hDMLQIA belong to the same subscription, sub_1SvnqEPHJIJnHl8d9nOJX9ZH
thank you, that's very helpful. so the main difference I'm seeing is that sub_1SlapHPHJIJnHl8dePvx66CC (the one you just provided) has the description set on creation (creation request here) and it looks like the Payment Inte]nts inherited the description from there
sub_1SvnqEPHJIJnHl8d9nOJX9ZH was created via Checkout Session (creation request here) but you can add a description via subscription_data.description (API docs here)
I believe that will have the desired effect, but I can test it out if you're willing to give me a few minutes
let me see if we are setting that in our code...
our code does the same thing for all checkout sessions. I don't understand why Stripe sometimes set the payment description with the subscription name, and sometimes it just puts in "Subscription update".
also, this is happening on renewals, which are automatically happening on stripe's side
the subscription with good descriptions was created directly with the API, not a checkout session, with its description set to be the subscription name. for your checkout sessions, if you change your code to set subscription_data.description, that should do the same thing. I just tested it with my own integration
ah, we changed to checkout sessions a couple of months ago. i can find an example of checkout session subscription that is good. one min.,,
OK - I see what you're saying. All the subscriptions created since we move to Checkout Session don't have the description set correctly. That's the difference. I'll update the Checkout Session code like you suggested. Thank you.
you're welcome, glad we were able to help!