Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Stripe Payment Gateway Error In Test Mode

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Addon Related › Stripe Payment Gateway Error In Test Mode

Tagged: stripe, stripe error

  • This topic has 5 replies, 2 voices, and was last updated 11 years, 9 months ago by wpCommerce.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • August 14, 2013 at 3:07 am #9482
    Robert
    Participant

    I’m trying to use Stripe in Test mode and am getting the following error:

    Stripe – credit card charge failed

    Response Status – 400

    Error Type – invalid_request_error

    Error Code –

    You passed an empty string for ‘card’. We assume empty values are an attempt to unset a parameter; however ‘card’ cannot be unset. You should remove ‘card’ from your request or supply a non-empty value

    Here is the link to the debug file:

    [http://realskinsolutions.com/wp-content/plugins/wp-payment-gateway/wp_pg_debug.log]

    Please advise

    August 14, 2013 at 7:34 am #57154
    wpCommerce
    Moderator

    Hi, can you please provide a link to the page where I can add a product to the shopping cart and checkout via Stripe?

    Stripe script automatically creates a token when credit card information is submitted. This token is generated via JavaScript when a user clicks on the the “Submit” button. So you need to make sure that there is no JavaScript error on the “Collect Details” page. Otherwise, the script will not be able to create the token due to JavaScript conflict.

    Here is a good resource which will help you find JavaScript errors on a webpage:

    https://support.tipsandtricks-hq.com/forums/topic/debugging-javascript-errors-on-your-site

    August 14, 2013 at 4:20 pm #57155
    Robert
    Participant

    I looked and didn’t see any JavaScript errors. Some minor HTML errors. Here is the link to the page for adding items to the cart:

    [http://realskinsolutions.com/skin-care-products]

    Once something is added to the cart, click checkout.

    August 15, 2013 at 2:27 am #57156
    wpCommerce
    Moderator

    Hi, can you please disable the “Fancy Redirection On Checkout” option in the eStore settings for now? Please also enable sandbox in the gateway bundle settings so I can try a full checkout. You will need to replace your “live” Stripe api credentials with the sandbox ones. You can find them under “Your Account -> Account Settings ->API Keys” section of your Stripe account.

    August 15, 2013 at 3:32 am #57157
    Robert
    Participant

    Ok, I have disabled the “Fancy Redirection On Checkout” and enabled the sandbox in the gateway bundle. The api credentials are already test ones.

    Just ran a test through and everything worked.

    Does the “sandbox” need to be enabled to test?

    So does that mean the “Fancy Redirection On Checkout” has to remain off?

    August 16, 2013 at 1:02 am #57158
    wpCommerce
    Moderator

    Hi, Fancy redirection may not work properly on some sites. So if it’s the source of this issue I would recommend you to turn it off.

    If the sandbox transaction goes through you should be able to do a live one as well. You can change the api credentials back to the lives ones and give it a try.

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ