Dannyoutlaw
El Presidente
Just Getting Started
Member Likes (0)
I get the following error when testing a valid card:
Fatal error: Uncaught exception 'Stripe_InvalidRequestError' with message 'No upcoming invoice for customer: cus_n0OhRW4mQPmOUs' in /nfs/c10/h02/mnt/145118/domains/pictalo.com/html/wp-content/plugins/pro-sites/pro-sites-files/gateways/gateway-stripe-files/lib/Stripe/ApiRequestor.php:66 Stack trace: #0 /nfs/c10/h02/mnt/145118/domains/pictalo.com/html/wp-content/plugins/pro-sites/pro-sites-files/gateways/gateway-stripe-files/lib/Stripe/ApiRequestor.php(114): Stripe_ApiRequestor->handleApiError('{? "error": {?...', 404, Array) #1 /nfs/c10/h02/mnt/145118/domains/pictalo.com/html/wp-content/plugins/pro-sites/pro-sites-files/gateways/gateway-stripe-files/lib/Stripe/ApiRequestor.php(54): Stripe_ApiRequestor->_interpretResponse('{? "error": {?...', 404) #2 /nfs/c10/h02/mnt/145118/domains/pictalo.com/html/wp-content/plugins/pro-sites/pro-sites-files/gateways/gateway-stripe-files/lib/Stripe/Invoice.php(27): Stripe_ApiRequestor->request('get', '/invoices/upcom...', Array) #3 /nfs/c10/h02/mnt/145118/domains/pictalo.com/html/wp-cont in /nfs/c10/h02/mnt/145118/domains/pictalo.com/html/wp-content/plugins/pro-sites/pro-sites-files/gateways/gateway-stripe-files/lib/Stripe/ApiRequestor.php on line 66

Responses (18)
Member (joined January 2012) Likes (0)
Note. I think the error was from having the decimal setting turned off.
Inactive (joined February 2012) Likes (0)
Hey Danny,
I will bring this to the attention of Aaron. Thanks!
Lead Developer (joined May 2009) Likes (0)
At exactly what point/place do you get that error? And does the blog in question already have a stripe subscription? If so is it active? Does it happen for new blog checkouts?
Member (joined June 2011) Likes (0)
I get the same error when the user hits the "Subscribe" button on the Pro checkout page.
- NimbleWebs.com
- Pro site levels already set up.
- Stripe account already set up.
- Using live keys (keys pasted into the stripe module setup in Pro Sites).
- Live mode selected in stripe
- ForceSSL on for Live Site (in the stripe module in Pro Sites)
I went into stripe and saw the corresponding error message.
Request body
Response body
I want to reiterate that as far as I can tell I am already in Live Mode in stripe.
Do we have to first go into stripe and set up each plan before it can be used? I would think that Pro Sites would automatically do that via the stripe API.
Thanks for the support!
Lead Developer (joined May 2009) Likes (0)
You need to go to your levels settings page, change anything a tiny bit (add a space or something), and resave. It should sync your levels to the live account.
Currently the plugin doesn't automatically resync levels when switching to live mode.
Member (joined June 2011) Likes (0)
Thank you for the speedy support, Aaron. I temporarily changed one of the prices, saved it, then changed it back. Yes, that triggered the stripe plan update, so the Pro Site levels are now in stripe. It seems that the issue is probably fixed now, but I will get with my launch customer a little later today to have him try it again.
Danny, I don't know if this was the exact same behavior you were seeing, but you may want to try Aaron's workaround.
Member (joined January 2012) Likes (0)
I did that and it didnt change anything. After I changed the setting for the placement of the decimal point, it worked.
Not sure if Stripe needs it to be the standard decimal setting or if it was just coincidence.
Member (joined June 2011) Likes (0)
Aaron, sorry to reopen this, but I still have a lingering problem. Now the stripe error is permanently attached to that site (inside my database). When I go to the "Manage Sites" page in Pro Sites for this customer, all I get is that error.
Is there a way to clear the stripe information out of my database for this customer, short of uninstalling stripe?
Thanks!
Member (joined June 2011) Likes (0)
Disregard my last question. I just went into the database and cleared the stripe information for that customer.
Support Chimp (joined March 2010) Likes (0)
I was testing another issue and actually came across this error myself, so to confirm the issue here.
This happened for me whilst testing the checkout in sandbox with the testing details here:
https://stripe.com/docs/testing
Starts whilst checking out. The happens in the account area of Pro Sites for that blog and on the upgrade page.
Nope, new upgrade.
Yup, this was a new blog.
I'll let Aaron know again.
Thanks.
Lead Developer (joined May 2009) Likes (0)
Hey guys, i've put a bunch of additional error catching in.
Can you test this beta?
Member (joined February 2012) Likes (0)
wish it was available to me in the uk ! any idea when the gloal version will be live
Support Chimp (joined March 2010) Likes (0)
I'm not aware of any information about that yet.
Sorry.
I'd love to see it over here as well. :-)
Member (joined June 2011) Likes (0)
I would like to try it out on my development site first, if I had one. What do you guys use for a development environment? MAMP? Anything else?
Thanks!
Support Chimp (joined March 2010) Likes (0)
I purchased a domain name just to use for testing things, setups, new code, custom code, etc, etc.
If you use the Pro version of MAMP you can use DNS I believe to have a real domain.
Thanks.
Member (joined June 2011) Likes (0)
I just got around to testing the fix, although by this time it looks like the beta has become an official release, 3.2. It looks like the coupon inversion is fixed now.
THANK YOU!!!!
Member (joined April 2012) Likes (0)
Just as an FYI in case someone else has this issue, although it seems slightly different from what everyone is experiencing -
I had this error on checkout: No such plan: 1_1
When researching these topics, Aaron's advice to change the levels a tiny bit and re-save did the trick.
Support Chimp (joined March 2010) Likes (0)
Thanks for letting us know.
Become a member