Replies: 1 comment
-
|
Yep, so changing that to But you do make a great point, it's not technically what we want. Have a look at some examples from their docs: We really do probably want the Updated for the next release. To get this early, run |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Freshdesk now requires phone numbers to be submitted in a specific format when making API requests for contacts and tickets. Specifically, phone numbers can only include
+and numeric characters. If this format is not used, the API request returns an error.Right now I'm using an event to handle formatting numbers as needed prior to sending the payload, but I was interested in updating the Freshdesk integration so that the default integration behavior matches the new requirement.
I was looking at changing the
IntegrationFieldtype toTYPE_PHONEfor those fields, but that doesn't completely match the needed format. It looks likelibphonenumber\PhoneNumberFormat::E164would format phone numbers as needed, removing any unwanted characters as well as any extension, but I didn't see any way to specify that format for a phoneIntegrationField.Wondering if you have any suggestions for how to handle this elegantly, or if maybe it's best to just handle the string formatting within
Freshdesk::sendPayload().Beta Was this translation helpful? Give feedback.
All reactions