peterzog | Posts: 109

Salesforce Event Notification Endpoint - Not receiving Events for SDK Generated Packages

0 votes

I 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:"

 


Duo_Liang | Posts: 3776

Reply to: Salesforce Event Notification Endpoint - Not receiving Events for SDK Generated Packages

0 votes

Hi 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


Hello! Looks like you're enjoying the discussion, but haven't signed up for an account.

When you create an account, we remember exactly what you've read, so you always come right back where you left off