• Resolved awscreative

    (@awscreative)


    On https://my-donations.com we are using the stock buttons for a payment provided in your documentation about embedding form. am using
    WP Simple Pay Lite for Stripe that provides this form for the button

    Page this is seen on:
    https://my-donations.com/walk-for-life-t-shirt-order/

    Actual $15 form button
    [stripe name=”Walk for Life 2015 T-Shirt Payment” description=”T-Shirt Payment” amount=”1500″ live_secret_key=”sk_live_cdeByV5n6RTgGX8cemPuOf1p” live_publishable_key=”pk_live_Sp1UkOf3SIdkUSmMGZuI5vh2″]

    On the page a click of the button opens the modal properly filled out with the right amound, title ect.

    Processing we get a fatal error.
    Fatal error: Uncaught exception ‘Stripe\Error\InvalidRequest’ with message ‘No such token: tok_16jeqQI2Y5ZRNZMOvtQjyTTe’ in /home/myeadmin/public_html/mydonation/wp-content/plugins/stripe/libraries/stripe-php/lib/ApiRequestor.php:98 from API request ‘req_6xa0iEOxycNHXO’ Stack trace: #0 /home/myeadmin/public_html/mydonation/wp-content/plugins/stripe/libraries/stripe-php/lib/ApiRequestor.php(210): Stripe\ApiRequestor->handleApiError(‘{? “error”: {?…’, 400, Array, Array) #1 /home/myeadmin/public_html/mydonation/wp-content/plugins/stripe/libraries/stripe-php/lib/ApiRequestor.php(60): Stripe\ApiRequestor->_interpretResponse(‘{? “error”: {?…’, 400, Array) #2 /home/myeadmin/public_html/mydonation/wp-content/plugins/stripe/libraries/stripe-php/lib/ApiResource.php(105): Stripe\ApiRequestor->request(‘post’, ‘/v1/customers’, Array, Array) #3 /home/myeadmin/public_html/mydonation/wp-content/plugins/stripe/libraries/stripe-php/lib/ApiResource.php(137): Stripe\ApiResource::_staticRequest(‘post’, ‘/v1/customers’, Array, NULL) #4 / in/home/myeadmin/public_html/mydonation/wp-content/plugins/stripe/libraries/stripe-php/lib/ApiRequestor.php on line 98

    https://ww.wp.xz.cn/plugins/stripe/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter awscreative

    (@awscreative)

    After first using a stock Stripe embed test form and watching it validate, I then using the raw pk live secret and pk live publishable keys in your form set the form to $1 the button now simply opens the modal window, I enter a live card and it shows the $1.00 amoount but now when I click to send the payment it shakes once and that is all. What is wrong with your coding that STRIPE will not connect on this one page.

    Hello,

    Sorry you have run into an issue. I will do what I can to help resolve this for you.

    1. You will probably want to refresh your API keys since you just posted them onto this page. It would be wise to change them just in case.

    2. Do you get this issue if instead of using the attributes for the keys you input them into the main settings?

    3. Does this happen in both live mode and test mode or just live?

    4. Try running through the steps outlined here: https://wpsimplepay.com/docs/getting-started/theme-and-plugin-conflicts/
    That will help us to determine if there are any theme or plugin conflicts going on.

    Let me know if any of that helps and if not then we can continue to dig deeper.

    Thanks!

    I am going to assume this is resolved since there hasn’t been a reply here. Please let us know if you have any other issues.

    Thanks!

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

The topic ‘FATAL ERROR WHEN USING SIMPLE PAYLIGHT FOR STRIPE’ is closed to new replies.