To help in troubleshooting challenges during the setup process, we've outlined the order of operations that happens when an event registration is processed using a Events app page.
- If applicable, a payment request is sent to the payment gateway for approval
- If applicable, the payment gateway response is sent back to Soapbox Engage
- If applicable, if the payment was approved, Soapbox Engage prepares to send data to Salesforce
- Soapbox Engage creates a Lead record in Salesforce
- Soapbox Engage creates Ticket_Temp__c records in Salesforce, one for each ticket purchased
- Soapbox Engage creates a Campaign Member record in Salesforce
- An after insert trigger on the Campaign Member object fires in Salesforce
- The Lead conversion process begins based on the previous trigger
- An Account record is created, if applicable, as part of Lead conversion in Salesforce
- A Contact record is created, if applicable, as part of Lead conversion in Salesforce
- An Opportunity record is created as part of the Lead conversion in Salesforce
- An after insert trigger on the Opportunity object fires in Salesforce
- Based on the previous trigger, the Ticket_Temp__c records are moved to the Ticket__c object and related to the newly created Opportunity
- The Lead record is updated, as part of the Lead conversion in Salesforce
- An after update trigger on the Lead object fires in Salesforce
- Data from the updated Lead record is sent back to Soapbox Engage
- Soapbox Engage's Events app sends the registrant to either the redirect page or the thank you page
- If applicable, confirmation emails are sent