#arvind_21972

1 messages ยท Page 1 of 1 (latest)

lone crownBOT
verbal arch
#

๐Ÿ‘‹ how may I help?

#

@delicate locust please use this thread

#

I am trying to retrieve a Payment Intent by its id which is in processiong state
But it gives message "requires_payment_method"
Actually I am trying to handle e-mandate for Indian card payment. When I try to take recurring payment, the status of the Payment intent I get as processing.
I want to know if the payment intent comes into success state so I complete payment process at my end, but when I try to get PaymentIntent by id, it gives above message

#

please use this thread for your subsequent messages @delicate locust

delicate locust
#

I am using this code

#

Stripe.StripeConfiguration.ApiKey ="my_stripe_private_key";
var paymentIntentService = new Stripe.PaymentIntentService();
return paymentIntentService.Get(intentId, new PaymentIntentGetOptions { Expand = new List<string> { "latest_charge" } });

#

And its c#

verbal arch
#

would you mind sharing a request ID where your PaymentIntent is failing?

delicate locust
#

pi_3NsnZFHhzXcPYLMM0zyeTOtb

#

This is the payment intent in processing state for the recurring payment I tried yesterday

#

Today I want to know if the recurring payment was successful and for that I trie to retrieve the payment intent with that id

verbal arch
delicate locust
#

This is the complete response I am getting

verbal arch
#

I'm asking about how are you creating the mandate

delicate locust
#

using PaymentInentent

verbal arch
#

did you have a look at the doc I sent you?

#

actually the last_payment_error.message is clear

#

For recurring payment greater than mandate amount or INR 15000, payment was not approved by the card holder.

#

you're passing an amount of INR 20000

delicate locust
#

We ghave followed the doc and e-mandate payment is working,

#

Use used PaymentIntent

verbal arch
delicate locust
#

Now we are trying to impmlement recurring payment without using webhook cause our recurring payment is done by batch process

verbal arch
#

so it's not possible to ask for more

delicate locust
#

ask for more? you mean, the amount?

verbal arch
#

yes

#

you need to respect the original mandate or create a new one and have the customer confirm it

delicate locust
#

ok, I can create another mandate,

#

So we will get this message "requires_payment_method" when we have gone over the limit?

verbal arch
#

requires_payment_method means that the PaymentIntent either doesn't have a PM or that the PM used was declined so you need another one instead

delicate locust
#

Ok, Got it