Topic Started
Replies Created
Reply to: Event Notifications not being created for Transactions from APEX SDK
Thursday, May 25, 2023 at 12:52pmReply to: Event Notifications not being created for Transactions from APEX SDK
Thursday, May 25, 2023 at 02:11pmHi Duo,
I tried each of the below urls, but each returned with the 401 error. I have added the current set up I have as well:
https://login.salesforce.com/services/oauth2/success
https://test.salesforce.com/services/oauth2/success
https://xxx.my.salesforce.com/services/oauth2/success
Reply to: Event Notifications not being created for Transactions from APEX SDK
Thursday, May 25, 2023 at 02:52pmHi Duo,
I had one when I stated this post a few weeks back, CS0130713.
I did try clearing the configurations from the UI portal, and now no errors are sent to our account email, but there are no event notifications generated.
Reply to: Event Notifications not being created for Transactions from APEX SDK
Friday, May 26, 2023 at 07:28amHi Duo,
I created this package a few minutes ago, along with using the data.origin as 'OSS'. '9_AKM_M8RpYA9SSrDvXkz6w6DJ0=' I tried to manually create all of the relevant Onespan custom objects in Salesforce, but if I try to view the package, I get the attached error.
I don't see any errors from the account email we have, but we still don't receive any Event Notifications from packages like these. Just to clarify, it seems like, in creating transactions from Apex Code, then OneSpan will not create or write Salesforce custom objects for that package is that correct?
Reply to: Event Notifications not being created for Transactions from APEX SDK
Tuesday, May 30, 2023 at 09:10amHi Duo,
Gotcha, that makes sense then. But to follow up then, is there a way to have those keys connected so that we don't end up with the 'Cannot View Package' error? I have a feeling if I can connect via apex the same way the users who manually create the transactions do, it will work.
I keep querying in Salesforce for any Event Notifications records to be created. I only see ones from users who manually created the transactions on the OneSpan VF page, but there are none from the apex driven ones.
Hi Duo,
I ran the formula and received the below response, which I believe means that the refresh token is correct. Do I need to go to OneSpan Sign's API Access and create a Client App or go to Event Notification and enter a value for the Callback Key?
<OAuth>
<access_token>00DDExxxSdGjpQNsOl4dZPrO</access_token>
<signature>s3sMOx0xxvwHig=</signature>
<scope>refresh_token full</scope>
<instance_url>https://xxx.sandbox.my.salesforce.com</instance_url>
<id>https://test.salesforce.com/id/00DDE00xxMYAZ</id>
<token_type>Bearer</token_type>
<issued_at>1685036843486</issued_at>
</OAuth>