### Configuring 2Checkout Payment Plug-in

2Checkout.com, Inc. (2CO) is the online distribution center for over 300,000 tangible or digital products and services. Established in 1999 and headquartered in Columbus, Ohio, 2CO provides turnkey e-commerce solutions to thousands of business customers around the world.

To start accepting online payments via the 2Checkout payment gateway, please visit the 2Checkout website and sign up. After your 2Checkout account is set up, you will obtain the Merchant ID (numerical identifier) and the URL to the 2Checkout payment gateway, which should be indicated in the 2Checkout plug-in configuration form.

Important: Please configure your 2Checkout account properly:

1. Go to the 2Checkout plug-in configuration screen in HSPcomplete, configure the plug-in as this described below and save changes.
2. Open the plug-in details (view screen) and copy the URL shown on the 2Checkout plug-in screen in the Data Return URL field. Please note that the Data Return URL appears only after you fill all the fields in the plug-in configuration form and save changes.
3. Log in to the 2Checkout Sellers Area and follow the Look & Feel Settings link. Do the following:
   1. Specify the data return URL you have copied from the plug-in configuration form in the Approved URL and Pending URL fields.
   2. Set to Yes the Direct Return parameter.
4. Stay in the Merchant Interface and now go to the product settings - Set Up Product.
5. Create a new Product. While creating a new product, specify the following values for the product parameters:
   - Name: HSPC_product
   - Your Product ID: HSPC_product
   - Short Description: HSPC product
   - Long Description: HSPC product

Important: Before you Activate the 2Checkout Plug-in, Check the Default Currency on the Gateway Side

2Checkout gateway always uses the default currency set in the Bank Account & Payment Details in your seller account profile. 2Checkout always assumes that all transactions sent to the gateway are in this default currency and the original currency used in seller's store is not passed to the gateway. Thus, it is very important that the default currency set on the 2Checkout gateway side matches the currency used in HSPcomplete. So, if you decide to change the currency used in HSPcomplete, then you must recalculate all the prices in your store in accordance with the currencies cross-rate, change the HSPcomplete system-wide currency and after this, log in to the 2Checkout Sellers Area and reset the default currency in accordance with your new currency.

To reset the default currency used by 2Checkout gateway:

1. Log in to the 2Checkout Merchant Interface and follow the Bank Account & Payment Details link.
2. Select the default currency from the Prefers to display in drop-down menu. However, before you confirm the changes we recommend you to click the READ THIS FIRST link next to the drop-down menu and read the Currency Warning provided by 2CheckOut.

Then you can configure the plug-in as this described below. After the plug-in is configured, you can activate it and start accepting payments in your HSPstore via 2Checkout.

To configure the 2Checkout payment plug-in:

1. Click the Edit button on the plug-in screen. Fill the form that appears:

   In the General settings section of the form:

   1. Enter the URL for the 2Checkout server into the Server URL field.
   2. Type your 2Checkout merchant ID into the Merchant ID field.
   3. If you want to receive e-mail notifications about the processed transactions from the 2Checkout payment gateway, check the Send email to merchant box. E-mail notifications will be sent to the e-mail address you have indicated when signing up at 2Checkout.

      In the Test environment settings section of the form:

   4. If you want to test the integration with 2Checkout, check the Test mode box to enable the testing mode when no real transactions are performed and do not forget to specify the testing server URL in the relevant field below.
   5. Key in the Button title. For example, this could be the name of payment system. This title will be displayed directly on the button for online-payment at HSPstore, on the final stage of subscription registration, when a customer selects how to pay for the services ordered.
   6. You can add both the short and the detailed description. Quick description of a payment method will be displayed below the button. The Long description of a payment method will be displayed in a separate section entitled Pay Online.
2. Click the Update button.

Please send us your feedback on this help page