As the clock ticks on a new month has arrived, and with that the next Salesforce B2C Commerce Cloud release! This time we look at the April 2023 (23.4) release!
Are you interested in last month’s release notes? Click here!
Platform
Extend Payment Processing with Salesforce Payment APIs
Use the new Salesforce Payment APIs to connect with third-party order management systems or platform-specific custom features. The APIs support capture, cancel, refund, and updates. For example, you can directly cancel or refund a payment in an order failure event by cleaning up payment authorizations. The APIs are available as Script APIs.
Salesforce Payments continues to gain love from Salesforce with every new release. The previous release included the addition of four temporary baskets, and this release introduced support for numerous new customer flows.
Here is a list of all of the new APIs made available:
- SalesforcePaymentIntent
- getClientSecret()
- isCancelable()
- isRefundable()
- SalesforcePaymentsMgr
- cancelPaymentIntent(SalesforcePaymentIntent, Object)
- capturePaymentIntent(SalesforcePaymentIntent, Money)
- createPaymentIntent(Basket, Shipment, String, Money, Boolean, Object)
- refundPaymentIntent(SalesforcePaymentIntent, Money, Object)
- updatePaymentIntent(SalesforcePaymentIntent, Shipment, Money, String, Object)
Grouped Taxation Applied to Import and Export Orders
B2C Commerce now recognizes imported and exported orders created with group taxation and uses the group taxation method to calculate tax for those orders.
Import and export support has been incorporated, building on another feature released in February to offer greater control over taxation in Japan.
Business Manager
Track Page Designer Rendering Performance
When editing in Page Designer, the page, region, and component rendering performance is now logged in your browser’s developer console. You can use the log to identify bottlenecks and optimise the rendering speed.
Page Designer’s performance has been criticised for some time, particularly when utilising multiple component types on a single page. Salesforce has been working diligently to enhance the user experience in Business Manager, and with this release, developers are also receiving some attention. Performance metrics will now be logged in the developer console, offering insight into areas where improvements can be made on things developers can control.
OCAPI & SCAPI
Configure Origin Rules with CDN Zone APIs
Configure Phased headless rollouts of SFRA to PWA implementations with the new CDN Zone APIs. You can now migrate specific pages to a PWA origin without completely switching from SFRA to PWA. You can also create and update origin rules to direct traffic to a PWA origin.
Good news for live and in-development projects who have chosen to go the “hybrid deployment” route. Untill now we had to create support tickets to manage the rules of which pages (URLs) were rendered by what system.
From this release on, we can manage all of this with a new set of APIs:
SLAS Database Update (03/07/2023)
We are upgrading our Postgres database to the latest version, due to a mandate from AWS. This maintenance will be performed during off hours for your region when there is little to no traffic. The upgrade is expected to take up to ~9 minutes, and you may experience slowness but not downtime during this period.
Whether you know this or not, SLAS runs as a separate service next to the SFCC Platform. This has many advantages, including a different maintenance window and fewer dependencies on the core platform.
In this case, the database has been updated from 14.1 to 14.6, as mandated by AWS.
New Ideas
I had another look at the IdeaExchange and found some interesting new submissions:
PWA Kit v2.7.0
The latest updates bring some previously announced changes to the PWA Kit, such as Page Designer and support for Product Sets.
Here are some recordings by Salesforce made available explaining these new features:
But the most significant change that marks the start of the upgrade required in the future version 3.0 is the update from Node 14 to Node 16.
Bugfixes
Having searched the “Known Issues” section, I found it difficult to determine if any of the issues listed had been resolved due to the new layout and frequent updates to older topics.
Updated Cartridges & Tools
b2c-tools (v0.16.0)
b2c-tools is a CLI tool and library for data migrations, import/export, scripting and other tasks with SFCC B2C instances and administrative APIs (SCAPI, ODS, etc). It is intended to be complimentary to other tools such as sfcc-ci for development and CI/CD scenarios.
Passwordless Login(v1.1.1)
Passwordless login is a way to verify a user’s identity without using a password. It offers protection against the most prevalent cyberattacks, such as phishing and brute-force password cracking. Passwordless login systems use authentication methods that are more secure than regular passwords, including magic links, one-time codes, registered devices or tokens, and biometrics.
- #9 fix isStorefrontSession by @sandragolden in #10
- ref same issue in
plugin_slas
: SalesforceCommerceCloud/plugin_slas#91
- ref same issue in