0

我已经尝试了以下文档中的示例代码“oauth_customer.php”:http: //www.magentocommerce.com/wiki/doc/webservices-api/introduction_to_rest_api 请参阅标题:“以客户用户的身份检索产品列表OAuth 身份验证”

但是,当我尝试访问该页面时,它似乎工作正常,但我没有按预期获得产品列表数组!; 相反,它只是重定向到magento中的客户帐户页面。步骤如下:
1)设置消费者密钥,消费者秘密等。
2)通过浏览器访问页面:http: //myhost.com/oauth_customer.php
3)询问客户登录凭据,然后单击“授权”按钮。
4)页面重定向到客户帐户页面。

为什么我没有得到产品列表数组?任何帮助表示赞赏。

谢谢,伊克巴尔。

4

1 回答 1

0

Try changing the callback URL to the same as the page running the script.

于 2013-07-23T10:27:10.287 回答