Commit Graph

8 Commits

Author SHA1 Message Date
Shawn Erquhart
3078dc6794 redirect back after checkout 2025-03-03 11:58:09 -05:00
Shawn Erquhart
287aba7952 accept polar config in code 2025-02-27 13:04:20 -05:00
Shawn Erquhart
1db4b9c424 make product config optional 2025-02-25 17:12:44 -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
25a6eab8a0 document api 2024-11-13 18:29:05 -05:00
Shawn Erquhart
381127fb44 add example functions 2024-11-13 16:05:43 -05:00
Shawn Erquhart
c8d6ecf16b wip 2024-11-03 13:21:36 -05:00
Shawn Erquhart
2eaff5e77f wip 2024-10-31 17:35:23 -04:00