Title: Payment error
Last modified: August 21, 2016

---

# Payment error

 *  Resolved [saju79shyni](https://wordpress.org/support/users/saju79shyni/)
 * (@saju79shyni)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/payment-error-1/)
 * Hi ,
    while submit a checkout form am getting this message “You must supply either
   a card, customer, or bank account to create a token”
 * [http://wordpress.org/plugins/striper/](http://wordpress.org/plugins/striper/)

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

 *  Plugin Author [Sean Voss](https://wordpress.org/support/users/seanvoss/)
 * (@seanvoss)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247047)
 * Hey saju79shyni,
 * Can I get a bit more information from you, and perhaps a url to debug this on?
 * I’m suspecting an some sort of conflict with the theme or something, but I need
   a bit more details to help you figure it out.
 * Cheers,
 * Sean
 *  [solarity](https://wordpress.org/support/users/solarity/)
 * (@solarity)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247082)
 * Hi
    I have the same error message problem in test mode.
 * Just installed, set up with stripe. Test mode on Stripe. test API data entered.
   Using the test card numbers on stripe (no SSL cert yet)
 * the mushroom farmer .co .uk
 * Looks like a great solution if I can get it to work!
 * Plugins:
    Akismet by Automattic version 2.5.9, Display Posts Shortcode by Bill
   Erickson version 2.3, Limit Login Attempts by Johan Eenfeldt version 1.7.1, MailChimp
   for WordPress Lite by Danny van Kooten version 1.4, Meteor Slides by Josh Leuze
   version 1.5.1, Striper (Gateway using Stripe.js) by Sean Voss version 0.5, WC
   PayPal Express by Buif.Dw version 2.0.5, WooCommerce Customizer by SkyVerge version
   1.1, WooCommerce by WooThemes version 2.0.18, WooDojo by WooThemes version 1.5.4,
   WooSidebars by WooThemes version 1.3.1, WordPress Backup to Dropbox by Michael
   De Wildt version 1.7
 *  Plugin Author [Sean Voss](https://wordpress.org/support/users/seanvoss/)
 * (@seanvoss)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247084)
 * Hey Solarity,
 * There is another checkout class on the page. I hacked an order together, you 
   can see I got it to go through will update a fix and push as 0.6
 * [http://naturalwightmushrooms.co.uk/?page_id=14&key=order_5273020ce2fc4&order=516](http://naturalwightmushrooms.co.uk/?page_id=14&key=order_5273020ce2fc4&order=516)
 *  Plugin Author [Sean Voss](https://wordpress.org/support/users/seanvoss/)
 * (@seanvoss)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247086)
 * Hey Solarity,
 * Can you download V0.6 I believe it will fix your problem so I close this thread.
 * Cheers,
 * Sean
 *  [solarity](https://wordpress.org/support/users/solarity/)
 * (@solarity)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247087)
 * Hey Thanks! That works just fine.
    Great support!
 *  Plugin Author [Sean Voss](https://wordpress.org/support/users/seanvoss/)
 * (@seanvoss)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247088)
 * Awesome glad I could help, feel free to rate the plugin if it’s useful.
 * Cheers,
 * Sean
 *  [bl168208](https://wordpress.org/support/users/bl168208/)
 * (@bl168208)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247106)
 * Hey all, I just got the same notifications as Saju. I am still having issues 
   getting my payments through though.
 *  Plugin Author [Sean Voss](https://wordpress.org/support/users/seanvoss/)
 * (@seanvoss)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247107)
 * Hey bl168208,
 * Do you have a url I can test, I’ve found these are usually a Javascript error,
   and I can easily take them out if I can see a test url.
 * Cheers,
 * Sean
 *  [bl168208](https://wordpress.org/support/users/bl168208/)
 * (@bl168208)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247108)
 * [http://www.brodiechiller.com/cart-2/](http://www.brodiechiller.com/cart-2/)
 * I hope this is what you are speaking of.
 *  [bl168208](https://wordpress.org/support/users/bl168208/)
 * (@bl168208)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247109)
 * hi, try this link [https://www.brodiechiller.com/checkout-2/](https://www.brodiechiller.com/checkout-2/)
 *  Plugin Author [Sean Voss](https://wordpress.org/support/users/seanvoss/)
 * (@seanvoss)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247110)
 * Hey bl (Brodie) perhaps?
 * So on your checkout page, I don’t know if another plugin stripped it or you adjusted
   the source files of my plugin, but there is a javascript block that needs to 
   go in there, or else it won’t work, it is in ‘striper/templates/payment.php’
 * Starts like this.
 *     ```
       <script type="text/javascript" src="https://js.stripe.com/v2/"></script>
       <script type="text/javascript">
   
        var initStriper = function(){
           jQuery(function($) {
   
           var $form = $('form.checkout,form#order_review');
       ```
   
 * Basically to the end of the file.
    You can add that to another javascript and
   that would work too.
 * I can explore adding that to an external javascript file as well for the next
   version.
 * Cheers,
 * Sean
 *  [bl168208](https://wordpress.org/support/users/bl168208/)
 * (@bl168208)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247111)
 * So where exactly do I put this script in the ‘striper/templates/payment.php’ 
   I am not familiar with JavaScript and kinda a novice at editing.
 *  Plugin Author [Sean Voss](https://wordpress.org/support/users/seanvoss/)
 * (@seanvoss)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247112)
 * Hey BL,
 * So as promised I built a version where I moved the javascript into it’s own file.
 * Upgrade WooCommerce to the latest version and upgrade my plugin to v0.15 and 
   see how that works for you.
 * Cheers,
 * Sean
 *  [bebebloom](https://wordpress.org/support/users/bebebloom/)
 * (@bebebloom)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247118)
 * Hi,
 * I’m getting a similar error on test mode. While I try to make payment with the
   test
    Credit card, this is what comes up:
 * “Action failed. Please refresh the page and retry.”
 * How can I fix this?
 *  Plugin Author [Sean Voss](https://wordpress.org/support/users/seanvoss/)
 * (@seanvoss)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247126)
 * Interesting bebebloom, sorry I missed this until now, I’ve never seen that particular
   error before in all my testing, were you able to get it worked out?

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

The topic ‘Payment error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/striper.svg)
 * [Striper - Stripe Integration for WooCommerce](https://wordpress.org/plugins/striper/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/striper/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/striper/)
 * [Active Topics](https://wordpress.org/support/plugin/striper/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/striper/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/striper/reviews/)

 * 15 replies
 * 5 participants
 * Last reply from: [Sean Voss](https://wordpress.org/support/users/seanvoss/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/payment-error-1/#post-4247126)
 * Status: resolved