Skip to content
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

Security Token #4

Open
diggdiganta opened this issue Jul 10, 2014 · 2 comments
Open

Security Token #4

diggdiganta opened this issue Jul 10, 2014 · 2 comments

Comments

@diggdiganta
Copy link

I have downloaded both the files "Customer_SaveAndGet.php" and "basic_usage.php" and tried to configure for my store, but i am stuck in define("SECURITY_TOKEN", "security token"); . where can i get that token? I have created an app from admin panel of my store and i have got an APP SECRET and ACCESS TOKEN of that app. But what is SECURITY_TOKEN? Where can i get that? please help..thanks in advance.

my store front is https://newyorkstockoption.americommerce.com/

@shaynemartin91
Copy link

@diggdiganta This example is for our SOAP API, not our new REST API. The process of creating an app in the admin and getting the app secret and access token are new to the REST API. The older SOAP API is based on a paid model. To obtain a security token, you'll need to ensure you've purchased access to the SOAP API, after which a token will be generated and provided to you.

That being said, while we have no current plans to discontinue the SOAP API, we highly recommend using the REST API instead, which does not require any purchases to use and would only require the app secret and access token to start using it.

@diggdiganta
Copy link
Author

Thank You for the info :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants