#supriya

1 messages · Page 1 of 1 (latest)

elder questBOT
rain vine
#

Hi, how can I help?

queen yarrow
#

how do i validate the card expiry data and expiry month while doing the payment

#

expiry date **

rain vine
#

What do you mean by "validate"?

queen yarrow
#

that means if i enter card expiry date and month given wrong

#

how stripe will checking while doing the payment

rain vine
#

How are you taking payments?

queen yarrow
#

through code i am using stripe API's

rain vine
#

Are you using Payment Element?

queen yarrow
#

we are using createpayment Intent,payment method and confirm payment

queen yarrow
#

Can you help on how i need to use Payment Element

#

Vanya are you there

elder questBOT
rain vine
modern crescent
#

👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!

queen yarrow
#

Okay i am checking

#

which is provided by Vanya

#

Hi tarzan

#

what is the stripe API URL for element instance

modern crescent
#

I'm not sure I understand the question

queen yarrow
#

Can you please provide the Payment Element stripe API url

#

Curl format i am askig

modern crescent
#

what are you trying to do?

#

the PaymentElement doesn't have an API url

#

please visit the link that my colleague shared

queen yarrow
#

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

modern crescent
#

Payment Element is a front-end component

#

you can also download a full app that you can use to build your own app

queen yarrow
#

okay checking

#

Okay thank you but is there any other way to do for existing one

modern crescent
#

I'm not sure I understand

queen yarrow
#

I mean is there any other way to validate card expiry year and month ,Cvv

#

except above mention flow

modern crescent
#

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?

queen yarrow
#

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

modern crescent
#

you can block the payment by using radar rules

queen yarrow
#

need to impliments there rules in code ?

#

or stripe dashboard side

modern crescent
#

on the stripe dashboard

queen yarrow
#

Ok

#

In stripe dashboard where it is location

#

to setup the radar rules

elder questBOT
fiery sleet
queen yarrow
#

how to write the radar rule

fiery sleet
queen yarrow