Symptoms

Customer tries to buy a service plan in UX1 MP 5.7 , however encounters an error on the Review Offer screen :
Unable to complete the operation, please cancel and try again later

The sales channel configuration are as below :

The option "Allow resellers to sell services with domains" was disabled , however upon enabling , the option will revert itself showing untick , as per above.

Further by checking APS bus , we can however see the option(isSupportDomainsEnabled) is actually enabled :


{"isMsrpDisplayed":false,"allowBuyForOwnUse":false,"isPlaybookEnabled":false,"isSupportDomainsEnabled":true,"isCustomerMarketplaceEnabled":true,"aps":{"schema":"/aps/2/types/544","package":{"href":"/aps/2/packages/602e278b-0b19-40cf-91e0-ef837fd7458e","id":"602e278b-0b19-40cf-91e0-ef837fd7458e"},"modified":"2021-07-11T14:32:07Z","id":"32738c38-eb6f-4981-8a79-f41a5bc2b819","type":"http://www.parallels.com/marketplace/1.16","status":"aps:ready","revision":32}}

Turning this off via curl did not solve the issue. ( Enabling via PCP and returning false is considered a bug - Bug ID Pending )


Following the stacktrace by pausing on caught exception in Browser Console ( Sources Screen ), we found it is stopped at wizardState in SalesWizard.js - Line 297, there is a need to add DomainStep.


The step requires access to UX1 Navigation called "http://www.parallels.com/ccp-domains#ExternalGetDomainView".

However, by inserting aps.context.wizardState in Browser Console returns a different path : ExternalGetMultipleDomainsView 


Cause


UX1 Marketplace returns error to Reseller or Customer on Review Offer screen was due to Restricted access caused by hidden navigation in Settings > UX1 navigation was hidden.


Main Tree : navigation@http://www.parallels.com/ccp-domains#externalViews - Hidden
Sub Tree 1 : view@http://www.parallels.com/ccp-domains#ExternalGetDomainView - Hidden 

Sub Tree 2 : view@http://www.parallels.com/ccp-domains#ExternalGetMultipleDomainsView - Shown


The service plan somehow has a domain requirement and the step was hidden , thus preventing customer from buying service plan with domain.


Resolution

Enable UX1 navigation for the whole tree of navigation@http://www.parallels.com/ccp-domains#externalViews.