Configuring Online Store External Redirect
This functionality allows a provider to configure the CloudBlue Commerce online store to redirect the customer to an external system's screen during the purchase process. This can be useful, for example, when customer data is managed outside CloudBlue Commerce in a third-party system. In such a case, a new or existing customer can be redirected to an external website for authentication or account creation, and then redirected back to the CloudBlue Commerce online store to complete the purchase. Meanwhile, the shopping cart information can be saved as well for better customer experience. For more information see Solution Scenario: How To Integrate with External User Management System.
To configure an external redirect from a purchase scenario:
- Open Products > Online Store. The list of purchase scenarios available appears on the screen.
- Click the necessary purchase scenario in the table. The wizard screens information appears on the screen.
-
Click Create New Screen. Complete the fields:
- Screen ID: Enter the screen ID, which will also be used as the screen name.
- Template Name: Select REDIRECT from the pop-up window.
- Title: Complete the screen title, which is necessary for the purchase scenario configuration page.
- Description: Complete the screen description, which is necessary for the purchase scenario configuration page.
- Click Create. A new screen is created for the purchase scenario.
-
Click the new screen in the list. Click Parameters. Set these parameters:
-
REDIRECT_TO_URL: Click the parameter and click Edit. Complete with the necessary redirect URL. Save the changes. The default value is example.com
Important: The URL cannot contain the fragment identifier (anchor) part because CloudBlue Commerce adds the query part containing a CSRF token to the URL for security reasons when redirecting the customer. A fragment identifier followed by a query will make the redirect invalid.
- SKIP_IF_LOGGED_IN: Click the parameter and click Edit. Set to True if you want the wizard to skip this screen if the user is already logged in to CloudBlue Commerce. Save the changes. The default value is False.
-
The external redirect link is configured.
To change the Title and/or Description of the screen:
- Click the screen on the purchase scenario page as described above.
- Click Configure and make the necessary changes.