-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Config-Values will not be saved when only userkey is available #11
Comments
The correct code should be:
|
Thanks @mageconsult! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Having only a userkey instead of the api-secretkey will not allow to save config values in magento backend.
app/code/community/Gigya/Social/sdk/gigyaCMS.php
row 340:
public function testApiconfig() {
$request = new GSRequest($this->api_key, $this->api_secret, 'shortenURL');
will only use $this-api_secret and doesn´t care about user-secret.
As a result the call of the following line in Gigya_Social_Model_Config_Backend_ApiKey will throw an exception:
if ($apiError = $helper->utils->testApiconfig()) {
and no values will be saved. As a short test I disabled the call to testApiconfig() and then values will be saved.
The text was updated successfully, but these errors were encountered: