Title: Uncaught Stripe\Error\InvalidRequest
Last modified: February 12, 2018

---

# Uncaught Stripe\Error\InvalidRequest

 *  [locomo](https://wordpress.org/support/users/locomo/)
 * (@locomo)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/uncaught-stripeerrorinvalidrequest/)
 * I’m getting errors when trying to test a payment. In test mode i’m able to connect
   to a bank via plaid but then when i try to pay it seems to hang.
 * On the front end in my javascript console i’m seeing that it failed to load admin-
   ajax.php
    `Failed to load resource: the server responded with a status of 500(
   Internal Server Error)`
 * And in my error log I’m getting this:
 *     ```
       [12-Feb-2018 19:30:56 UTC] PHP Fatal error:  Uncaught Stripe\Error\InvalidRequest: Could not determine which URL to request: Stripe\Token instance has invalid ID:  in /wp-content/plugins/ACH-for-stripe-plaid-master/vendor/stripe/stripe-php/lib/ApiResource.php:80
       Stack trace:
       #0 /wp-content/plugins/ACH-for-stripe-plaid-master/vendor/stripe/stripe-php/lib/ApiResource.php(93): Stripe\ApiResource::resourceUrl(NULL)
       #1 /wp-content/plugins/ACH-for-stripe-plaid-master/vendor/stripe/stripe-php/lib/ApiResource.php(25): Stripe\ApiResource->instanceUrl()
       #2 /wp-content/plugins/ACH-for-stripe-plaid-master/vendor/stripe/stripe-php/lib/ApiResource.php(133): Stripe\ApiResource->refresh()
       #3 /wp-content/plugins/ACH-for-stripe-plaid-master/vendor/stripe/stripe-php/lib/Token.php(30): Stripe\ApiResource::_retrieve(NULL, NULL)
       #4 /wp-content/plugins/ACH-for-stripe-plaid-master/public/class-wp-stripe-pl in /wp-content/plugins/ACH-for-stripe-plaid-master/vendor/stripe/stripe-php/lib/ApiResource.php on line 80
       ```
   
 * any ideas

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

 *  Plugin Author [justinwhall](https://wordpress.org/support/users/jwind/)
 * (@jwind)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/uncaught-stripeerrorinvalidrequest/#post-9966968)
 * Can you try creating a new users with a new email that has never been charged
   and then testing again?
 * This sounds like a token is stored for the user but it doesn’t exist in your 
   test env at stripe.
 *  Thread Starter [locomo](https://wordpress.org/support/users/locomo/)
 * (@locomo)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/uncaught-stripeerrorinvalidrequest/#post-9970456)
 * sorry my fault .. i didn’t realize i needed to enable stripe integration with
   my plaid account .. now its working!
 * question: do you have additional development plans for this plugin? once i got
   it working i’ve noticed that each time a user wants to make a payment they must
   reauthenticate their bank account via plaid even though their bank is now verified
   within Stripe. Would be nice for users who have verified bank accounts if they
   could either skip the “select bank account” step and go directly to pay.
 * Or perhaps they could see 2 buttons: 1) Pay with Account on File and 2) Select
   New Bank
 * thanks!

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

The topic ‘Uncaught Stripe\Error\InvalidRequest’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ach-for-stripe-plaid_6ebeeb.svg)
 * [LittleBot ACH for Stripe + Plaid](https://wordpress.org/plugins/ach-for-stripe-plaid/)
 * [Support Threads](https://wordpress.org/support/plugin/ach-for-stripe-plaid/)
 * [Active Topics](https://wordpress.org/support/plugin/ach-for-stripe-plaid/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ach-for-stripe-plaid/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ach-for-stripe-plaid/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [locomo](https://wordpress.org/support/users/locomo/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/uncaught-stripeerrorinvalidrequest/#post-9970456)
 * Status: not resolved