All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
2.1.0 (2023-08-02)
- plans: add first installment discount (8128fba)
- create access: Updated galaxpay token in 5min (820ba5c)
- create order: fix create new order (94fdda9)
- create transaction: fix finalAmount (2695595)
- update subscription: log update (774b4ae)
- webhook ecom: Fix firestore erro save (bb043fb)
- webhook ecom: fix recalculate freigth (2dd40d9)
- webhook ecom: update logs erros (e203ef4)
- webhook galaxpay: If galapay api fails reply 500 to webhook (eb7445e)
- webhook galaxpay: It does not compare if it does not find the items in the firestore (f4956ca)
- webhook galaxpay: merge to main and do not create when subscription quantity is not equal to zero (87dba31)
- webhook galaxpay: rebase commit (ba3ab46)
- webhook gp: Fix status create transactions (c0e8632)
- webhook gp: fix value check error (deca38d)
- webhook gp: Fix value check error (cd2a138)
- webhook gp: Fix value check error (34d7485)
- webhook: find app with lowest shipping price (2b1f45d)
2.0.0 (2023-06-07)
-
updating app authentication scope and procedures
-
feat(webhook ecom): Update subscription with product value/quantity
-
fix(webhook ecom): remove unnecessary logs
-
fix(webhook ecom): remove unnecessary logs
-
fix(webhook ecom): remove unnecessary comments
-
fix(webhook galaxpay): On new order set stock status on item as pending
-
fix(update subscription): Updates signature in galaxpay and saves items in firebase if there is a value change
-
fix(webhook ecom): fix the query and remove unnecessary logs
-
fix(webhook ecom): correct the query and remove unnecessary comments
-
Update functions/ecom.config.js
[skip ci]
-
fix(Webhook ecom): Fix product variation search error
-
fix(webhook ecom): Check the values before any changes
- update subscription value on items quantity/price change (#59) (15883b0)
- update-subscription: receive item edit webhook to change subscription (4cc2b50)
- deps: update all non-major (81e5381)
- deps: update all non-major (5ec6117)
- deps: update all non-major (dc51e58)
- deps: update all non-major (e6a8f96)
- deps: update dependency firebase-tools to ^11.16.0 (58e7712)
- discount: fix discount duplication (3b6ed01)
- logs: correction in logs for refactoring and correction of refactoring searches (bce5dc8)
- update-subscription: check the value before updating subscription after payment of the first installment (776e204)
- update-subscription: remove variable isSandbox and check value before updating (cdb40b1)
- webhook-ecom: improved logging in case of ecom cancellation error for galaxpay (4180cdc)
- webhook-ecom: Url correction for editing the signature in galaxpay (ce80e63)
- webhook-galaxpay: validate order search (760d80c)
- webhook-galaxy: Starts creating new orders only if status is paid, renames functions (5c6fadd)
- webhook-galaxy: Starts creating new orders only if status is paid, renames functions (0e00843)
- webhook-utils: Add confirmHash check or check status in galaxPay and use randomObjectId for id (ef78830)
- webhook: Add verification of galaxPaySubscriptionId (4047d68)
- webhook: adds a little delay to get the order (f84d14f)
- webhook: Check transaction date to insert in payment history (14429e0)
- webhook: check transaction status and subscription before in galaxpay and cancel subscription with webhook if needed (f8c9ba9)
- webhook: Condition not to update canceled subscription (3a219a0)
- webhook: Create payment history if there is no previous transaction (0bd8792)
- webhook: fix log (a845cee)
- webhook: fix to not try to edit canceled order and prevent addTransaction retries (18b5cfe)
- webhook: fix url for id update (9e805c8)
- webhook: fix when updating canceled payment (93fcdb2)
- webhook: Handle error message in storeAPi webhook (2636fc0)
- webhook: handle exception when order does not exist (4baf5ac)
- webhook: make sure the order was found before trying to cancel (536d782)
- webhook: Printing wrong variable (6120f6e)
- webhook: remove parse from status coming from webhook (b9f3d10)
- webhook: Remove some unnecessary logs (60c1640)
- webhooks-utils: Fix long try/catch block and semantics (135191b)
- webhooks: Add log for update order (883f3c4)
- webhook: Update logs (26f8c11)
- webhook: Update logs (f435fd4)
- webhook: Update logs (6ecf88f)
- webhook: Update logs (7853af6)
1.1.2 (2022-09-09)
- List Payments: add minimum amount setting in payment methods to list payments (028c174)
1.1.1 (2022-07-15)
- Add Transaction: add function check payday (74f6e9f)
- Create Axios: remove URL sandBox (4cc99b8)
- Create new Order: sintax date for request api (6db4995)
- deps: update all non-major (d6de2fb)
- deps: update dependency firebase-admin to v11 (#30) [skip ci] (0eb9379)
- deps: update dependency firebase-tools to v11 (#27) [skip ci] (0f5654c)
- Discount: remove discount in Subscription GalaxPay (aa9fc4b)
- discount: remove discount in Subscription GalaxPay (#31) [skip ci] (ad4adb3)
- List Payments: remove URL sandBox (545e739)
- Onload Expression: remove var sandBox (573e7e8)
- webhook galaxPay: check status, update order (fddd7f1)
- webhook GalaxPay: Modify rule, create order in API if status different from notSend (53dd0e3)
- Webhook galaxy: update check payday (e5f5080)
1.1.0 (2022-04-21)
- PIX: add pix payment method (1400463)
- PIX: create payment Pix in config (5ba21d5)
- Plans: create plans in config (fadc18d)
- config: add frist payment deadline (2bed697)
- config: string corretion frist payment (34c3e24)
- ecom config: back subscription_label (ec3a3ab)
- ecom config: remove plan_recorrence and subscription_label (e1b58b3)
- list-payments: fix credit card icon uri (17b38ee)
- periodicity name: alter name periodicity and create parse (7e0fc7e)
- acessToken: add console log (5a2131e)
- acessToken: propriety accessToken firebase (2a1d94b)
- acessToken: propriety in create axios (317946c)
- acessToken: remove proprity accessToken in create axios (e0c24ed)
- authoriation: verifing time AcessToken (a8be46c)
- authoriation: verifing time token (49305fa)
- authorizatio: create request authorization and token (9b1f0e7)
- authorization: verifing bug (406cbee)
- authorization: verifing bug (81c06bb)
- authoriztion: update authorization, create access token and save firebase (74fe823)
- cancell subscription: handle error cancell (1b38b13)
- create subscription: handle error create subscription production (ea53071)
- create transaction: add flag indetify periodicity (b080c29)
- create transaction: handle bug (74e2465)
- create transaction: indentify periodicity in transactions notes (e6c03f1)
- create transaction: new test handle bug (1628de4)
- create transaction: remove function parseId (395055e)
- create transactions: remove logs (355c290)
- create transaction: test bug (2317683)
- create transaction: update data create (b553d16)
- create transation: create transaction firebase (aca6271)
- create transation: handle doc firebase (1b5155a)
- create transation: handle status transations (379d89f)
- create transation: not handle preAuthorize card (b959167)
- create transation: save subscription in firebase for query webohook (67e2351)
- create transation: save subscription in firebase for query webohook (2b35ee4)
- create transation: test create card (c41a27c)
- create transation: update name proprity card (9141d36)
- create transation: update parse status (8ab4d56)
- create transation: verifing card descriptions (2212b64)
- create transation: verifing card subscriptions (62af7e5)
- create transation: verifing parse status (dbb9cbc)
- create transation: virifing parse status (ac3f1bf)
- create-transaction : send error (e2ee8ea)
- create-transaction : send transaction (a9533a9)
- create-transaction : verifing bug (fcb2ea7)
- create-transaction : verifing bug (d1494f7)
- create-transaction : verifing bug galaxpayAxios (2e3102e)
- create-transaction : verifing bug response (e3c16df)
- create-transaction: add field extrafields in subscriptions (bd3c21d)
- create-transaction: create subscriptions in galaxpay (f0f2708)
- create-transaction: payment method correct creditcard (9893a70)
- create-transaction: subscription create (32ee7dc)
- create-transaction: verifing bug (cf483be)
- deps: update dependency dotenv to v16 (#14) (f97ec59)
- galaxPay-webhook: frist test webook (1d19e50)
- galaxPay-webhook: rename route webhooks (a41f4c4)
- galaxPay-webhook: verifing response webohook (6a1a285)
- hash card: back onload path public (b571bc1)
- hash card: updade function onload (c87ce60)
- hash-card: add console card test (f344c31)
- hash-card: move onload path and update config active produce webhooks (121a4f2)
- hash-card: remove console card test (f9f2fb1)
- hash: back then and cath (96d08aa)
- hash: test hash (1aa22cb)
- hash: update varible function onload (6b03c8d)
- list payments: indetify periodicity and quantity in subcription (00c1f76)
- list payments: remove quantity (b7a085b)
- list-payments: init list-payments (efa5296)
- onload: expiration date not formated corret and add subscription label config (b23b718)
- recorrence quantity: define recorrence unlimited (fd32ce6)
- webhook e-com: alter verb for delete (ea8f17e)
- webhook e-com: bug require (c5ad2e8)
- webhook e-com: cancell subscription galaxPay (cf34874)
- webhook e-com: Msg sucess cancelled (9bbcae2)
- webhook e-com: remove console.log (ecb2895)
- webhook e-com: test cancell (c1c5dd7)
- webhook e-com: verifing response (bc9ec3b)
- webhook e-com: verify body request (c315072)
- webhook: add copy new orders (55bbff1)
- webhook: add items in create new order (e6ba74e)
- webhook: add paymentMethod (f56bf79)
- webhook: add proprity in body request (db20811)
- webhook: add proprity name buyer (e94f8f6)
- webhook: add transaction order (22fc87a)
- webhook: add transaction order (ced690a)
- webhook: back debugs (07cfd9f)
- webhook: back logs update status (18233e4)
- webhook: back request and path correction parseStatus (a1e5e62)
- webhook: body correction request (d609782)
- webhook: correction custom field (6577d05)
- webhook: create new order api (d56db71)
- webhook: create promise find order (e6bd1d6)
- webhook: create transaction proprity in new order (80c8d77)
- webhook: custom field (6cc18b8)
- webhook: debug body (f5f888b)
- webhook: edit proprity name buyer (bbc51ee)
- webhook: edit proprity save firebase (d1dc4e9)
- webhook: err webhook (f526ce1)
- webhook: error cancelled subscription (f34a75f)
- webhook: find order id (c5426da)
- webhook: get with fields (b1ab44e)
- webhook: handle bug create new order (f323252)
- webhook: handle bug field (fd466af)
- webhook: handle err cancelled dashbord admin (5c3c047)
- webhook: handle error (93c3ac4)
- webhook: handle error (eda079b)
- webhook: handle promise find order (c342978)
- webhook: handle transactions limited (2f44915)
- webhook: handle update status transaction (fd75097)
- webhook: heandle error create new order (6390f42)
- webhook: insert payment link in transaction (6788369)
- webhook: log findOrder (2c0c415)
- webhook: modifid status (c7c2963)
- webhook: name proprity incorrect (c49bb43)
- webhook: new debug body (08a2fff)
- webhook: new set timeout (42b5659)
- webhook: new test add transaction (518b9f6)
- webhook: new test handle (01e8125)
- webhook: new test payment link in transaction (8404503)
- webhook: new test promisse in add transaction (1450cc7)
- webhook: new test request API (8ba78af)
- webhook: new test request create orders (e5791b8)
- webhook: new test transaction Update status (46a2abc)
- webhook: new test verifing bug (86025ac)
- webhook: new verifing payment card in subscriptions (59e7856)
- webhook: not update status, if order is not subscription (39ba5e0)
- webhook: promisse in add transaction (40ed846)
- webhook: promisse in add transaction (535d926)
- webhook: remove debugs (4200361)
- webhook: remove intermetiador (5ab1053)
- webhook: remove logs app (2c2ef9f)
- webhook: remove proprity buyer (2bef3dc)
- webhook: remove proprity id in create new order (fe6aa3b)
- webhook: remove request (3ad2fc0)
- webhook: remove status and notes (a120545)
- webhook: remove status proprity update transaction (176c455)
- webhook: remove timeout (6c8f427)
- webhook: remove transaction order (00d3944)
- webhooks: back functions (3fa4171)
- webhooks: create transaction in firebase (45352e8)
- webhooks: create doc firebase (568b3dc)
- webhooks: create transaction in firebase (e3dfbd1)
- webhook: set timeout 1000ms (27a852c)
- webhooks: find doc firebase (aec86a5)
- webhooks: handle doc firebase (a9bcc71)
- webhooks: handle error collection transaction (0527fee)
- webhooks: modified status (ba2ee96)
- webhooks: modified version package and handle erros webhooks (e216235)
- webhooks: modifield promise (fb4927f)
- webhooks: move status functions (fa17f8c)
- webhooks: new test params transactions (a1109ae)
- webhooks: new test find transaction in firebase (dbdd599)
- webhooks: new test firebase verifing data transaction collection (89dbe66)
- webhooks: new test promisse in create doc firebase (05977c9)
- webhooks: new test verifing log (d6426c4)
- webhooks: new test verifing log doc (904bcf8)
- webhooks: new test verifing log doc (39b3e95)
- webhooks: params function (6fcef8a)
- webhooks: remove logs (c16f360)
- webhooks: test fireBase (9b040c8)
- webhooks: test firebase verifing data (1c18485)
- webhooks: test promise (1176d5a)
- webhooks: test promisse in create doc firebase (4d64729)
- webhooks: update params transactions (4f83086)
- webhooks: verifing bug (d1b9709)
- webhooks: verifing log (70549cc)
- webhooks: verifing params transactions (93836ed)
- webhook: test add shipping in create new order (b229ed1)
- webhook: test add transaction, api response (51cf00d)
- webhook: test body request (2bd0358)
- webhook: test capture subcription (9f842e2)
- webhook: test create new orders (d3d435e)
- webhook: test resp subscriptions (59d1d3d)
- webhook: test timeout (86361e5)
- webhook: test timeout 2000ms (0aa5618)
- webhook: test verifing bug (fc9f1f8)
- webhook: test verifing bug (2c469c1)
- webhook: test verifing payday (4834000)
- webhook: test with timeout (7b6b075)
- webhook: update config webhooks (7c19543)
- webhook: update const transaction id (fa85997)
- webhook: update date created (66c35ef)
- webhook: update date created and remove log (78f4aff)
- webhook: Update function update status payment (5b3b735)
- webhook: update handle (743dc58)
- webhook: update msg (04a1b14)
- webhook: update msg (d6a931d)
- webhook: update msg error (ea52626)
- webhook: update parserStatus (ca0c6be)
- webhook: update status frist payment (91c8fd2)
- webhook: update subscription proprity body (f342592)
- webhook: update time 2000ms (f2bb9f8)
- webhook: update time 3500ms (7060390)
- webhook: update transaction proprity in new order (d781a34)
- webhook: verifing bug (0432c18)
- webhook: verifing bug (c23f90e)
- webhook: verifing bug (18d5895)
- webhook: verifing bug (edbcb05)
- webhook: verifing bug deploy (c934969)
- webhook: verifing bug status cancelled (d4b1162)
- webhook: verifing financial_status exists (4a2f22d)
- webhook: verifing handle error (39a5601)
- webhook: verifing log err (f2f495f)
- webhook: verifing payment card in subscriptions (0ae9c55)
- webhook: verifing transaction with credit card (30b44c8)
1.0.0-starter.24 (2021-06-24)
- deps: update functions non-major dependencies (dca0a11)
- webhooks: handle auth not found error to prevent webhook retries (5082a7d)
1.0.0-starter.23 (2021-06-15)
- deps: update @ecomplus/application-sdk to v1.14.11 (c7d8cd0)
- deps: update dependency dotenv to v10 (#90) (47104be)
1.0.0-starter.22 (2021-05-07)
- deps: update @ecomplus/application-sdk to v1.14.10 (c6f25f2)
- env: try FIREBASE_CONFIG json when GCLOUD_PROJECT unset (92cfb16)
1.0.0-starter.21 (2021-05-07)
- deps: update @ecomplus/application-sdk to v1.14.9 (1df5166)
- env: try both GCP_PROJECT and GCLOUD_PROJECT (obsolete) (9e53963)
1.0.0-starter.20 (2021-04-30)
1.0.0-starter.19 (2021-04-05)
1.0.0-starter.18 (2021-04-03)
- functions: using node v12 engine (96a9ed6)
- deps: update all non-major dependencies (#73) (c90e4bd)
- deps: update all non-major dependencies (#75) (37454b3)
1.0.0-starter.17 (2021-02-14)
- modules: start examples and mocks for discounts and payment modules (#66) (ec388a8)
- update-app-data: setup commum updateAppData method to store api lib (888c28f)
- deps: update all non-major dependencies (#53) (d8b6bf3)
- deps: update all non-major dependencies (#54) (46bbafd)
- deps: update all non-major dependencies (#55) (470d6ed)
- deps: update all non-major dependencies (#56) (a2382fc)
- deps: update all non-major dependencies (#58) (bf4c575)
- deps: update all non-major dependencies (#59) (e5545d7)
- deps: update all non-major dependencies (#68) (40f8c6f)
- deps: update all non-major dependencies (#69) (c01a26b)
- deps: update all non-major dependencies (#70) (712fdc3)
- deps: update dependency firebase-tools to ^9.2.0 (#65) (eb84885)
- deps: update dependency firebase-tools to v9 (#61) (dffdf35)
1.0.0-starter.16 (2020-11-05)
- deps: add @google-cloud/firestore v4 as direct dep (e79b789)
- deps: update all non-major dependencies (#38) (37a3346)
- deps: update all non-major dependencies (#41) (77b78ef)
- deps: update all non-major dependencies (#48) (c0042d8)
- deps: update all non-major dependencies (#49) (dc4d847)
- deps: update dependency firebase-admin to ^9.2.0 (#47) (156714a)
- refresh-tokens: add scheduled cloud function to run update (d338924)
1.0.0-starter.15 (2020-07-26)
- deps: bump @ecomplus/application-sdk@firestore (fe4fe46)
- deps: update all non-major dependencies (#36) (b14f2e9)
- deps: update dependency firebase-admin to v9 (#37) (204df95)
1.0.0-starter.14 (2020-06-30)
- auth-callback: check
row.setted_up
in place of 'settep_up' (e2a73ca) - deps: update all non-major dependencies (#31) (702bee9)
- deps: update dependency firebase-functions to ^3.7.0 (#30) (0f459a3)
- deps: update dependency firebase-tools to ^8.4.2 (#29) (cf7e61e)
- pkg: update deps, start using node 10 (172ed7f)
1.0.0-starter.13 (2020-06-03)
- deps: update @ecomplus/application-sdk to v1.13.0 (b424410)
- refresh-tokens: force appSdk update tokens task (139a350)
1.0.0-starter.12 (2020-05-29)
- deps: replace @ecomplus/application-sdk to firestore version (3d2ee85)
- deps: update all non-major dependencies (#21) (7a370da)
- deps: update all non-major dependencies (#26) (e37e0e8)
- deps: update dependency uglify-js to ^3.9.2 (#20) (adccf0a)
1.0.0-starter.11 (2020-04-27)
- deps: update @ecomplus/application-sdk to v1.11.13 (70584c2)
- setup: ensure enable token updates by default (67aea0e)
1.0.0-starter.10 (2020-04-27)
- deps: update @ecomplus/application-sdk to v1.11.11 (b8217d0)
- deps: update all non-major dependencies (#19) (a99797a)
- setup: do not disable updates on refresh-tokens route (b983a45)
1.0.0-starter.9 (2020-04-21)
- deps: update @ecomplus/application-sdk to v1.11.10 (8da579c)
1.0.0-starter.8 (2020-04-18)
1.0.0-starter.7 (2020-04-07)
1.0.0-starter.6 (2020-04-06)
- deps: update all non-major dependencies (#10) (b3c65e5)
- deps: update all non-major dependencies (#13) (33ff19b)
- deps: update all non-major dependencies (#8) (feba5b9)
- deps: update dependency firebase-functions to ^3.6.0 (#15) (5f7f0a2)
- deps: update dependency firebase-tools to ^7.16.1 (#14) (b8e4798)
- deps: update dependency firebase-tools to v8 (#16) (b72560e)
- ecom-modules: fix parsing mod names to filenames and vice versa (99c185a)
1.0.0-starter.5 (2020-03-05)
- market-publication: handle full featured app publication to Market (28379dc)
- static: handle static with server app files from public folder (827d000)
1.0.0-starter.4 (2020-02-21)
- calculate-shipping: basic setup for calculate shipping module (db77595)
- home: fix replace accets regex exps to generate slug from title (198cc0b)
- home: gen slug from pkg name or app title if not set or default (25c20bf)
1.0.0-starter.3 (2020-02-21)
1.0.0-starter.2 (2020-02-21)
- config: stop reading app from functions config (7b9aab7)
1.0.0-starter.1 (2020-02-20)
- get-auth: endpoint to return auth id and token for external usage (40a8ae2)
- server: also supporting passing Store Id from query (111f3a7)
- server: remove 'routes' path when setting filename for routes (119524c)
1.0.0-starter.0 (2020-02-18)
- router: recursive read routes dir to auto setup server routes (ff2b456)
- home: fix semver on for app.version (remove version tag if any) (ad36461)
- middlewares: update route files exports (named exports by methods) (6a22e67)
0.1.1 (2020-02-18)
- env: get 'pkg' from functions config (bf45ec3)
- home: set version and slug from root package, fix with uris (d4b61fa)
- env: firebase doesnt uppercase config (502185e)
- require: update @ecomplus/application-sdk dependency name (d4174ac)
0.1.0 (2020-02-17)
0.0.4 (2020-02-16)
- server: update routes names (refresh-tokens) (79a2910)
0.0.3 (2020-02-15)
- server: start reading env options, handle operator token (ce107b7)
- update-tokens: adding route to start update tokens service (no content) (20c62ec)
- auth-callback: fix handling docRef (desn't need to get by id again) (629ca5a)
- auth-callback: save procedures if not new, check and set 'settep_up' (#3) (4a01f86)
- ECOM_AUTH_UPDATE_INTERVAL: disable set interval (no daemons on cloud functions) (2aa2442)
- env: fixed to get appInfor variable (e9b1a3c)
- env: fixed to get appInfor variable (22687e2)
- middleware: check standard http headers for client ip (5045113)
- lib: remove unecessary/incorrect requires with new deps (69f2b77)
- routes: fix handling appSdk (param) (0cf2dde)
- setup: added initializeApp() to firebase admin (e941e59)
- setup: manually setup ecomplus-app-sdk with firestore (64e49f8)
- setup: manually setup ecomplus-app-sdk with firestore (c718bd0)
- setup: manually setup ecomplus-app-sdk with firestore (33909bf), closes /github.com/ecomclub/ecomplus-app-sdk/blob/master/main.js#L45
- startup: setup routes after appSdk ready, add home route (d182555)
- firestore-app-boilerplate: Initial commit (c9963f0)
- firestore-app-boilerplate: Initial commit (be493ea)
- firestore-support: minor changes (3718cba)
- firestore-support: refactoring to use saveProcedures function (62971ef)
- firestore-support: removed sqlite error clausule (2d47996)
- routes: add home route (app json) (42a3f2b)
0.1.1 (2019-07-31)
- procedures: fix checking for procedures array to run configureSetup (1371cdc)
0.1.0 (2019-07-31)
- chain promise catch on lib getConfig (281abf9)
- fix mergin hidden data to config (8b64d58)
- fix path to require 'get-config' from lib (11425b0)
- get storeId from header and set on req object (a3bebaa)
- handle error on get config instead of directly debug (f182589)
- routes common fixes (2758a57)
- using req.url (from http module) instead of req.baseUrl (d9057ca)
- authentication callback (8f18892)
- conventional store api error handling (bcde87e)
- function to get app config from data and hidden data (ba470f5)
- getting store id from web.js (72f18c6)
- handling E-Com Plus webhooks (63ba19f)
- main js file including bin web and local (6b8a71a)
- pre-validate body for ecom modules endpoints (f06bdb0)
- setup app package dependencies and main.js (b2826ed)
- setup base app.json (015599a)
- setup daemon processes, configure store setup (db3ca8c)
- setup procedures object (c5e8627)
- setup web app with express (d128430)