#supriya
1 messages · Page 1 of 1 (latest)
Hi, how can I help?
how do i validate the card expiry data and expiry month while doing the payment
expiry date **
What do you mean by "validate"?
that means if i enter card expiry date and month given wrong
how stripe will checking while doing the payment
How are you taking payments?
through code i am using stripe API's
Are you using Payment Element?
we are using createpayment Intent,payment method and confirm payment
No
Can you help on how i need to use Payment Element
Vanya are you there
Please just follow this guide: https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=elements
👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!
Okay i am checking
which is provided by Vanya
Hi tarzan
what is the stripe API URL for element instance
I'm not sure I understand the question
what are you trying to do?
the PaymentElement doesn't have an API url
please visit the link that my colleague shared
okay
we are using for payment for our custom page
but i can use payment element i am not understanding
can you help me
By using createpayment Intent,payment method and confirm payment we are done the payment
transaction id also generated
but i am not able to check the valid expiry date and month of the card
Payment Element is a front-end component
you can see how it is integrated here https://stripe.com/docs/payments/quickstart
you can also download a full app that you can use to build your own app
I'm not sure I understand
I mean is there any other way to validate card expiry year and month ,Cvv
except above mention flow
if you don't need to pay directly
you can always use a SetupIntent
this would create a new Payment Method and would check the validity of a Card
what's really your use-case
what are you trying to solve?
alrery we are using the stripe api call with my payment page
but here deducting the amount
while deducting the amount if customer enter wrong expiry date and expiry month and CVV then also its deducting the amount
you can block the payment by using radar rules
as explained here https://stripe.com/docs/radar/rules#traditional-bank-checks
on the stripe dashboard
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
how to write the radar rule
Reference here should help: https://stripe.com/docs/radar/rules/reference
ok thank you checking