We are working on mobile which use magento 2 REST API. In which we are facing issue while try to place order using Stripe payment method. For stripe we are using magenest stripe extension.

REST API call for guest user is : https://example.com/index.php/rest/V1/guest-carts/aHdNbZDggtknHuhZWwEfQvvHQz8JVZnb/order

Parameter is :

  "paymentMethod": {
           "number": "4111111111111111",
           "exp_month": "10",
           "exp_year": "30",
           "cvv": "123",
    "method": "magenest_stripe"


    "massage" : "No such token: false"

So please help us to fix this issue.

  • Have you resolved your query? Commented Apr 22, 2019 at 7:17
  • Not yet, I am still looking for solution, Commented Apr 22, 2019 at 16:03
  • I wrote the two cases in answer why this issue occur. Have you checked and troubleshooted both cases? Commented Apr 22, 2019 at 16:06
  • @MuhammadHasham yes we have test it by both way but we are getting same error. Commented Apr 22, 2019 at 16:43
  • @MuhammadHasham do you think we have problem in request body? Commented Apr 22, 2019 at 16:44

1 Answer 1


Case 1

This is an issue with your integration and not the code or the library and the best solution for this is to double check your API keys. You are likely creating a token with the Publishable key from one account and then trying to use it with the Secret key of another account.

Case 2

Another case of this error usually appears when you are connected to Stripe via Test mode, but with your Live settings.

I hope this will help

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.