Jon Haider
Posts: 0
Joined: Thu Oct 16, 2014 2:53 pm

Stripe Card Token no longer works.

A few weeks ago the stripe plugin was working fine, but now the "StripePayment_CardTokenService" returns:
pre
{
"status":400,
"uri":"https://api.stripe.com/v1/tokens",
"response":{
"error":{
"type":"invalid_request_error",
"message":"You must supply either a card, customer, or bank account to create a token."
}
}
}
/pre

Even with all of the information properly provided in the service Test tab (card number, exp month, exp year, and cvc).

Now, if I look at the stripe dashboard log, I can see that a few weeks ago, the token request was successful, and the successful log record looks like this:
pre
{
card:
{
number: "*********4242"
name: "John Smith"
cvc: ""
exp_year: "17"
exp_month: "04"
}
}
/pre

But now it's interpreting it as:
pre
{
card%5Bnumber%5D: "4242424242424242"
card%5Bexp_month%5D: "04"
card%5Bexp_year%5D: "2017"
card%5Bcvc%5D: "123"
card%5Bname%5D: "Something"
}
/pre

I think that Stripe is not recognizing that the code card[number]/code is part of the card JSON object...

Is anyone else experiencing this problem?

Benoit
Posts: 0
Joined: Fri Dec 19, 2014 3:26 pm

Stripe Card Token no longer works.

Yes, I do have the same problem and I don't know how to solve it for the moment.
Thanks for your topic

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Stripe Card Token no longer works.

Hello!

We forwarded your request to our development team, they are investigating this issue. We'll get back to you with the update.

Jon Haider
Posts: 0
Joined: Thu Oct 16, 2014 2:53 pm

Stripe Card Token no longer works.

Thank you Evgene!
I've also opened a priority support ticket from my end to track the resolution.

:D

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Stripe Card Token no longer works.

Hello!

Could you please clarify do you get this issue when you test the service in preview in a browser (not a "test" function in the builder)?

Benoit
Posts: 0
Joined: Fri Dec 19, 2014 3:26 pm

Stripe Card Token no longer works.

Hello,

From my side, I am getting this issue in the browser on computer and mobile.

Thanks,

Benoit

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Stripe Card Token no longer works.

Hello -

Is it possible to share your app with us, and tell us the app name.

And please clarify is it works if you test in a window without mobile -frame?

Benoit
Posts: 0
Joined: Fri Dec 19, 2014 3:26 pm

Stripe Card Token no longer works.

Hello,

Thanks for your reply. The app is now shared with support and its name is Project Ert4.

It did not work neither on Firefox and Chrome browser on my macbook or iphone.

Thanks a lot,

Jon Haider
Posts: 0
Joined: Thu Oct 16, 2014 2:53 pm

Stripe Card Token no longer works.

It occurs when you test the service in the browser as well as in the builder "test" function. Both.
If you quickly follow the Stripe tutorial (even the one updated in the last couple of weeks), once you install the Stripe plugin, immediately add the API key and test, and you'll see that it will not return a successful request fr a token anymore.

Jon Haider
Posts: 0
Joined: Thu Oct 16, 2014 2:53 pm

Stripe Card Token no longer works.

It does occur for me if I test it in mobile without mobile frame as well, and also if testing from browser on mobile device.

My app name is Totes (which has been shared with appery a while ago).

Return to “Issues”