If you attempt to convert a Soapbox Shop Lead record in Salesforce that was not auto-converted by the Soapbox packages and see the following error, you'll want to review the setup of your Products in Salesforce and confirm that the Products added to Soapbox are associated with your Products in Salesforce:
Error: Invalid Data. Review all error messages below to correct your data. Apex trigger sbxshop.sbx_ShopCampaignMember caused an unexpected exception, contact your administrator: sbxshop.sbx_ShopCampaignMember: execution of AfterInsert caused by: System.DmlException: ConvertLead failed. First exception on row 0; first error: UNKNOWN_EXCEPTION, System.DmlException: Update failed. First exception on row 0 with id 00QF000000sYBmYMAW; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, sbxshop.sbx_ShopLead: execution of AfterUpdate caused by: System.DmlException: Insert failed. First exception on row 0; first error: FIELD_INTEGRITY_EXCEPTION, field integrity exception: PricebookEntryId, unknown (versions 3.0 and higher must specify pricebook entry id, others must specify product id): [PricebookEntryId, unknown] Trigger.sbxshop.sbx_ShopLead: line 62, column 1: [] (System Code) : []: Trigger.sbxshop.sbx_ShopCampaignMember: line 257, column 1
The integration between Soapbox Shop and Salesforce requires that you have:
- created Products in Salesforce;
- have at least one Price Book in Salesforce;
- added your Products to a Price Book as a Price Book Listing;
- associated each Product in the Product Manager in Soapbox with a Price Book Listing in Salesforce.
The error noted most likely occurs because one or more of these required steps has yet to be done.
For more on these steps, check out Creating Products, Price Books, and Price Book Entries in Salesforce to associate with Products in Soapbox and Add or edit a product in the Products Manager.