#anthonyl5602
1 messages · Page 1 of 1 (latest)
I can't find how to do it, in charges or payment_intents there is no subscription identifier..
Can you explain with an example please?
What do you mean by associate? Is the payment not being collected as part of a subscription invoice already?
I have received payments from people for subscriptions and I would like to be able to associate the payments with a particular subscription.
For example, I have subscription “A” which is 50€/month, subscription “B” which is 40€/month. I received 5 payments of 50€ and 3 payments of 40€, I wish I could say, the 5 payments of 50€ are for subscription "A" and the 3 payments of 40€ for subscription "B"
I think you might be asking about setting metadata on the payment, ie record your own information related to your system?
Becuase if you're using Stripe BIlling and our subscriptions, those payments would already be tied to specific subscriptions via the invoices
Tells you that basic payment is linked to an invoice and the invoice to the subscription? If a payment is not linked to an invoice it is not possible to link it to a subscription on is agree?
yes I use stripe subscriptions, but the application is not mine, it's a client 🙂 thank you for your help!
I'm not sure what you mean by associate then
The subscription generates invoices, invoices have payment intents. The payments intents are already associated with a specific subscription via the invoice, so I'm not sure what you are trying to do.
I'll do it differently, thanks anyway! I have another question, it's for the Expanding Responses, I would like to have the name of the product for which the person paid (via the API) but I can't pass the expand argument on postman, could you help me please?
I can't pass the expand argument on postman
You should be able to, why can't you?
expand[]='some.path.here'