#Mathankumar-payment

1 messages · Page 1 of 1 (latest)

scarlet sky
#

Hi, Can you try List Payment Intent API, and filter out the status

lilac tangle
#

ss, I need to show the payment failed info to my customer in my product!

scarlet sky
#

Yes, use the List Payment Intent API above!

lilac tangle
#

I need failed payment detail to show which status I am going to check in that object?

scarlet sky
#

The PaymentIntent has a status property

lilac tangle
#

I know, my question is, I need to take failed payment by checking the status so what do I need to check in status

#

?

scarlet sky
lilac tangle
#

requires_payment_method is like payment failed

scarlet sky
#

Yes

lilac tangle
#

Is any other status for payment failed or this is the only one to understand payment failed?

scarlet sky
lilac tangle
#

In this query i need get only particular customers intent how can i change this

#

$stripe = new \Stripe\StripeClient(config('secret_key')); $data = $stripe->paymentIntents->all(['limit' => 3]);

scarlet sky
#

You have a parameter customer

lilac tangle
#

Is any way to check the subscription also?

main ember
#

What do you want to check for a subscription?

lilac tangle
#

particular subscription payment failed info

main ember
lilac tangle
#

when I update trial_end for example** trial_end => Oct 1st** after the trial, the plan will continue from Oct 1st to Nov 1st??

main ember
#

Yup, subscription will continue

lilac tangle
main ember
#

Yes, the next subscription cycle will start from Oct 1 to Nov 1

lilac tangle
#

From the API I added trial_end (trial period) but if the customer update his plan in customer portal how can i add trial period?

wild olive
#

I don't think you can.

lilac tangle
#

how can i do this?

wild olive
#

you'd like to add a trial period to the subscription when the customer changes the pricing plan in the customer portal?

lilac tangle
#

they changing in stripe portal how can do that?

wild olive
#

I don't think you can. The plan change would just happen. Can you explain the exact use case and intention there? Maybe there's a workaround.

lilac tangle
#

we have two plans starter(free plan) and pro (cost), If Customers in the starter plan from Oct 1st and now change to the pro plan, In this scenario, I need to add a trial period from Oct 9th to Sep 1st and after they continued with cost(pro plan). Now add this logic in my API but I don't know how to do this when a customer changes his plan in the customer portal ?

wild olive
#

I don't think you can, it's just not something the portal supports.

lilac tangle
#

Is this scenario is common or it's new here for you?