Happy Business Starts Here

Plugin registered in component registration is showing as Incorrect Class name

Raghav
Zuora Support

Plugin registered in component registration is showing as Incorrect Class name

In this case, the Customer tried to implement the Add/Remove Plugin using the Sample Code from Knowledge Article but it's not successfully updated and showing the error "Incorrect Class Name"

 

Raghav_0-1614889783314.png

 

After verifying we found that the customer declared the class as public. 

public class AddRemoveRatePlanPlugin implements zqu.SelectProductComponentOptions.IAddRemoveRatePlanPlugin {

After changing it to Global the issue is resolved. 

global class AddRemoveRatePlanPlugin implements zqu.SelectProductComponentOptions.IAddRemoveRatePlanPlugin{

 






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √