#anthonyl5602

1 messages · Page 1 of 1 (latest)

gaunt ivyBOT
formal turtle
#

Sorry, don't understand the question

jagged nova
#

I have subscriptions on Stripe, and I have payments. I would like to be able to link each payment to the corresponding subscription. via stripe API

formal turtle
#

Well assuming you're using the Subscriptions API then the payments should already be 'linked' via a shared Invoice

#

Do you have an example of objects you're trying to 'link'?

jagged nova
#

Okay, you answered my question. THANKS
But starting from an invoice we can find the payment as well as the subscription, but I have a problem with my stripe account, it is that each first invoice of a subscription is 0€ because stripe considers it as an "trial" when the customer pays an amount other than 0€, how is this possible?

formal turtle
#

But starting from an invoice we can find the payment as well as the subscription
You'd check the payment_intent and subscription fields on the Invoice object
it is that each first invoice of a subscription is 0€ because stripe considers it as an "trial" when the customer pays an amount other than 0€, how is this possible?
Do you have an example?

jagged nova
#

do you have access to all stripe accounts? If I give you IDs will you have access to them?

formal turtle
#

Yep!

jagged nova
#

invoice 0€, payment 37,50€ ...

formal turtle
#

Deleting the screenshot as it includes PII

#
jagged nova
formal turtle
jagged nova
#

Normally the method to follow to link a payment to an invoice is to generate the invoice that the customer pays, right?

formal turtle
#

By the way you can find these requests in the Dashboard on the page for the payment (scroll to the very bottom)

formal turtle
jagged nova
#

Okay, the subscription creation method is not the right one then. as well as for the 2nd link that I sent you. Thank you very much for your answer ! Have a good day

formal turtle
#

What specifically are you trying to do?

jagged nova
#

in fact I'm trying to understand why I can't connect the payments to the invoice and the subscriptions, but it's a single cause of the payments, I have my answer

formal turtle
#

Ok, perfect!