Skip to main content
6 votes
Accepted

Xero WebHook Validation

Better late than never but I recently have webhooks up and running in Salesforce. You effectively need to: Sign the payload received from Xero using HMACSHA256 and using the key provided in the ...
benedwards44's user avatar
4 votes
Accepted

Salesforce to Xero integration using Named Credentials by OAuth 2.0

Try adding xero-tenant-id header in you apex code. For this you may need to check "Allow merge fields in HTTP Header" or else it wont allow. HttpRequest req = new HttpRequest(); req.setEndpoint('...
TariqueH's user avatar
3 votes
Accepted

Salesforce to Xero Integration Using oAuth2.0

The body of the request should contain the three elements listed as being in the body. They are not headers. String body = 'grant_type=authorization_code&code='+authCode+'&redirect_uri=my ...
sfdcfox's user avatar
  • 495k
2 votes
Accepted

Xero WebHook Force.com Site

I received an update from Xero today saying they had deployed a change and it will accept the BrowserId Cookie that is returned by Salesforce so you should be good to go now :)
Tim's user avatar
  • 1,373
2 votes

Xero Invoice - API Character limit in Apex Salesforce

Internet explorer has a limit of 2048 characters other browsers has higher limit. URL character limit for Internet Explorer "Microsoft Internet Explorer has a maximum uniform resource locator (URL) ...
Saroj Bera's user avatar
  • 14.8k
1 vote
Accepted

Unauthorized Access using Named Credentials

Thank you all for your valuable time & suggestion. I was able to resolve with help of a few online blogs. Here is the solution : Correct Syntax to use Auth. Parameter from Named credentials : ...
Salesforce Development's user avatar
1 vote
Accepted

Named Credential Authentication

I was able to resolve the issue by using same callback URL at both the places. Thank you all for your help!
Salesforce Development's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible