Title: html/php for amount not working
Last modified: August 22, 2016

---

# html/php for amount not working

 *  Resolved [amanda221](https://wordpress.org/support/users/amanda221/)
 * (@amanda221)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/htmlphp-for-amount-not-working/)
 * Hi,
    I am using HTML rather then short codes, and am trying to enter an amount
   of $98 Australian dollars. I believe this would be entered as amount=”9800″ within
   the code, but it will not work. The code works perfectly with amount=”1999″, 
   so there does not seem to be anything wrong with the rest of my code. I have 
   tried amount=”98″ and this does not work either. Your help would be so much appreciated!
   Thanks,
 * my code is specifically:
    <?php echo do_shortcode(‘[stripe description=”Ultimate
   Foodie” amount=“9800″ payment_button_label=”Buy Now $98”]’); ?>
 * The payment button label does not work either, is there a solution for this? 
   This is not as pressing as the amount though.
 * [https://wordpress.org/plugins/stripe/](https://wordpress.org/plugins/stripe/)

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

 *  [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/htmlphp-for-amount-not-working/#post-5442484)
 * When I copied your code it showed up with some different style quotes. When I
   changed them to the regular double quotes it worked fine for me.
 * Does this work for you?
 * <?php echo do_shortcode(‘[stripe description=”Ultimate Foodie” amount=”9800″ 
   payment_button_label=”Buy Now $98″]’); ?>
 * I know it looks similar but you can see the difference in quotes at the end of
   the description, at the beginning of the amount, and also at the end of the button
   label.
 * Let me know if copy/pasting what I put in here works for you.
 * Thanks!
 *  Thread Starter [amanda221](https://wordpress.org/support/users/amanda221/)
 * (@amanda221)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/htmlphp-for-amount-not-working/#post-5442487)
 * Hi Nick,
    That worked perfectly! But then I had to duplicate two more times on
   the same page, and now nothing is showing up 🙁
 * I saw that when you need to use it multiple times you need to add [/stripe] after
   each one. I tried this too, a couple different ways, but no luck. I will paste
   my code in here:
 * <?php echo do_shortcode(‘[stripe description=”Ultimate Foodie” amount=”9800″ 
   payment_button_label=”Buy Now $98″][/stripe]’); ?>
 * <?php echo do_shortcode(‘[stripe description=”Time To Explore” amount=”3400″ 
   payment_button_label=”Buy Now $34″][/stripe]’); ?>
 * <?php echo do_shortcode(‘[stripe description=”Mini Break” amount=”1600″ payment_button_label
   =”Buy Now $16″][/stripe]’); ?>
 * I also tried putting /stripe inside the existing brackets at the end, but that
   also didn’t work.
    Thanks so much for your help, Amanda
 *  [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/htmlphp-for-amount-not-working/#post-5442492)
 * Hey Amanda,
 * So it looks like a similar issue as before but with the ending apostrophe this
   time. Try this out:
 * <?php echo do_shortcode(‘[stripe description=”Ultimate Foodie” amount=”9800″ 
   payment_button_label=”Buy Now $98″][/stripe]’); ?>
 * <?php echo do_shortcode(‘[stripe description=”Time To Explore” amount=”3400″ 
   payment_button_label=”Buy Now $34″][/stripe]’); ?>
 * <?php echo do_shortcode(‘[stripe description=”Mini Break” amount=”1600″ payment_button_label
   =”Buy Now $16″][/stripe]’); ?>
 * What text editor are you using to add these lines in?
 *  Thread Starter [amanda221](https://wordpress.org/support/users/amanda221/)
 * (@amanda221)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/htmlphp-for-amount-not-working/#post-5442535)
 * Thanks Nick that worked great!
 * I’m using text edit on my mac… is this ok? I’m using it in plain text mode
 * Thanks again for your help!
 *  [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/htmlphp-for-amount-not-working/#post-5442599)
 * Oh ok, I was just curious. If it is in plain text it should work. I will admit
   to being a Windows user though so I am not to aware of how the Mac text editor
   works. If you have any more issues with it I would just check that the quotes
   are being added as plain text quotes and not the fancy kind added by some word
   processors.
 * Glad it is all working for you now though 🙂
 * Thanks for using the plugin and let us know if you run into anything else.
 * Thanks!

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

The topic ‘html/php for amount not working’ is closed to new replies.

 * ![](https://ps.w.org/stripe/assets/icon-256x256.png?rev=2784844)
 * [Stripe Payment Forms by WP Simple Pay - Accept Credit Card Payments + Subscriptions with Stripe](https://wordpress.org/plugins/stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stripe/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/htmlphp-for-amount-not-working/#post-5442599)
 * Status: resolved