... a contemporary perspective on how to integrate B2C Commerce and the Salesforce Customer 360 Platform to power frictionless customer experiences in the B2C domain.
This pull-request introduces a new use case asked from the issue #37: Password Reset initialization from the Core Platform.
How it works?
This new password reset workflow is working with both Account/Contact and PersonAccount models.
Here are the steps on how the feature is working:
Within the Core Platform, either on the Contact or the PersonAccount record page, a new Reset customer password Quick Action is introduced.
When clicking on this action, a flow is starting and is displayed to the user.
If multiple sites are active and have the Enable_Password_Reset__c field to true, then the user has to choose what site will trigger the password reset flow. This is important as, depending on the site, the customer might receive different emails.
Once the user clicks on next, an OCAPI call is done to the B2C Commerce instance in order to initialize the password reset flow.
When B2C Commerce gets the reset password request, a hook is fired at this place and an email is sent to the customer (through the plugin_b2ccrmsync cartridge, so compatible SFRA only)
The user sees a confirmation screen and can close the flow.
The customer receives an email with a link to be used to change the password
Screenshots
Unit tests
This feature is :100: covered in terms of unit tests :white_check_mark:, either from Core and from B2C :white_check_mark:
Introduction
This pull-request introduces a new use case asked from the issue #37: Password Reset initialization from the Core Platform.
How it works?
This new password reset workflow is working with both Account/Contact and PersonAccount models. Here are the steps on how the feature is working:
Reset customer password
Quick Action is introduced.Enable_Password_Reset__c
field totrue
, then the user has to choose what site will trigger the password reset flow. This is important as, depending on the site, the customer might receive different emails.plugin_b2ccrmsync
cartridge, so compatible SFRA only)Screenshots
Unit tests
This feature is :100: covered in terms of unit tests :white_check_mark:, either from Core and from B2C :white_check_mark: