• Resolved huklbuk

    (@huklbuk)


    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

    (@nahuelmahe)

    Hello @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

    (@huklbuk)

    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

    (@nahuelmahe)

    Hello @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

    (@kimwright)

    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

    (@nahuelmahe)

    Hello @huklbuk and @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.