Commit Graph

20 Commits

Author SHA1 Message Date
Julian Sigmund
2a7e92a99c fix: add optional subscriptionId prop for checkout link (#17)
* feat: add optional subscriptionId prop for checkout link and upgrade functionality

* fix: move subscriptionId prop to the correct position in createCheckoutSession parameters
2025-09-01 13:53:55 -04:00
Terrarix
61cbd6246a docs: add note about syncing existing Polar products (#9)
* docs: add note about syncing existing Polar products

Clarifies that pre-existing products must be synced using syncProducts.

* function is a more suitable word
2025-06-24 22:08:16 -04:00
Shawn Erquhart
8a40db92d2 add syncProducts function 2025-06-16 22:32:23 -04:00
Shawn Erquhart
446d9e3973 fix events endpoint path in docs 2025-06-02 12:45:19 -04:00
TN
17bc9c3444 Fix typo (#6) 2025-05-22 12:18:27 -04:00
Shawn Erquhart
e5848f7a35 cover listUserSubscriptions in docs 2025-04-22 18:27:43 -04:00
Shawn Erquhart
92785c7913 improve docs 2025-03-27 14:25:01 -04:00
Shawn Erquhart
47eea6453d note subscriptions not deleted from database in readme 2025-03-03 12:20:07 -05:00
Shawn Erquhart
cc884fdde6 capture cancellation reason/comment, add callback docs 2025-03-03 12:07:54 -05:00
Shawn Erquhart
9e72f1b578 support checkout page as alternative to embedded checkout 2025-03-03 11:06:13 -05:00
Shawn Erquhart
37aaf25dd5 improve polar setup instructions 2025-03-02 15:55:53 -05:00
Shawn Erquhart
72c247059c fix readme format 2025-03-02 14:19:34 -05:00
Shawn Erquhart
579a464dd3 add organization token permission requirements 2025-03-02 14:17:48 -05:00
Shawn Erquhart
287aba7952 accept polar config in code 2025-02-27 13:04:20 -05:00
Shawn Erquhart
a9e591fe8d rework apis, add client components (#2)
* wip

* add static example app

* wip

* wip

* use relative path for jsx import

* wip

* working with single upgrade

* add premium plus upgrade cta

* make the ctas pricing page style

* update price tiles

* wip

* add current plan state

* wip

* working checkouts

* add free tier tile

* fix cta button arrows

* fix customer model

* add dummy manage subscription button

* improve subscription manage button

* fix current plan tile state

* revoke existing subscriptions when a new subscription is created

* support upgrade, downgrade, cancel

* add downgrade buttons

* wip

* implement upgrade/cancel functionality

* add downgrade confirmation

* add upgrade confirmation

* add billing settings panel

* wip

* wip

* split out pricing panel section

* fix manage button

* wip

* working

* wip

* differentiate premium plus

* fix price for current subscription

* add prices

* add interval toggle

* wip

* set default interval for change plan screen

* simplify

* add yearly pricing

* fix upgrade/downgrade

* prompt on delete

* wip - docs

* wip

* wip - docs

* wip

* wip

* wip

* wip

* wip

* update version
2025-02-25 13:01:41 -05:00
Shawn Erquhart
3ff82d9b60 drop beta note 2024-12-16 17:38:24 -05:00
Shawn Erquhart
bbe9b308a2 add all functions to client 2024-11-13 20:08:06 -05:00
Shawn Erquhart
0407140a0c move listProducts back to client 2024-11-13 19:26:40 -05:00
Shawn Erquhart
25a6eab8a0 document api 2024-11-13 18:29:05 -05:00
Shawn Erquhart
2eaff5e77f wip 2024-10-31 17:35:23 -04:00