# 2020

## 2020/12/30

You can now modify a subscription during a [midterm change](https://app.gitbook.com/s/oUderMtztdH7OKDXmYbI/commerce-api-reference-guide/admin-apis-reference/subscriptions#midterm-change). That includes [applying a midterm change with price override](https://docs.digitalriver.com/commerce-api/admin-apis/subscription-management/immediately-apply-a-midterm-subscription-change/applying-a-midterm-change-with-price-override), [assigning a perpetual unit price](https://docs.digitalriver.com/commerce-api/admin-apis/subscription-management/update-the-subscription-at-the-next-renewal/adding-or-updating-a-perpetual-unit-price), or [reducing the subscription quantity](https://docs.digitalriver.com/commerce-api/admin-apis/subscription-management/immediately-apply-a-midterm-subscription-change/reducing-the-subscription-renewal-quantity).

## 2020/12/28

We [Klarna ](https://docs.digitalriver.com/commerce-api/payments/supported-payment-methods/klarna)'s [supported geographies](https://docs.digitalriver.com/commerce-api/payments/supported-payment-methods/klarna#supported-markets) to show the minimum and maximum order amount and the payment method type.

## 2020/12/16

We updated the examples and added information on creating a merchant-initiated transaction (MIT) in [Providing subscription information](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/creating-or-updating-a-cart/providing-subscription-information).

## 2020/12/10

We added more [custom styles](https://docs.digitalriver.com/commerce-api/resources/reference/elements#available-custom-styles) for [styling an element container](https://docs.digitalriver.com/commerce-api/resources/reference/elements#styling-an-element-container) in [DigitalRiver.js](https://docs.digitalriver.com/commerce-api/payments/payments-solutions/digitalriver.js).

## 2020/11/30

We added [error types](https://docs.digitalriver.com/commerce-api/resources/reference/error-types-codes-and-objects#error-types) to [Error types, codes, and objects](https://docs.digitalriver.com/commerce-api/resources/reference/error-types-codes-and-objects).

## 2020/11/19

We added support for [Pay in 4](https://docs.digitalriver.com/commerce-api/payments/payments-solutions/digitalriver.js/payment-methods/paypal#pay-in-4) to the [PayPal ](https://docs.digitalriver.com/commerce-api/payments/payments-solutions/digitalriver.js/payment-methods/paypal)payment method.

## 2020/11/17

* We added support for [landed costs](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/pricing/landed-costs).
* You can now [set a price list](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/configuring-taxes#setting-the-price-list-to-tax-inclusive-or-exclusive) or [shipping costs](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/configuring-taxes#setting-the-shipping-cost-to-tax-inclusive-or-exclusive) to tax inclusive or exclusive.

## 2020/11/10

We added a list of [error codes](https://app.gitbook.com/s/oUderMtztdH7OKDXmYbI/warnings-and-error-codes/error-codes) for DigitalRiver.js.

## 2020/11/6

* As part of the PSD2 Strong Customer Authentication (SCA) initiative, payment processors require extra information when processing merchant-initiated credit card transactions. You can now use [billing agreements](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/creating-or-updating-a-cart/providing-subscription-information#billing-agreement-identifier) to ensure that you adhere to the new mandate/
* You can now update subscription information in  the `LineItem` array to the [`POST /carts`](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/carts#v1-shoppers-me-carts-active-1), [`POST /line-items`](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/line-items#v1-shoppers-me-carts-active-line-items-1), or [`POST /line-items/{lineItemsId}`](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/line-items#v1-shoppers-me-carts-active-line-items-lineitemsid-1) requests.

## 2020/10/29

You can now subscribe to receive the latest Commerce API information.

## 2020/10/28

You can now apply a [shipping discount](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/managing-shipping-options/providing-a-shipping-discount) to a customer's order

## 2020/10/14

* We added information on [configuring taxes](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/configuring-taxes).
* We added the `taxInclusive` attribute to the response for [Apply shopper to cart](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/apply-a-shopper-to-a-cart#v1-shoppers-me-carts-active-apply-shopper), [Add or update cart billing address](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/billing-address#v1-shoppers-me-carts-active-billing-address-1),  [Apply billing address to cart](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/billing-address#v1-shoppers-me-carts-active-apply-billing-address), [Apply shipping address to cart](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/shipping-address#v1-shoppers-me-carts-active-apply-shipping-address), Submit[ cart and create an order](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/submit-a-cart#v1-shoppers-me-carts-active-submit-cart), [Apply payment method to cart](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/apply-or-detach-payment-methods#v1-shoppers-me-carts-active-apply-payment-method), [Apply shipping option to cart](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/apply-a-shipping-option#v1-shoppers-me-carts-active-apply-shipping-option),  [Get current cart](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/carts#v1-shoppers-me-carts-active), [Update current cart](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/carts#v1-shoppers-me-carts-active-1), [API trigger offer](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/api-trigger-offer), [Get shopper order](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/orders/orders#v1-shoppers-me-orders-orderid), and [Apply shopper to cart](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/apply-a-shopper-to-a-cart#v1-shoppers-me-carts-active-apply-shopper).

## 2020/10/12

We added information on the [tax identifier element](https://docs.digitalriver.com/commerce-api/resources/reference/elements/tax-identifier-element) to [DigitalRiver.js](https://docs.digitalriver.com/commerce-api/payments/payments-solutions/digitalriver.js).

## 2020/10/1

We added support for Union Pay to [Credit Cards](https://docs.digitalriver.com/commerce-api/payments/supported-payment-methods/credit-cards).

## 2020/9/30

* We added [PSD2 and SCA](https://docs.digitalriver.com/commerce-api/payments/psd2-and-sca) integration support to [Payment solutions](https://docs.digitalriver.com/commerce-api/payments/payments-solutions). &#x20;
* We added information on migrating [payment sessions](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/payment-sessions) to [Payment solutions](https://docs.digitalriver.com/commerce-api/payments/payments-solutions).&#x20;

## 2020/9/24

We added support for the [Korea–PayCo](https://docs.digitalriver.com/commerce-api/payments/supported-payment-methods/payco) payment methods.

## 2020/9/23

We added support for the [Klarna ](https://docs.digitalriver.com/commerce-api/payments/supported-payment-methods/klarna)payment method.

## 2020/9/18

We updated the [Drop-in payments](https://docs.digitalriver.com/commerce-api/payments/payments-solutions/drop-in) documentation.

## 2020/9/9

* We updated the [Digital River App for Salesforce B2B Commerce](https://app.gitbook.com/o/-LqC_Nsz4Z-JxICCsFw3/s/XjCJUJR1jMyLbUs661Yx/) documentation.
* We added Spark from Tryzens for the Salesforce Commerce Cloud to our [partner integrations](https://docs.digitalriver.com/partner-integrations/).

## 2020/8/11

We updated the [API error codes](https://app.gitbook.com/s/oUderMtztdH7OKDXmYbI/warnings-and-error-codes/error-codes).

## 2020/8/10

We now provide a [list of IP addresses](https://docs.digitalriver.com/commerce-api/events/webhooks/commerce-api-safelist) we use to send Webhook notifications. You'll need to open your firewall to these IP addresses.

## 2020/8/5

* You can now use [**DigitalRiver.js**](https://docs.digitalriver.com/commerce-api/payments/payments-solutions/digitalriver.js) to retrieve an array of [available payment methods](https://docs.digitalriver.com/commerce-api/resources/reference/digitalriver-object#creating-elements).
* You can now use [**DigitalRiver.js**](https://docs.digitalriver.com/commerce-api/payments/payments-solutions/digitalriver.js)  to trigger a [return event](https://docs.digitalriver.com/commerce-api/payment-integrations-1/digitalriver.js/reference/elements#return) when a customer presses the Return key while the input field has focus.

## 2020/6/02

* The initial value for `termsOfSaleAcceptance` is now null if `tosAccepted` is null in the database.&#x20;
* We now provide a breakdown of the tax fee at the line-item level for [Carts](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/carts), [Orders](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/orders/orders), and [Submit cart.](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/submit-a-cart)
* Changed the `lineItem` under DefaultCart to an array.&#x20;
* Changed`fee` to `feeTax` under `lineItem.pricing`.&#x20;
* Added the `feePricing` object under ExpandedLineItem.&#x20;
* Added the LineItemFeePricing schema for `feePricing` under ExpandedLineItem.&#x20;

## 2020/5/20

* Added [phonetic fields](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/creating-or-updating-a-cart/providing-address-information#japanese-phonetics) to the billing and shipping addresses.
* Added the following schemas:
  * PostShopperAddressRequest for the request body of the shopper's address
  * `BillingAddress` for the response body of the billing address
  * `ShippingAddress` for the response body of the billing address
* Updated the response for [PUT billing](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/billing-address#v1-shoppers-me-carts-active-billing-address-1) and [shipping address](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/shipping-address#v1-shoppers-me-carts-active-shipping-address-1) to `204 No Content`.
* Added [phonetic fields](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/creating-or-updating-a-cart/providing-address-information#japanese-phonetics) to the following schemas: DefaultAddress and ExpandedAddress.

## 2020/5/7

* You can now create a price override at the item level.
* You can now [override the unit price](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/applying-a-price-override#applying-a-unit-price-override) and [line item price](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/applying-a-price-override#applying-a-line-item-price-override) programmatically. See [Price Override](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/price-override) in the [Admin APIs reference](https://app.gitbook.com/o/-LqC_Nsz4Z-JxICCsFw3/s/drE2RCYBuoRpd2TC2sx2/).
* Added these schemas: CartUnitPriceOverrideRequest and CartAggregatePriceOverrideRequest.

## 2020/05/04

* You can now capture when a customer[ accepts the Terms of Sale](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/creating-or-updating-a-cart/terms-of-sale-acceptance).
* Added [phonetic fields](https://docs.digitalriver.com/commerce-api/shopper-apis/cart/creating-or-updating-a-cart/providing-address-information#japanese-phonetics) to [Orders](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/orders) and [Order lookup](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/orders/order-lookup) resources.
* Added `productTax` and `shippingTax` to the [Carts](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/carts), [Orders](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/orders), and [Submit cart](https://app.gitbook.com/s/X2fWaY1Kp5sXA1fmOL7z/cart/submit-a-cart) resources.&#x20;
