#Hariharasuthan
1 messages · Page 1 of 1 (latest)
Can you share the request ID (req_xxx) that you faced this error? Here’s how you can find it: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Without the request ID, we are unable to identify which API are you using and the reason why it is not supported in India
req_2Lt4moy9Gbm486
Thanks for sharing. For account in India, only Payment Intent is supported: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
In addition, Charges API is legacy and it shouldn't be used
Working perfect. Thanks a lot
But one more thing I need to add CVC in card payment. How can I add it ?
If you use above integration with Payment Element, CVC should have been collected. Doesn't CVC collection appear in your Payment Element?
Yes it doesn't appeared in my payment element
This is my code, please check
Charge::create([
'amount' => 200,
'currency' => 'myr',
'source' => $token,
'description' => 'Payment Description',
'metadata' => [
'card_number' => $cardNumber
],
]);
As mentioned earlier, you shouldn't use Charges API. I'd recommend using Payment Intent with Payment Element with this guide: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
Show this error "Payment failed: A token may not be passed in as a Source. You can convert your token into a Source using /v1/sources with card[token]=tok_1NOcGVAG4ZS35xcykBL47P27."
Can you share the ID (req_xxx) of the failing API request? https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
req_WbcKjxc2XVAgT5
Yeah so you're using pretty outdated APIs (Tokens/Sources) in a payments flow. You should be using Payment Methods via the guide my colleague shared
As an Indian merchant that's really your only option
I am Malaysian merchant please share the docs
I need to add card CVC also, But in that documentation I can't find it. Please help me