mdewyer
Forum Replies Created
-
Forum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseGotcha. No caching plugin / service, and only have these plugins enabled:
Easy Testimonials: by Gold Plugins – 1.24
Regenerate Thumbnails: by Viper007Bond – 2.2.4
Stripe for WooCommerce: by Stephen Zuniga – 1.36
WooCommerce Colors: by WooThemes – 1.0.6
WooCommerce Product Add-ons: by WooThemes – 2.7.3
WooCommerce: by WooThemes – 2.3.8
WordPress SEO: by Team Yoast – 2.1.1Forum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseI’ve had Firebug up watching the console for errors, etc. and none are showing. The ajax posts fine and receives the response, but the response is the error message. Looks like I’ll have to dig even deeper..
Thanks for the suggestions Joshua!
Forum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseStill having issues.. On WordPress version 4.1.2, WooCommerce 2.3.8, and Stripe for WooCommerce 1.36.
When a customer tries placing an order, this is the log through Stripe:
Summary
Time: 2015/04/22 16:30:28
Method: POST
URL: /v1/charges
Status: 400
IP address: xxx.xxx.xxx.xxx
Version: 2014-12-22
Source: WooCommerce-StripeParsed Request Query Parameters
No query parametersParsed Request POST Body
amount: “2350”
currency: “usd”
capture: “true”
expand: “balance_transaction”
card: “”
description: “Payment for Anchor Stadium Tumbler Set (Order: 641)”Response body
error:
type: “invalid_request_error”
message: “You have passed a blank string for ‘card’. You should remove the ‘card’ parameter from your request or supply a non-blank value.”
param: “card”It works if I’m logged in and use a saved card profile (in the Stripe log the “card” value shows as “card_xxxxxxxxxxxxxxxxxxxxxxx”), but if it’s a completely new card the card value seems to be coming through blank and the order fails.
Please help!!
Forum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseGetting another error now. On the frontend it says:
Error: There was a problem connecting to the payment gateway.In the WP admin the error for the order is:
S4WC_Gateway payment failed with message: “There was a problem connecting to the payment gateway.”And in Stripe the log for it is:
Summary
Time: 2015/03/31 17:21:33
Method: POST
URL: /v1/customers/cus_#########/cards
Status: 400
IP address: 198.57.248.212
Version: 2014-12-22
Source: WooCommerce-Stripe
Related: Customer — cus_#########Parsed Request Query Parameters
No query parametersParsed Request POST Body
card: “”Response body
error:
type: “invalid_request_error”
message: “Invalid source object: must be a dictionary or a non-empty string. See API docs at https://stripe.com/docs”
param: “card”(I replaced the customer ID with #########). Also, I tried using https://github.com/stezu/stripe-for-woocommerce/archive/master.zip again, and that didn’t fix it.
Forum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseThat did it! I de-activated the existing plugin, then deleted (both through the Plugins area of WP), and then uploaded the folder in the zip you linked to, reloaded the Plugins page, and it showed up. Activated it, and checked on the settings (all my old settings for the plugin were still there). Then went to the frontend and placed an order, and it went through! Confirmed within Stripe as a successful Auth / Capture.
Thanks Stephen! I don’t know what’s different in the version of the plugin you linked to, but whatever changes are in there did the trick for my situation!
Forum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseInteresting. The theme is based off of an older WordPress twenty-something theme from a few years ago. Here’s the site: http://obxmonogramshop.com/
Forum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseSwitched the site’s theme to twentyfourteen and the payment went through!
Is there something specific to the twentyfourteen theme that this plugin needs in order to function properly? There are no javascript or PHP errors with the theme the site is using, just the response back Stripe is the “invalid response” error each time, so I don’t think it’s because the theme itself has any issues. I don’t mind messing with the code if I need to!
Forum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseUsed Firebug and Chrome Javascript console, and neither report any JS errors. I just tried putting another order though, placed while I was logged in as an admin, and still the error, and here’s what is in Stripe for the log:
Time: 2015/02/05 19:44:52
Method: POST
URL: /v1/customers
Status: 400
IP address: 18.57.254.14
Version: 2014-12-22
Source: WooCommerce-StripeParsed Request Query Parameters
No query parametersParsed Request POST Body
description: “matt (#3 – matt@domain.com) Matt DeWyer”
email: “matt@domain.com”
card: “”Response body
error:
type: “invalid_request_error”
message: “Invalid card object: must be a dictionary or string. See API docs at https://stripe.com/docs.”
param: “card”Forum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseTo answer your questions:
1. They are simple products.
2. Some have been logged in, and some have been “Guest”.
3. For the logged in ones, it happened on the first time they tried to place an order, and subsequent tries.I hope this helps. If you need more information, or need access to the site to dig around, just let me know.
Forum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseThanks for the reply. Here’s the info on the Stripe end:
Parsed Request POST Body
amount: “2350”
currency: “usd”
capture: “true”
expand:
“balance_transaction”
card: “”
description: “Payment for Anchor Stadium Tumbler Set (Order: #410)”Response body
error:
type: “invalid_request_error”
message: “You have passed a blank string for ‘card’. You should remove the ‘card’ parameter from your request or supply a non-blank value.”
param: “cardForum: Plugins
In reply to: [Stripe for WooCommerce] Error: Invalid responseHey guys,
I’m running into what seems to be the same issue. We’ve had a handful of real customers try to place orders, and every single one is getting an error:
S4WC_Gateway payment failed with message: “Invalid response.”
I tried clearing out the test data and that didn’t work. What’s the general consensus on how to fix this problem? Do we have to purchase yet another plugin for checkout, or is there a setting we can change (I’m a PHP developer so I don’t mind getting down into the code)?
Thanks!