Why are we getting "No such token" error with Stripe integration?

  • Profile Image
    uvmusic
    Asked on March 16, 2018 at 05:58 PM

    A customer tried to complete a payment on our form using the Stripe integration and got this message:


    No such token: tok_1C6Pk3JJhvOSxaN7yNVOuQSv; a similar object exists in test mode, but a live mode key was used to make this request.
     
     

    What does this mean?

    thanks,
    Ben

  • Profile Image
    Victoria_K
    Answered on March 16, 2018 at 07:02 PM

    This error usually appears when you are connected to Stripe via Test mode, but with your Live settings. 

    1521241270screenshot.png

    I can see now that you have Live mode enabled at the moment, have you managed to resolve this issue or it is still happening?

  • Profile Image
    uvmusic
    Answered on March 16, 2018 at 09:00 PM

    The customer had a problem in the morning and we realized that payment box was still in test mode. We then re-connected to Stripe for live mode, tested the form and it took a credit card payment. The customer then contacted us later in the day to say that she had tried again and received that error message.

    Not clear whether the problem is still happening. We haven't been able to duplicate the error, but the customer hasn't successfully completed the form either.


  • Profile Image
    Nik_C
    Answered on March 17, 2018 at 04:29 AM

    Could you please try removing and then inserting again the Stripe payment integration and connect it again.

    Let us know if that worked.

    Thank you!