Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subscription description not being applied when creating a checkout session #1367

Closed
goran-popovic opened this issue Sep 20, 2022 · 4 comments
Assignees
Labels

Comments

@goran-popovic
Copy link

Describe the bug

I am trying to create a checkout session and provide description for a subscription. I am setting these descriptions via subscription_data.description param. Seems similar issue is mentioned here for the node library: stripe/stripe-node#1418

To Reproduce

  1. Create a checkout session: \Stripe\Checkout\Session::create();
  2. Provide subscription_data with a description param:
'subscription_data' => [
   'description' => 'Subscription Description',
],
  1. The subscription description remains unchanged on the hosted checkout page, the description of the Stripe product is there by default.

Expected behavior

Expecting to set a description for subscription type payments on the checkout session.

Code snippets

No response

OS

Windows

PHP version

8.0

Library version

v7.128.0

API version

2020-08-27

Additional context

No response

@nemanja9884
Copy link

I have exactly same problem.

@milosgacanovic
Copy link

Me too, i hope this gets fixed soon.

@Trick-Coin
Copy link

Same here. Would love to give my consumers a unique description tailored to their needs.

@remi-stripe remi-stripe self-assigned this Sep 22, 2022
@remi-stripe
Copy link
Contributor

Hello everyone! Github issues are limited to bugs with the library (stripe-php) itself. This question is not really about the library and more about the Checkout product so this isn't the right place to report this.

To help answer though, this is not a bug and is currently expected behaviour. The description was introduced more for distinguishing 2 Subscriptions to the same Product in the Customer Portal for example. Similarly to payment_intent_data[description] it's not something we show on Checkout today.

I do agree that it could make sense to show this on Checkout though and I'll flag to our product team. I recommend that you reach out to our support team to discuss this and raise your interest for this as a feature request: https://support.stripe.com/contact

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants