#Suren-subs

1 messages ยท Page 1 of 1 (latest)

tender sapphire
#

Hello! Can you rephrase your questions? I don't completely understand what you're asking

glad agate
#

I just want to make it so that the user can pay himself after an unsuccessful payment

#

subscriptions

#

for example, at the end of the month there are not enough funds on the card
and the subscription cannot be updated
after that, I want to make sure that as soon as the user refills his balance, he manually pays

#

I of course made it so that stripe tried to do it on its own, but I still need to do it manually

tender sapphire
#

Ah, gotcha - so you just want to build a flow into your integration that would a user to come back and pay for a subscription after updating payment details?

glad agate
#

after a successful subscription to the plan of the month!.
one month later the card has no balance
and for example after 2 days
the user has replenished the balance
and then I don't want to wait for automatic stripe charging

#

but instead I want to repeat the payment by clicking the button

tender sapphire
#

All you'd have to do is reconfirm the underlying Payment Intent again with their payment method to re-attempt payment

#

You can find the payment intent you need to pay at subscription.latest_invoice.payment_intent

glad agate
#

yes, but I don't understand how to get and re-pay for subscriptions when the user clicks

tender sapphire
#

Are you asking how to know which subscription needs to be repaid?

glad agate
#

I can find out, but I do not understand how to pay for a specific subscription after a failed payment

tender sapphire
glad agate
#

there is no payment intent

chrome garnet
#

When retrieving the subscription

glad agate
#

if I do so, will it be right?

chrome garnet
#

the first one only

glad agate
#

yes the fact is that it was originally

#

but i don't get it

chrome garnet
#

Does that give you an error or are you saying it it still not expanding?

#

Can you send me the text of the entire call?

glad agate
chrome garnet
#

Interesting. That should work. Testing myself now

#

If you retrieve the invoice separately and expand the payment_intent property does it show up?

glad agate
#

to be honest, I haven't tried it yet, I'll try now

chrome garnet
#

Interesting. Expanding that property on my subscription creation call works for me

#

Can you send me the request ID (req_123) of the creation request where that expansion did not work?

glad agate
#

the extension does not work for me at all

#

nowhere

#

is there a workaround?

#

for example get payment intent via invoice id

chrome garnet
#

Can you send me the request Id so I can look in to this?

glad agate
#

how to get id request

#

๐Ÿ˜…

#

is this a subscriptions id?

chrome garnet
glad agate
#

I understood everything already
you really helped me a lot
I really appreciate your work
thank you very much

chrome garnet
#

Of course, happy to help