https://www.x-payments.com/help/?title=X-Payments:Connecting_LiteCommerce&feed=atom&action=historyX-Payments:Connecting LiteCommerce - Revision history2024-03-29T09:13:39ZRevision history for this page on the wikiMediaWiki 1.31.5https://www.x-payments.com/help/?title=X-Payments:Connecting_LiteCommerce&diff=1678&oldid=prevDohtur at 13:46, 15 March 20192019-03-15T13:46:46Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 13:46, 15 March 2019</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l25" >Line 25:</td>
<td colspan="2" class="diff-lineno">Line 25:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><youtube>lL1bgZCo84M</youtube></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><youtube>lL1bgZCo84M</youtube></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>==<del class="diffchange diffchange-inline">Configuring '''</del>X-Payments <del class="diffchange diffchange-inline">connector''' for LiteCommerce</del>==</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>==<ins class="diffchange diffchange-inline">Connecting LiteCommerce to </ins>X-Payments==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>'''X-Payments connector''' <del class="diffchange diffchange-inline">add-on module </del>can be obtained through the LiteCommerce Modules Marketplace and installed using the standard LiteCommerce module installation procedure. After the installation, '''X-Payments connector''' needs to be configured.</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">The following procedure assumes that:</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:* You have an X-Payments account created using https://www.x-payments.com/trial-demo.html</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">:* You have completed configuring the connection to your LiteCommerce store in X-Payments.</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> </div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">After configuring the connection to your LiteCommerce store in X-Payments, log in to your LiteCommerce store Administrator back end and complete setting up the connection on the LiteCommerce end. The connection is done using the add-on module </ins>'''X-Payments connector''' <ins class="diffchange diffchange-inline">which </ins>can be obtained through the LiteCommerce Modules Marketplace and installed using the standard LiteCommerce module installation procedure. After the installation, '''X-Payments connector''' needs to be configured.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To configure '''X-Payments connector''':</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>To configure '''X-Payments connector''':</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div># In the LiteCommerce Administrator <del class="diffchange diffchange-inline">backend</del>, go to the 'Manage add-ons' section (Click the '''Add-ons''' tab in the main Administrator menu).</div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div># In the LiteCommerce <ins class="diffchange diffchange-inline">store </ins>Administrator <ins class="diffchange diffchange-inline">back end</ins>, go to the 'Manage add-ons' section (Click the '''Add-ons''' tab in the main Administrator menu).</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Locate the '''X-Payments connector''' item in the list of add-on modules installed at your store and make sure it is marked ''Еnabled''.</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Locate the '''X-Payments connector''' item in the list of add-on modules installed at your store and make sure it is marked ''Еnabled''.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Click on the <u>Configure</u> link next to the '''X-Payments connector''' item. This opens the '''X-Payments connector''' module configuration page:<br /></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div># Click on the <u>Configure</u> link next to the '''X-Payments connector''' item. This opens the '''X-Payments connector''' module configuration page:<br /></div></td></tr>
</table>Dohturhttps://www.x-payments.com/help/?title=X-Payments:Connecting_LiteCommerce&diff=458&oldid=prevDohtur at 09:30, 13 October 20152015-10-13T09:30:05Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 09:30, 13 October 2015</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l23" >Line 23:</td>
<td colspan="2" class="diff-lineno">Line 23:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><<del class="diffchange diffchange-inline">videoflash</del>>lL1bgZCo84M<del class="diffchange diffchange-inline">|640|480</del></youtube></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><<ins class="diffchange diffchange-inline">youtube</ins>>lL1bgZCo84M</youtube></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Configuring '''X-Payments connector''' for LiteCommerce==</div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>==Configuring '''X-Payments connector''' for LiteCommerce==</div></td></tr>
</table>Dohturhttps://www.x-payments.com/help/?title=X-Payments:Connecting_LiteCommerce&diff=113&oldid=prevDohtur: Created page with "== Overview == X-Cart Next/LiteCommerce can be connected to '''X-Payments''' using the '''X-Payments connector''' add-on module. This ensures correct implementation of the f..."2015-07-14T14:18:47Z<p>Created page with "== Overview == X-Cart Next/LiteCommerce can be connected to '''X-Payments''' using the '''X-Payments connector''' add-on module. This ensures correct implementation of the f..."</p>
<p><b>New page</b></p><div>== Overview ==<br />
<br />
X-Cart Next/LiteCommerce can be connected to '''X-Payments''' using the '''X-Payments connector''' add-on module. This ensures correct implementation of the following tasks:<br />
<br />
* Importing the data on active payment methods from '''X-Payments''' to X-Cart Next/LiteCommerce;<br />
* Transferring cart and customer details from LiteCommerce to '''X-Payments''';<br />
* Redirecting the customer from LiteCommerce to '''X-Payments''' and back to X-Cart Next/LiteCommerce;<br />
* Synchronizing transaction and order details between '''X-Payments''' and X-Cart Next/LiteCommerce.<br />
<br />
==System requirements==<br />
<br />
To successfully install and use the '''X-Payments connector''' add-on module, you need:<br />
<br />
* an installed copy of X-Cart Next/LiteCommerce v 1.1.0 or later;<br />
* an installed copy of '''X-Payments''' v 1.0.5 or later;<br />
* PHP extensions:<br />
<br />
:* libCurl version >= 7.10;<br />
:* OpenSSL extension;<br />
:* XML DOM extension (to parse XML data).<br />
<br />
==Video Tutorial==<br />
<br />
<br />
<videoflash>lL1bgZCo84M|640|480</youtube><br />
<br />
==Configuring '''X-Payments connector''' for LiteCommerce==<br />
<br />
'''X-Payments connector''' add-on module can be obtained through the LiteCommerce Modules Marketplace and installed using the standard LiteCommerce module installation procedure. After the installation, '''X-Payments connector''' needs to be configured.<br />
<br />
To configure '''X-Payments connector''':<br />
<br />
# In the LiteCommerce Administrator backend, go to the 'Manage add-ons' section (Click the '''Add-ons''' tab in the main Administrator menu).<br />
# Locate the '''X-Payments connector''' item in the list of add-on modules installed at your store and make sure it is marked ''Еnabled''.<br />
# Click on the <u>Configure</u> link next to the '''X-Payments connector''' item. This opens the '''X-Payments connector''' module configuration page:<br /><br />
#: [[Image:XPconnector_settings.png | border]]<br />
# Define the connection settings needed for your LiteCommerce store to interact with X-Payments: Copy the value of the '''Configuration bundle''' field from the [[X-Payments:Managing_store_connections#Editing_Online_Store_Details|X-Payments' Online Store Details]] page, paste the string here and click '''Deploy'''. All the connection settings will be specified automatically.<br /><br />
#:* '''Store ID''': The unique value that will allow '''X-Payments''' to correctly identify requests coming from this store. This value is generated in the '''X-Payments''' back-end.<br />
#:* '''X-Payment URL''': The URL of your '''X-Payments''' installation; this URL is needed for the module be able to connect to '''X-Payments'''.<br />
#:* '''Public key''': The key to be used for encrypting the requests that the store will send to '''X-Payments'''. This key is generated in the '''X-Payments''' back-end.<br />
#:* '''Private key''': The key to be used for decrypting the responses and callback requests that the store will receive from '''X-Payments'''. This key is generated in the '''X-Payments''' back-end.<br />
#:* '''Private key password''': The password that should be used to decrypt the Private key. This password is generated in the '''X-Payments''' back-end.<br />
#:* '''IP addresses for '''X-Payments''' callbacks''': enter IP address of the server where X-Payments is installed. "127.0.0.1" can not be used here. For better understanding what IP address to put here see [[X-Payments:How_It_Works#Callback_from_X-Payments_to_the_store]]<br />
# Click the '''Submit''' button.<br />
<br />
==Running a test transaction==<br />
<br />
You can run a test transaction to make sure the connection with '''X-Payments''' has been configured correctly:<br /><br />
On the '''X-Payments connector''' module configuration page, scroll down to the '''Test module''' section (this section appears below the '''Connection options''' fields after you deploy the Configuration bundle) and click the '''Test module''' button.<br />
:: [[Image:XPconnector_settings2.png | border]]<br />
If the module is working correctly, the 'Test transaction successfully completed' message will be displayed.<br />
<br />
==Importing '''X-Payments''' payment methods into LiteCommerce==<br />
<br />
To be able to use the payment methods defined in '''X-Payments''', you should import information about them into your LiteCommerce store. Complete the following steps:<br />
<br />
# On the '''X-Payments connector''' module configuration page, scroll down to the '''Import payment methods''' section (this section appears in the lower part of the page after you deploy the Configuration bundle) and click the '''Request payment methods''' button:<br />
#: [[Image:XPconnector_settings3.png | border]]<br />This will cause '''X-Payments''' to return a list of payment methods available for your LiteCommerce store. The payment methods returned by X-Payments will be displayed in the '''Import payment methods''' section like this:<br />
#: [[Image:XPconnector_settings4.png | border]]<br />
# Review the list of available payment methods returned from '''X-Payments''' and, if all is correct, click the '''Import payment methods''' button.<br />The payment methods will be imported. As a result of import, the payment methods will be added to your store's Settings->Payment methods section, and they will be automatically enabled for your customers. You will also see the list of methods that have been imported in the '''Payment methods''' section at the top of the X-Payments Connector module configuration page:<br />
#: [[Image:XPconnector_settings5.png | border]]<br />
After the payment methods have been successfully imported from X-Payments, you can specify whether you wish these methods to use lite interface. Using lite interface means that the form where customers enter their credit card details is included into your store's checkout page like so:<br />
:: [[Image:Lite_checkout.png | border]]<br />
Not using lite interface means that when a customer needs to enter their credit card details to pay for their order, they will be redirected to the site of the payment system through which the payment is going to be processed.<br /><br />
To specify whether lite interface should be used for your X-Payments payment methods, simply select the desired value (''Yes'' or ''No'') from the '''Use lite interface''' box opposite each of the payment methods and click the '''Update interface settings''' button.<br />
{{Note1|Please note that if you change or add more payment methods for your LiteCommerce store in X-Payments at a later time, you will need to import payment methods from X-Payments again. If you choose to do so, all payment methods that have been previously imported from X-Payments will be removed from your store's database.}}<br /><br />
<br />
==Turn on X-Payments payment methods==<br />
<br />
After you imported X-Payments payment methods into your LiteCommerce store you need to go to your store admin back-end "Payment settings" page and activate them for your shop checkout routine. Please follow LiteCommerce guidelines on how to enable payment methods in LiteCommerce checkout routine.<br />
<br />
== See also ==<br />
* [[X-Payments:User_manual |X-Payments:User manual]]<br />
<noinclude>{{pdf_single}}</noinclude><br />
<br />
[[Category:X-Payments_Connection_Manuals]]</div>Dohtur