All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
0.12.70 (2025-01-25)
- checkout: accept
group
field on customer object (f73a520)
0.12.69 (2024-08-21)
- run list payments (preview) twice, once before apply discount (cec46b2)
0.12.68 (2024-02-29)
0.12.67 (2023-09-06)
- checkout: accepting undefined discount app id for multiple discount apps (e9b20b5)
0.12.66 (2023-09-06)
- checkout: better handling multiple results (apps) for apply discounts (33e96e3)
0.12.65 (2023-07-22)
- checkout: ensure
amount.extra
is never less than 0 (818bca0)
0.12.64 (2023-07-21)
- checkout: ensure
amount.extra
is never less than 0 (5e16f6b)
0.12.63 (2023-07-21)
- retry api requests on rate limit or persistent connection errors (c978555)
0.12.62 (2023-07-17)
0.12.61 (2023-07-12)
- checkout: blocking new orders by buyer doc number (deea7ec)
- checkout: set amount extra if transaction amount is greater than total (#24) (a3f2445)
0.12.60 (2023-06-30)
0.12.59 (2023-06-30)
0.12.58 (2023-06-01)
- apply-discount: add new optional
customer.doc_number
field (d67d89a)
0.12.57 (2023-05-12)
0.12.56 (2023-04-17)
- checkout: accept
referral
on customer object (97f3dcc)
0.12.55 (2023-02-14)
- checkout: limit
client_user_agent
from header to 255 chars (676c784)
0.12.54 (2023-02-09)
- set
client_user_agent
on new order body (9b28809)
0.12.53 (2022-10-04)
- checkout: adding
currency_id
andcurrency_symbol
optional fields to checkout params (f6000db) - list-payments: add optional
installments_number
field in additional topayment_method
(c03303a)
0.12.52 (2022-07-28)
0.12.51 (2022-05-24)
- checkout: prevent amount being changed by reference on secondary transactions (c5ff18e)
0.12.50 (2022-05-24)
- checkout: must set payment history entriy id (73cab7b)
0.12.49 (2022-05-24)
- checkout: save loyalty points amount as
amount.balance
on new order (cfc78e3)
0.12.48 (2022-04-21)
- checkout: also accept ipv6
browser_ip
(856702c)
0.12.47 (2022-04-21)
- checkout: prevent error with invalid client ip address (c768c44)
0.12.46 (2022-04-21)
- checkout: set
browser_ip
(if undefined) with request client ip address (f7ffecf)
0.12.45 (2022-01-24)
- checkout: return invalid items when no subtotal and some item removed (9caf043)
0.12.44 (2021-12-27)
- checkout: better object id (for item ids) function also using
Math.random
(b2df539) - checkout: properly complete
transaction.app
object when multiple transactions (688f120)
0.12.43 (2021-10-26)
- applications: prevent aborting requests by queue delay when multiple apps (0ff9da2)
0.12.42 (2021-10-26)
- modules: prevent error with undefined
response
object (b94a0dd)
0.12.41 (2021-10-26)
- modules: should restart on 50+ consecutive req aborts (4a1f674)
0.12.40 (2021-10-26)
- applications: respond with status 429 instead of 503 on big queue delays (c003eb0)
0.12.39 (2021-10-22)
- checkout: also set order
financial_status
after first transactions response (71faac3)
0.12.38 (2021-10-20)
- applications: control reverse requests to apps endpoints (7186634)
- modules: blacklist urls to prevent consecultive errors (b542c8c)
0.12.37 (2021-10-18)
- modules: reverts https://github.com/ecomplus/modules-api/commit/394aa6c1409c51c42a37eb586c17e3436429eaa0 (75a26a1)
0.12.36 (2021-10-18)
- modules: set connection timeout 3s (394aa6c)
0.12.35 (2021-10-18)
- applications: properly checking empry params before set defaults (eae9724)
0.12.34 (2021-10-18)
0.12.33 (2021-10-18)
0.12.32 (2021-07-23)
- calculate-shipping: update valid warehouse codes regex (add uppercase chars and -) (680d8a2)
0.12.31 (2021-06-02)
- calculate-shipping:
pick_up
,scheduled_delivery
anddelivery_instructions
on response (3f1b69c) - create-transaction: add optional
payment_instructions
field to response schema (f30ec3d)
0.12.30 (2021-05-27)
0.12.29 (2021-05-27)
- list-paymenst: add
earn_percentage
field to loyalty points program object (93d06b2)
0.12.28 (2021-05-20)
- create-transaction: set
credit_card.hash
max chars to 6k (e197039)
0.12.27 (2021-05-14)
- list-payments: add
min_subtotal_to_earn
field to loyalty points programs object (b75a623)
0.12.26 (2021-05-14)
- applications: when app id is set, limit fetching one app installation only (b645ead)
- checkout: check transactions array length to proceed to next one (1e4fb79)
- checkout: check transactions array length to proceed to next one (cddb375)
- checkout: properly set customer id on all transactions (4c350fb)
- create-transaction: update schema to accept
amount_part
minimum to 0 (8b1fbeb)
0.12.25 (2021-05-13)
- checkout: sum production time to posting deadline instead of delivery time (1dbd3e2)
- checkout: sync process multiple transactions, list payments for first transaction only (e0f55be)
0.12.24 (2021-05-13)
- checkout: mannually fix amount for multiple transactions (2bc436a)
- checkout: properly handle multiple transactions (only) (a995acb)
0.12.23 (2021-05-11)
- checkout: prevent (stupid) error with repeated item flags (203191a)
0.12.22 (2021-05-07)
- checkout: support
amount_part
number to handle 2+ transactions (237f46a)
- checkout: compare transactions amount sum with order total value (cf0cdb5)
0.12.21 (2021-05-06)
- checkout: supporting multiple transactions (efd45da)
- create-transaction: supporting response with
loyalty_points
object (e5d4d30)
- checkout: prevent multiple error responses on multiple transactions (747e0a6)
- checkout: properly continue loop to next transaction on done (c0ae96a)
- checkout: properly continue loop to next transaction on done (e9ed2c9)
- list-payments: use
loyalty_points_programs.$.ratio
to repeat store api schema (5a01f22)
0.12.20 (2021-05-03)
- calculate-shipping: supporting warehouses for multi cd (6613dfc)
- checkout: set order
opened_at
datetime (3419eb2) - create-transaction: add
loyalty_points_applied
request param (d995868) - list-payments: optional
loyalty_points_programs
response field (ef530e1)
0.12.19 (2020-12-09)
- checkout: fix checking/setting payment gateway (3206606)
0.12.18 (2020-12-09)
- list-payments: edit response to accept 'discount_option.apply_at' (9f26a0b)
- checkout: prefer respective method name to select payemnt gateway (1cbe4b7)
0.12.17 (2020-11-12)
- checkout: fix setting min packs num for kit (3b3b06d)
0.12.16 (2020-11-12)
- checkout: handling kit product from checkout items (fd50fea)
0.12.15 (2020-10-26)
- fix-items: handling additional prices from customization fields (ba8786b)
0.12.14 (2020-08-26)
- checkout: set order links if empty (checkout and status) (73fd896)
0.12.13 (2020-08-12)
- applications: validating app id param (71cde3c)
0.12.12 (2020-08-03)
- checkout: add 'notes' field to entry schema (897d1cb)
- checkout: bypass some order fields (1688d33)
0.12.11 (2020-06-06)
- checkout: checkout steps to shipping -> discount -> payment (a5d2ae1)
0.12.10 (2020-06-06)
0.12.9 (2020-06-05)
- checkout: stop hard removing order body items by flags (c965cd9)
0.12.8 (2020-06-05)
- checkout: fix checking freebit product ids (match items) (a779a68)
0.12.7 (2020-06-05)
- checkout: accept items flags on request body (eb2b2a7)
0.12.6 (2020-06-05)
- checkout: fix handling freebie items (force final price) (831e16f)
0.12.5 (2020-06-05)
- apply-discount: add optional 'freebie_product_ids' to response (28d245d)
0.12.4 (2020-05-23)
- list-payments: prevent error with discount object without value (022520d)
0.12.3 (2020-05-21)
- checkout: list payments first, then proceed to discounts (c12597b)
0.12.2 (2020-04-18)
- list-payments: add to js client object (1694407)
0.12.1 (2020-04-10)
- apply-discount: accepting discount value less than 1 (12b95dd)
0.12.0 (2020-04-09)
- modules: add break lines to tmp log, debug with json stringify (82a48e9)
- modules: stop trying to debug circular response structure (4acd1ad)
0.11.22 (2020-04-09)
- debug: tmp log file with for current app request and response (e402be3)
0.11.21 (2020-04-09)
- checkout: try to debug app responde on create transaction error (25e6d52)
0.11.20 (2020-04-05)
- checkout: trying list of valid results for each module (94f582e)
0.11.19 (2020-03-26)
0.11.18 (2020-02-05)
- fix-items: check promotional price with date ranges (e7ca1c9)
0.11.17 (2020-01-27)
- checkout: fix checkout schema moving some props from transaction (9ce7742)
0.11.16 (2020-01-26)
- appy-discount: add 'available_extra_discount' field (utm in shelf) (50b6aa1)
0.11.15 (2020-01-23)
- apply-discount: update customer object schema (c7eabcf)
0.11.14 (2020-01-15)
- list-payments: add param to check support for 'fetch_when_selected' (8d6ebac)
0.11.13 (2020-01-15)
- list-payments: add req/res props to support fetch when selected (0e01063)
0.11.12 (2019-12-20)
- checkout: set transaction status.updated_at (85cca14)
0.11.11 (2019-12-20)
- checkout: fix default payment history entry datetime (d2af70b)
0.11.10 (2019-12-20)
- checkout: ensure amount total decimal fix (d3baa6c)
0.11.9 (2019-12-20)
- checkout: round all amount fields to 2 digits (c6e15ea)
0.11.8 (2019-12-19)
- checkout: must update checkout body amount on fix total (8f5b943)
0.11.7 (2019-12-19)
- checkout: apply payment method adding to amount discount (c266081)
- checkout: apply payment method discount only is < extra discount (c3de424)
0.11.6 (2019-12-05)
0.11.5 (2019-12-05)
- debug-requests: check response object before getting data prop (56f8f9b)
0.11.4 (2019-12-05)
- checkout: try to bypass internal request error usr msg (56c88b1)
- checkout: uso deep clone to preserve original req body (c7f455e)
0.11.3 (2019-12-05)
- checkout: apply discount (extra discount) before list payments (41d3d29)
0.11.2 (2019-12-05)
- checkout: fix amount total after extra discount applied (17ed0e5)
0.11.1 (2019-11-29)
- checkout: mark internal requests with 'is_checkout_confirmation' (023536c)
0.11.0 (2019-11-19)
- apply-discount: schema changed for apply_discount module
- apply-discount: fix module response schema (e1a1c1a)
- checkout: applying extra discount on checkout endpoint (31ddec8)
0.10.6 (2019-11-18)
- apply-discount: remove customer main email (private) by default (5a44d83)
- page-loaded: fix schemas for page loaded module (9218e50)
- apply-discount: add apply discount module with schemas (8a5ad70)
0.10.5 (2019-10-22)
- list-payments: add optional props domain and customer (7a356ac)
0.10.4 (2019-10-21)
- transaction: add 'open_payment_id' to create transaction schema (4993b5a)
0.10.3 (2019-10-14)
- list-payments: add 'transaction_promise' on 'js_client' object (5109eca)
0.10.2 (2019-10-14)
- list-payments: update schema, add js_client.container_html (cf9f6ee)
0.10.1 (2019-09-13)
- checkout-history: add date time to created payment history (4c4ca0f)
0.10.0 (2019-09-03)
-
list-payments: response fields removed, edited or deprecated
-
list-payments: update payment info fields (e5d3f82)
0.9.2 (2019-09-03)
- atualizando de acordo com as recomendações (912e7d4)
- tentativa de correção do erro 4 utilizando o modelo sugerido na doc (05f1118)
- tentativa de correção do erro 7 (f2abe49)
- cancel-order: cancel order when transaction fails (321c379)
- list-payments: returning more default infos (2ca9fa8)
- payments-history: add entry to payments history after checkout (9e25912)
- checkout: fix handling shipping total price and price (760fadc)
- checkout: validate prop from response object when selecting result (77cd063)
- check app state (enumered) instead of status (3b53bfa)
- fix debugging errors (log data) (fcc46c5)
- fix handling request options object (aa8faf3)
- get app id from result object (164a2db)
- handling fields for transaction.app object (0c33f1c)
- increase cmax content lenght and debug axios error (e128d54)
- minor log format fix for axios errors (cba5d7a)
- mount request body object inside appsloop (9f0124d)
- return response data even with error status code (a3fc0cb)
- return response data even with error status code (always string) (38a939c)
- return response data even with error status code (only if object) (c461573)
- setup transaction app object (4929d9c)
- stop using 'multipleOf' to treat decimals (4dde7a4)