Salesforce Event Notification Endpoint - Not receiving Events for SDK Generated Packages
Tuesday, October 26, 2021 at 12:41pmI am successfully receiving events in Salesforce for transactions I created in the OSS portal but not for any packages I create via the SDK. Is there something I need to set when I create packages via APEX?
I noticed this comment in your blog series on Salesforce events:
"In order to verify if our callback listener works as expected, we can simply create a transaction from sender portal or from any integration points as long as you’ve carried “data” > “origin” : “OSS” in the transaction JSON:"
Reply to: Salesforce Event Notification Endpoint - Not receiving Events for SDK Generated Packages
Tuesday, October 26, 2021 at 02:56pmHi Peter,
Glad to hear that you've implemented an OAuth listener within Salesforce! Yes, you need to specify a custom data in the package. Considering the package data in APEX SDK is hardcoded, you can:
(1)Either invoke an additional call and update the transaction, like custom transaction data guide showcased
(2)Or to modify the SDK source code > class OneSpanAPIObjects > line 238
Duo