#ibgoldbergs
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
You can check the previous_attributes property on the event to see what fields have changed: https://stripe.com/docs/api/events/object#event_object-data-previous_attributes
As so I could look at:
previous_attributes.items.data[0].plan.product
Yes
Sure!
We are a two sided market place using stripe connect.
We have 55+ partners who sell subscriptions to their customers via our platform.
We collect 50% of revenue from the subscriptions, and our partner's get the other 50%
There are special circumstances where our partners want to sell a year (or x period of time) of subscription to their client outside of the platform.
In this case we will direct debit the connected account for the 50% owed, but we are wondering what the best practice would be to setup a subscription that won't charge for a specified pricepoint until x date.
Example:
- Client signs a contract with the partner and sells a 1 year subscription with the contract (and collects all money as part of the contract)
- The partner enters the client into our system with the $ amount sold and the end date of the contract
- We debit the partner's connected account
- We now need to setup a subscription for this client, but not charge them for the subscription until x date.
What do you think is the best way to go about this?
You can use trial on Subscription: https://stripe.com/docs/billing/subscriptions/trials
Hmm yes but then it would appear to be a trial but it actually wouldn't be a trial because they paid for the service.
It would look weird in reporting, I think.
Other ideas?
You could potentially add a credit note stating that the amount was paid outside of Stripe: https://stripe.com/docs/api/credit_notes/create
And it will be applied to the first invoice.
Hmmm interesting. What would this credit do to our reporting?
Would it take real money?
Hey! Taking over for my colleague.
What would this credit do to our reporting?
Not sure, I invite you test this.
Would it take real money?
What you mean by this exactly ? credit note is a note to adjust the amount of a finalized invoice (like in your case, likeselling a year (or x period of time) of subscription to their client outside of the platform.)
Yes, you can adjust their balance, more details can be found in this guide:
https://stripe.com/docs/billing/customer/balance
thanks