Title: All payments fail through plugin
Last modified: March 1, 2017

---

# All payments fail through plugin

 *  Resolved [mediaseth](https://wordpress.org/support/users/mediaseth/)
 * (@mediaseth)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/all-payments-fail/)
 * I’m wondering if I got something wrong in the shortcode? It seems odd that ALL
   payment attempts are failing using the plugin. A test payment did work from the
   swipe dashboard.
 * I was looking for perhaps a common mistake that I made, but I can’t seem to find
   a solution on my own.
 * So, I welcome any best guesses…lists of common errors in shortcode…and thanks
   in advance.
 * Edited with this additional info – what’s wrong with this? I double checkedmy
   API key and… this is the code:
 * [direct-stripe type=”subscription” amount=”995″ description=”Basic Hosting” label
   =”Subscribe” panellabel=”Monthly Plan”]
    -  This topic was modified 9 years, 2 months ago by [mediaseth](https://wordpress.org/support/users/mediaseth/).
    -  This topic was modified 9 years, 2 months ago by [mediaseth](https://wordpress.org/support/users/mediaseth/).

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

 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/all-payments-fail/#post-8867154)
 * Hello [@mediaseth](https://wordpress.org/support/users/mediaseth/),
 * I’m sorry to read that…
    This shortcode works for me after creating the plan 
   in stripe’s admin panel.
 * – Did you create a plan with “995” as plan ID in stripe’s admin panel? (It seems
   that 995 could be the amount you try to charge…)
 * – It’s best not to use numbers as plan ID for subscriptions(There is a known 
   bug that alter frontend), try creating plans that have name as plan ID.
 * Best regards,
    -  This reply was modified 9 years, 2 months ago by [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/).
 *  Thread Starter [mediaseth](https://wordpress.org/support/users/mediaseth/)
 * (@mediaseth)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/all-payments-fail/#post-8867173)
 * Thanks for responding. The plan ID is “monthly-basic” 995 stiands for 9.95, the
   amount.
    Do I have things in the wrong place?
 *  Thread Starter [mediaseth](https://wordpress.org/support/users/mediaseth/)
 * (@mediaseth)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/all-payments-fail/#post-8867189)
 * Swipe said they are not getting anything sent to them. There is no record of 
   a declined card, for example. It’s not reaching them. That’s why I think it’s
   a shortcode problem
 *  Plugin Author [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * (@nahuelmahe)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/all-payments-fail/#post-8867316)
 * Hello again [@mediaseth](https://wordpress.org/support/users/mediaseth/)!
 * When using the shortcode for subscriptions you need to use the amount attribute
   in the shortcode to fulfill the plan ID so in your case that would be amount=”
   monthly-basic”
 * The amount will be retrieved from your plan setup in stripe’s admin.
 * Best wishes

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

The topic ‘All payments fail through plugin’ 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/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [subscription](https://wordpress.org/support/topic-tag/subscription/)

 * 4 replies
 * 2 participants
 * Last reply from: [Nicolas Figueira](https://wordpress.org/support/users/nahuelmahe/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/all-payments-fail/#post-8867316)
 * Status: resolved