ShipStation Help

Paul Manning paulrmanning58 at icloud.com
Tue Feb 23 17:45:39 UTC 2021


Kelly,
 Thanks  for the direction.  With a bit more of fooling around I got this to work

Calculate authstring as con('Basic ',OXML.$base64encode(chartoutf8(con(API_key,’:’,api_Secret)))


Paul

************************************************
Paul R. Manning
paulrmanning58 at icloud.com <mailto:paulrmanning58 at icloud.com>


> On Feb 23, 2021, at 9:47 AM, Paul Manning via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
> 
> Kelly,
> 
> When trying this I get an error ‘Attempt to assign binary to character'
> 
> Paul
> 
> ************************************************
> Paul R. Manning
> paulrmanning58 at icloud.com <mailto:paulrmanning58 at icloud.com>
> 
> 
>> On Feb 23, 2021, at 5:16 AM, Kelly Burgess <kellyb at montana.com> wrote:
>> 
>> Hi Paul,
>> 
>>> Mostly in need of knowing what needs to be set up in the Header list.  
>>> I keep getting a ’Not Authorized’ message returned
>> 
>> 
>> According to this - https://www.shipstation.com/docs/api/requirements/
>> 
>> you would use
>> 
>> Calculate authstring as bintobase64(chartoutf8(con(API_KEY,':',API_Secret)))
>> Calculate headerline as con('Authorization: Basic ',authstring)
>> 
>> Or if you're passing headers in a list, then Authorization in column 1 and con('Basic ',authstring) in column 2.
>> 
>> Kelly
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com
>> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list