Open rostyslavvnahornyi opened 2 months ago
Name | Link |
---|---|
Latest commit | 80645b18f20312c4d1c9350aed03d1a968cc0e98 |
Latest deploy log | https://app.netlify.com/sites/3dstreet-editor-builds/deploys/663cf62f4bb6b00008509cdf |
thanks @rostyslavvnahornyi confirming receipt and will begin review
Some notes on first review:
orders
DB table? (YES, is it possible that we don't need this table and instead use claims?)isUserPremium
-- this function does not appear to check if the order was successful or if they cancel at a future date, etc. Instead, what if we add a custom claim and isUserPremium is a check on the claim "plan": "PRO" (KF to test this)Next step for this:
Therefore requests of Rosty:
hello @kfarr , there is first version of billing. this branch needs to be tested locally only and if everything will be fine, i propose to call with you to set up all permissions, accesses, for stripe, google map api, google console, firebase functions to push branch into 'master'.
if there will be problems - let me know, i fix as soon as possible. And i want to talk about design because there are some disavtanges of billing that i met.
Test card: 4242 4242 4242 4242 |||| 12/34 |||| 567.