How To Integrate 2Checkout Payment Gateway on doitX
To setup 2Checkout payment gateway you will need the following details
- Account number – http://help.2checkout.com/articles/FAQ/Where-is-my-Seller-ID
- Private and Publishable keys – http://help.2checkout.com/articles/FAQ/Where-do-I-find-the-Publishable-and-Private-keys
To setup 2Checkout, Navigate to Settings->Payment Settings then 2Checkout tab and add your Account number, private and publishable key into the gateway settings.
SSL is required if you are using the 2Checkout payment API. It is required to safely call the tokenization and authorizations. The system will function without SSL, however, this will place you out of compliance, which risks deactivation of your API permissions.
To test 2Checkout payment gateway you will need sandbox account. Click https://sandbox.2checkout.com/sandbox to create sandbox account if you don’t have already
To enable the Payment API in your sandbox account, simply click on the API tab, then review and accept the API agreement.
This takes you into the API settings page where you can find your sandbox API keys and sample credit card data to use.
Update the settings.
When using live credentials, your account needs to be approved from 2checkout for live sales/transactions.
To make it available to customers set 2Checkout Active? to Yes from Payment Settings->2Checkout
If you are testing you must set Sandbox/Demo Payment Settings->2Checkout