Skip to content

How to get subscription_id or customer_id #4572

Answered by birkjernstrom
PeterWaIIace asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @PeterWaIIace. Great feedback and writing more guides and examples is definitely something we're going to do. We've done quite a few for TypeScript though in the meantime.

I'd look at this example in particular:
https://docs.polar.sh/developers/guides/node#reconciliation-with-your-app

Our recommended solution here is to use metadata (JSON) in the creation of a checkout session. You can then insert the user_id on your end and the future order and webhooks associated with purchases via that checkout will contain the full metadata object, i.e your services user_id.

In addition, we're working on enhanced Customer Management & APIs and will offer a more thorough customer model automaticall…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@PeterWaIIace
Comment options

@birkjernstrom
Comment options

@PeterWaIIace
Comment options

@birkjernstrom
Comment options

Answer selected by PeterWaIIace
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #4571 on December 01, 2024 08:13.