Title: Shortcode with parameters
Last modified: August 27, 2018

---

# Shortcode with parameters

 *  Resolved [Phi](https://wordpress.org/support/users/ppdoan/)
 * (@ppdoan)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/shortcode-with-parameters-2/)
 * Is it possible to use the shortcodes like in the legacy version?
 * I want to set the price dynamically, for example [simpay amount=$var]
 * (I don’t mind using the legacy version that still works but since it’s no longer
   supported, I prefer not to take any risks)

Viewing 1 replies (of 1 total)

 *  [Phil Derksen](https://wordpress.org/support/users/pderksen/)
 * (@pderksen)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/shortcode-with-parameters-2/#post-10645044)
 * We encourage all users to use the new method introduced in version 2 of this 
   plugin, which doesn’t allow specifying an amount with a shortcode attribute.

Viewing 1 replies (of 1 total)

The topic ‘Shortcode with parameters’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Phil Derksen](https://wordpress.org/support/users/pderksen/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/shortcode-with-parameters-2/#post-10645044)
 * Status: resolved