While working on 2Checkout API recently, I found it very time consuming to setup a 2Checkout developer or sandbox account, as I couldn’t find any proper steps to setup a developer account. Although the 2Checkout guy was really helpful to point me out in right direction.
So it might help you if you are setting up a developer account.
For developer account you need not to sign up for a live account, you just need a sandbox account.
You can signup for a developer account at 2Checkout Sandbox Site
After signing up, you just need to go to dashboard
- Go to API section, accept their terms and agreements and click over start integrating, after that you’ll be able to access the private key, public key and the demo card details.
- For using their API you need to create a new user having API access only, they don’t allow to use admin user for API calls. You can go to User Management section to create a new API user.
- After you are done with creating user, you’ve to setup the site settings, Keep the demo settings off or to parameter only, If the demo settings is turned on the API calls don’t get recorded and you won’t be able to fetch any test sale details.
Under the checkout options select the URL option you need, after the user has made the payment.
Secret word is used to authenticate the response received from 2Checkout after payment.
You can get their libraries from 2Checkout github.
After making all these settings you are good to go for development and testing with 2Checkout payments.
Hey Craig from 2Checkout here, thanks for pointing these issues out. I will make sure that they are addressed. Let me know if you have any more feedback.
Hey thanks Craig, the 2Checkout support was really helpful, First I thought, I’ll work out the settings myself but I couldn’t.