• 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

    (@jwind)

    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

    (@locomo)

    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.