⚡ valuein/shop:2022-07-07-14-51

⚡ valuein/shop:2022-07-07-14-511 🎉2 🚀

  • 🎉 Added Zuora Amendment for CPQ module
  • 🚀 Migrated to PHP 8.1
  • 🚀 Improved subscription creation and preview

🎉 New features

Added Zuora Amendment for CPQ module

This module allow the sales reps to add amendments in quote and see the resulting effect.

Bundled in this release are the basic components to do the more common operation, including :

  • Add a product
  • Cancel a subscription
  • Remove a product
  • Renew a subscription
  • Resume a subscription
  • Suspend and resume a subscription
  • Suspend a subscription
  • Update a product
  • Update the price of a product
  • Update the quantity of a product

Composite

The amendment engine, allow an amendment to use other amendment already defined while tweaking a little the behavior, allowing to reuse amendment that already exist.
The suspend/resume amendment is implemented by being a suspend and a resume.

Multi-step process

An amendment require some configuration, sometime the next step depend on the previous step. The engine allow an amendment to have a configuration on multiple page.
For example, the add product is done in two step :

  • First you choose the product you want to add
  • Then you configure the pricing

Async process

Because you can add an amendment depending on the result of the preview amendment, each preview is done with all the previous amendment inside.
This can cause a lot of process time and to improve the experience of the sales reps, the preview is started as a background task.
That mean that often, when the sales rep is ready to go to the cart and see the quote, the preview will have finished already.
If not, he will be shown a loading page displaying the status of each preview and reloading automatically until all the preview are finished.

🚀 Improvements

Migrated to PHP 8.1

PHP 8.1 is a major update of the PHP language.
It contains many new features, including enums, readonly properties, first-class callable syntax, fibers, intersection types, performance improvements and more.

Our front-end now use this version of php which will allow a more robust and powerfull code base.

To see more information about this technical update : https://www.php.net/releases/8.1/en.php

Improved subscription creation and preview

With the new functionnalities added to the shop, the current preview process was starting to become too complex to adjust.
A new process have been introduced to improve the way the subscribe request and preview is created.

Now, when a preview or subscribe is required, the representation of the cart will be sent to every service that declare having an impact on the request.
Each service that need to update the request can then update the request as needed.

The same principle apply on the result of the preview to adjust the response before displaying the preview response to the end user.

Written by julien.tattevin on Jul 7 2022, 5:38 PM.
Executive
Projects
None
Subscribers
None

Event Timeline