#kamran-incomplete-payment

1 messages · Page 1 of 1 (latest)

scenic spade
vital remnant
scenic spade
#

Yes, the payment has not been confirmed

vital remnant
#

params.put("payment_method", "pm_card_visa");

#

how can i know about the paymentmethod

scenic spade
#

What do you mean?

vital remnant
#

pm_card_visa ?

#

ID of the payment method (a PaymentMethod, Card, or compatible Source object) to attach to this PaymentIntent.

#

pm_card_visa can i put paymentMethodId on this..

#

?

scenic spade
#

YOu've already set a payment method on the payment intent, but it needs to be confirmed

#

Are you trying to do server side confirmation, or need to do this client side?

vital remnant
#

server side

scenic spade
#

note that when you are creating the payment you should include confirm=true

vital remnant
#

okay..

#

i have few more questions..

#

i am storing payment information on server side..

#

when user do subscription in our platform then we charge from then..

#

this we will do on serverside..

#

no matter what type of card we use..

vital remnant
scenic spade
#

It is shown in the guide - in the payment intent creation request

vital remnant
#

"confirmation_method": "automatic",

#

you are talking about this.. right?

#

i am not getting where i put confirm = true?

#

okay got it..

#

i have one question

#

if we use 3d secure card..

#

is there anyway to pass verificaiton

#

because some platform directly deduct amount without any verification like facebook..

scenic spade
#

Nope, you need to support 3ds authentication, otherwise the bank is likely to decline the payment

#

the guide show you how to handle that by sending the client secret back to your client application to have your customer handle the authentication

vital remnant
#

how can we do. can you share link..

#

we have a mobile application not a web application..

scenic spade
#

This is also explained in that guide - you really need to read the entire thing and work through all the steps

vital remnant
#

i have one more question..

#

if i use 3d secure card..
i have to different plans. so when i run monthly subscription. charge monthly every time i have to redirect 3d screen. right?

scenic spade
#

If you set up the card for off-session use, this should be less common, but it is always possible

vital remnant
#

off-session ?

#

basically need your help..

#

how can i handle subscription..

#

payments

scenic spade
#

Using setup_future_usage when you collect payment details