#kamran-incomplete-payment
1 messages · Page 1 of 1 (latest)
Yes, the payment has not been confirmed
eg, using https://stripe.com/docs/api/payment_intents/confirm
or confirmCardPayment in Stripe.js
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
params.put("payment_method", "pm_card_visa");
how can i know about the paymentmethod
What do you mean?
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..
?
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?
server side
I suggest going through this guide then: https://stripe.com/docs/payments/accept-a-payment-synchronously?platform=web#create-payment-intent
note that when you are creating the payment you should include confirm=true
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..
where i include confirm = true ?
It is shown in the guide - in the payment intent creation request
"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..
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
how can we do. can you share link..
we have a mobile application not a web application..
This is also explained in that guide - you really need to read the entire thing and work through all the steps
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?
If you set up the card for off-session use, this should be less common, but it is always possible
off-session ?
basically need your help..
how can i handle subscription..
payments
Using setup_future_usage when you collect payment details