Solution Scenario: How To Integrate with External User Management System
Using the external redirect functionality, you can integrate the CloudBlue Commerce online store with a third-party user management system in such a way that this scenario is supported:
- A user starts a purchasing process in the CloudBlue Commerce online store. The user may or may not be logged in to CloudBlue Commerce. The user may or may not have an account in CloudBlue Commerce.
- At the step for which a provider configured an external redirect, CloudBlue Commerce redirects the user to a third-party website for registration or authentication.
- After the successful registration or authentication, the user is redirected back to the same online store wizard step while the basket content is saved.
- The user proceeds to checkout.
To build such integration solution:
-
Configure the online portal of the third-party user management system to be able to:
-
Send requests and process the responses using these public API methods:
- UserForVendorValidate_API
- AccountAdd_API
- TokenForAccountGet_API
- TokenValidate_API
- PlaceOrderAndAuthorize_API
For more information see CloudBlue Commerce Billing Public API Reference Guide.
- Send the
restoresession = trueflag and the token received from CloudBlue Commerce in the same POST request to the user's web browser.
-
- Configure an additional screen and the redirect link in the necessary online store purchasing scenario in the CloudBlue Commerce PCP as described in Configuring Online Store External Redirect.