#devninjaos-tokens
1 messages · Page 1 of 1 (latest)
Hi! you should generally never be calling that Tokens API today, it's fully deprecated and legacy.
more generally what are you trying to do overall and what guide are you following? What is the $card_data variable, what's in it and where does it come from?
Stripe_Token::create(array('card'=>array('id'=>'card_1Ksji4JpHoE1SDYdpOcBdkQ4')))
this code i used.
yep, and that won't work, I don't know what overall you're trying to do, can you share the context of your overall goal?
i have to list the all card. than click to pay.
hmm, I'm not sure how that API call relates to that!
Overall, the place to start with developing code to accept a payment on Stripe is https://stripe.com/docs/payments/accept-a-payment . Is that the guide you're using?