Regular updates to our cartridge code include bug fixes, performance enhancements, security patches, and new features. Staying up to date with these changes is essential for maintaining compatibility, security, and optimal functionality of your integration.
Follow these steps to upgrade your custom code with the latest version of our cartridge:
Review Release Notes
Start by reviewing the release notes for the latest version of the cartridge. The release notes outline changes, improvements, and any potential compatibility considerations associated with the upgrade.
Assess Custom Code Changes
Identify any customizations or modifications you have made to the SFCC cartridge code in your custom files. These may include storefront customizations, controller adjustments, or custom business logic built on top of our cartridge.
Backup Custom Files
Before proceeding with the upgrade, ensure that you have a backup of your custom files, including any modifications made to the SFCC cartridge code. This backup will serve as a safety net in case any issues arise during the upgrade process.
Compare Code Differences
Use a version control system or a file comparison tool to compare the differences between your custom code and the latest version of the SFCC cartridge code. Pay close attention to areas where changes have been made to ensure compatibility and maintain functionality.
Update Integration Code
Integrate the latest version of the SFCC cartridge code into your custom files, replacing any outdated or deprecated code with the new implementations. Follow the migration guides and best practices provided to ensure a smooth transition.
Test and Validate
After updating your custom code, thoroughly test the integration to ensure that all functionality works as expected. Test various scenarios, including user interactions, data processing, and third-party integrations, to identify any potential issues or regressions.
Address Compatibility Issues
If you encounter any compatibility issues or conflicts with your existing custom code, troubleshoot and resolve them accordingly. Consult our support resources or reach out to our team for assistance in addressing compatibility concerns.
Deploy Changes
Once you are satisfied with the upgrade and have validated its functionality, deploy the changes to your production environment. Monitor the integration closely following deployment to ensure ongoing stability and performance.
There are no recurring tasks required by the merchant. Once configurations are set up, the functionality runs on demand.
When Klarna is set up, Klarna Payment options and iframe widgets will be shown on the billing step. All SFCC out-of-the-box (OOTB) checkout functionality remains in place, such as:
To use Klarna's payment options on the billing step of the checkout process:
1. Select one of Klarna's payment options as the payment method.
2. Click the “Next: Place Order” button.
3. The Klarna authorization process begins and the pop up is triggered.
4. On the Review step click on “Place Order” button.
5. The customer’s browser is sent to the redirect_url
and immediately thereafter shown the Commerce Cloud Order Confirmation page.
6. The newly created order can be inspected in Business Manager.
KLARNA_PAYMENTS
.To continue using the Klarna plugin with SFRA version 6, please update the following files and build as usual:
package.json
webpack.config.js