Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 1.33 KB

File metadata and controls

21 lines (11 loc) · 1.33 KB

Orchard Core Commerce 4.0.0

Release date: TBD

Breaking Changes

Methods in IPaymentIntentPersistence are not asynchronous

The Retrieve, Store and Remove methods have been replaced with RetrieveAsync, StoreAsync and RemoveAsync methods and have to be awaited. They also accept the shoppingCartId optional parameter.

Change Logs

Please check the GitHub release entry here.

SKU Generators

Now it's possible to automatically generate the product SKU. Manual entry remains the default for backwards compatibility, but if the SKU doesn't have to be a specific value you can enable the "Orchard Core Commerce - SKU Generator - GUID" feature. This makes the SKU field read-only even during product creation. Instead, when you publish the product a new GUID string is automatically generated and filled as the SKU. You can also implement your own SKU generator by implementing the ISkuGenerator service.

Stripe

The client script in stripe-payment-form.js has changed. Now stripePaymentForm accepts an object instead of a lot of individual positional parameters. Additionally, some parameters that are no longer used have been removed. If you have overridden the CheckoutStripe shape on your site, make sure to update it based on the one in OCC.