logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
judy at Web2Market  
#1 Posted : Tuesday, October 29, 2024 8:03:41 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
We just had an AC Gold site move to our servers that didn't have an encyrption key set, so I set one. That caused a third party integration to stop working because the ApiPassword was sent encrypted when it had been sent in clear text. Evidently the application that the api is connecting to doesn't decrypt a password. The person who wrote the AC integration isn't supporting it now.
Is there a way to send an api request without encrypting the password? I tried hardcoding the password instead of getting it from the store settings and it didn't help. The body of the request is created using JsonConvert.SerializeObject.
Thank

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Katie S  
#2 Posted : Tuesday, October 29, 2024 12:25:35 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 472

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi Judy,

There may be an easier way to send the API password manually, without encryption, but I was going to suggest you look at the Configure > Security > Database configuration page. I remembered that we have code in that page which will decrypt the connection string. Perhaps you can utilize this as an example of decrypting the key for this integration.

I hope this helps.
Katie
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.