Title: Display Amount not working
Last modified: March 8, 2017

---

# Display Amount not working

 *  Resolved [huklbuk](https://wordpress.org/support/users/huklbuk/)
 * (@huklbuk)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/display-amount-not-working/)
 * First off…Awesome plugin. This is exactly what I’ve been looking for.
 * Anyways… So I’m using a subscription, and can’t seem to get the amount to display
   in the checkout button. Here’s the code I’m using…
 * [direct-stripe type=”subscription” amount=”TestPlan” display_amount=”true” description
   =”Awesome Web Hosting” label=”Sign Up”]
 * I’ve also tried this one with no luck…
 * [direct-stripe type=”subscription” amount=”TestPlan” description=”Awesome Web
   Hosting” label=”Sign Up” panellabel=”Submit Payment”]
 * Is there something I’m missing? Does it not display the amount because it’s a
   subscription plan?

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/display-amount-not-working/#post-8887731)
 * Hello [@huklbuk](https://wordpress.org/support/users/huklbuk/),
 * Your last guess is correct!
 * Stripe doesn’t display the amount for subscriptions by default.
 * The amount is displayed by default for payment type buttons so the display_amount
   argument was added to allow users not to display the amount by setting it to 
   false.
 * It is possible to add the amount with text in the label and/or panellabel.
 * Thank you very much for the review, I appreciate it!
 * Best regards
 *  Thread Starter [huklbuk](https://wordpress.org/support/users/huklbuk/)
 * (@huklbuk)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/display-amount-not-working/#post-8889323)
 * Thanks for the reply…Quick question… is there a quick easy way to change the 
   width of the button? (I’m using the custom button) I’m assuming the width is 
   set to auto. I’ve placed the button in a price table that I built… I’d like to
   make the button full width…
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/display-amount-not-working/#post-8890664)
 * Hello [@huklbuk](https://wordpress.org/support/users/huklbuk/),
 * You would have to edit it with css, preferably in the customizer custom css if
   your theme supports it.
 * Do you have a link where i can see the button?
 * Regards,
 *  [kimwright](https://wordpress.org/support/users/kimwright/)
 * (@kimwright)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/display-amount-not-working/#post-8898255)
 * Hi,
 * what sort of code would need to be entered to reduce the size of them button?
   
   It coming up too big on my site too. Thanks
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/display-amount-not-working/#post-8898494)
 * Hello [@huklbuk](https://wordpress.org/support/users/huklbuk/) and [@kimwright](https://wordpress.org/support/users/kimwright/),
 * The CSS class to edit the button is .direct-stripe-button
 * Best regards,

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Display Amount not working’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/direct-stripe_7787ff.svg)
 * [Direct Stripe](https://wordpress.org/plugins/direct-stripe/)
 * [Support Threads](https://wordpress.org/support/plugin/direct-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/direct-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/direct-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/direct-stripe/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/display-amount-not-working/#post-8898494)
 * Status: resolved