Difference between revisions of "X-Cart:Sage Pay"

From X-Cart 4 Classic
Jump to: navigation, search
(Setting up Sage Pay Direct)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
==Overview==
 
==Overview==
  
Sage Pay is a large UK-based internet payment service provider which offers a range of services allowing you to securely process credit card payments online. Among the acquiring banks for the Sage Pay gateway are Lloyds TSB, Bank of Scotland, HSBC, JCB, American Express and other banking institutions. Sage Pay provides a number of different options for website payments. X-Cart is currently integrated with the following products: <u>Sage Pay</u> <u>Form</u> and <u>Sage Pay Direct</u>. The major difference between the two protocols is where you host the payment pages for you store.
+
Sage Pay is a large UK-based internet payment service provider which offers a range of services allowing you to securely process credit card payments online. Among the acquiring banks for the Sage Pay gateway are Streamline (The Royal Bank of Scotland/NatWest), Lloyds TSB, Lloyd's Banking Group (Lloyds TSB & Halfax Bank of Scotland (HBOS)), HSBC, JCB, American Express and other banking institutions. Sage Pay provides a number of different options for website payments. X-Cart is currently integrated with the following products: <u>Sage Pay Form</u> and <u>Sage Pay Direct</u>, however, <u>Sage Pay Server & InFrame</u> will be supported when X-Cart 4.4 is released in June 2010. The major difference between the protocols is where you host the payment pages for you store.
  
 
== Sage Pay Form ==
 
== Sage Pay Form ==
Line 14: Line 14:
  
 
* A dedicated IP address. Required to be able install a dedicated SSL certificate.
 
* A dedicated IP address. Required to be able install a dedicated SSL certificate.
* A dedicated 128-bit SSL certificate to secure your payment pages. For recommended SSL certificate providers please check the X-Cart marketplace at  http://marketplace.x-cart.com/.
+
* A dedicated 128-bit SSL certificate to secure your payment pages. For recommended SSL certificate providers please check the [https://marketplace.x-cart.com/ X-Cart marketplace].
 
* Any of the supported HTTPS modules (Net::SSLeay, CURL, libCURL, OpenSSL or HTTPS-cli) installed on your server.
 
* Any of the supported HTTPS modules (Net::SSLeay, CURL, libCURL, OpenSSL or HTTPS-cli) installed on your server.
  
Line 21: Line 21:
 
==Obtaining a Sage Pay Account==
 
==Obtaining a Sage Pay Account==
  
If you have not registered an account with Sage Pay yet, you should do it before you start setting up Sage Pay in X-Cart. To open an account, go to the Sage Pay website at https://support.sagepay.com/apply/ and follow the instructions on the screen. After you have registered an account, you can set up Sage Pay Form or Sage Pay Direct in the X-Cart Admin area.
+
If you do not have an account with Sage Pay yet, you should get one before you start setting up Sage Pay in X-Cart:<br /><br />
 +
:* [https://applications.sagepay.com/apply/653E8C42-AD93-4654-BB91-C645678FA97B Apply for a Sage Pay account here]<br /><br />
 +
Once you have an account, you can set up Sage Pay in the X-Cart Admin area.
  
 
Alternatively, you can test Sage Pay without opening an account by using the gateway to the "simulator" operating mode.
 
Alternatively, you can test Sage Pay without opening an account by using the gateway to the "simulator" operating mode.
Line 31: Line 33:
 
# Log in to the X-Cart Admin area.
 
# Log in to the X-Cart Admin area.
 
# Go to the <u>Payment methods</u> section (Administration menu -> Payment methods) and scroll down to the <u>Payment gateways</u> form.
 
# Go to the <u>Payment methods</u> section (Administration menu -> Payment methods) and scroll down to the <u>Payment gateways</u> form.
# Select Sage Pay (Form protocol) from the drop-down list and click the '''Add''' button.<br><br>[[Image:pg_protx_01.gif|640px]]<br><br>After you have clicked on Add, Sage Pay Form will be added to the list of the available payment methods.<br><br>[[Image:pg_protx_02.gif|640px]]<br><br>
+
# Select Sage Pay (Form protocol) from the drop-down list and click the '''Add''' button.<br><br>[[Image:pg_protx_01.gif|640px]]<br><br>After you have clicked on Add, Sage Pay Form will be added to the list of the available payment methods.<br><br>[[Image:pg_protx_02.gif|640px]]<br>{{Note1|Note: If you set up a payment method providing online credit card payment processing and do not intend to process credit card payments manually, you should disable the default "Credit Card" payment method, that requires manual payment processing, by unselecting the check-box next to the payment method's name. Additionally, you can change the default "Credit Card" payment method's name to "Credit Card (offline)", and change the online payment method's name to "Credit Card". This will help you to avoid any confusion between these two payment methods.}}{{Note1|The $store_cc variable in the config.php file must be set to false in case you disable the default 'Credit Card' payment method and do not intend to process credit card payments manually.}}
# Click on the Configure link. This opens the configuration page for Sage Pay Form.<br><br>[[Image:pg_protx_03.gif|640px]]<br><br>
+
# Click on the Configure link. This opens the configuration page for Sage Pay Form.<br><br>[[Image:pg_protx_03.gif|640px]]
 
# Adjust the configuration settings for Sage Pay Form and click the Update button to apply the changes.
 
# Adjust the configuration settings for Sage Pay Form and click the Update button to apply the changes.
 
#* <u>VendorName</u>: Enter the name of your merchant account with Sage Pay.
 
#* <u>VendorName</u>: Enter the name of your merchant account with Sage Pay.
Line 38: Line 40:
 
#* <u>Currency</u>: Choose the currency in which you wish to accept payments through Sage Pay Form.
 
#* <u>Currency</u>: Choose the currency in which you wish to accept payments through Sage Pay Form.
 
#* <u>AVS/CV2 checks</u>: Choose whether you wish to use AVS and CV2 checking mechanisms and how.<br><br>The aim of these security checks is to provide you with additional information about the orders and reduce the risk of fake transactions.<br><br>AVS (Address Verification Service) checks whether the claimed billing address provided by the store customer coincides with the registered address of the cardholder. A successful result says that the ordering customer knows the cardholder's address, which is a good indication that they are the true cardholder.<br><br>CV2 stands for the last 3 or 4 digits of the number on the signature strip on the back of all debit and credit cards. In order to enter the correct number, a person who places an order must either be the cardholder, or must have spied the CV2 number when handling the card.<br><br>The AVS/CV2 checking scheme has many benefits, but it also has a number of limitations. The most serious one is that AVS works only for the UK, and it is not possible to check AVS on overseas orders. It means that for all non-UK orders the check will always return a failure, and you can rely on the CV2 check only. Be aware that the gateway may automatically decline such orders if this behavior is forced in the AVS and CV2 Rule Base in the Sage Pay back-office.
 
#* <u>AVS/CV2 checks</u>: Choose whether you wish to use AVS and CV2 checking mechanisms and how.<br><br>The aim of these security checks is to provide you with additional information about the orders and reduce the risk of fake transactions.<br><br>AVS (Address Verification Service) checks whether the claimed billing address provided by the store customer coincides with the registered address of the cardholder. A successful result says that the ordering customer knows the cardholder's address, which is a good indication that they are the true cardholder.<br><br>CV2 stands for the last 3 or 4 digits of the number on the signature strip on the back of all debit and credit cards. In order to enter the correct number, a person who places an order must either be the cardholder, or must have spied the CV2 number when handling the card.<br><br>The AVS/CV2 checking scheme has many benefits, but it also has a number of limitations. The most serious one is that AVS works only for the UK, and it is not possible to check AVS on overseas orders. It means that for all non-UK orders the check will always return a failure, and you can rely on the CV2 check only. Be aware that the gateway may automatically decline such orders if this behavior is forced in the AVS and CV2 Rule Base in the Sage Pay back-office.
#* <u>3D Secure checks</u>: Choose whether you wish to use the 3D Secure checking and how.<br><br>3D Secure is the technology behind the Verified by Visa and MasterCard SecureCode security initiatives, which provide for an additional technique for authenticating the cardholder at the time of the purchase.{{Note1|Note: This 3D Secure checking mechanism is completely ensured by Sage Pay, and it does not relate to the X-Cart's 3-D Secure Payment Authentication.}}
+
#* <u>3D Secure checks</u>: Choose whether you wish to use the 3D Secure checking and how.<br><br>3D Secure is the technology behind the [https://usa.visa.com/personal/security/vbv/index.html?ep=v_sym_verified&symlinkref=http%3A%2F%2Fwww.google.ru%2Fsearch%3Fq%3DVerified%2Bby%2BVisa%26ie%3Dutf-8%26oe%3Dutf-8%26aq%3Dt%26rls%3Dorg.mozilla%3Aru%3Aofficial%26client%3Dfirefox Verified by Visa] and [https://www.mastercard.com/us/personal/en/cardholderservices/securecode/index.html MasterCard SecureCode] security initiatives, which provide for an additional technique for authenticating the cardholder at the time of the purchase.{{Note1|Note: This 3D Secure checking mechanism is completely ensured by Sage Pay, and it does not relate to the X-Cart's 3-D Secure Payment Authentication.}}
#* <u>Test/Live mode</u>: Choose the mode in which the gateways must operate.<br><br>The "test" mode means that you can submit test orders and perform test transaction. Money will not be withdrawn from credit cards. The "simulator" mode means that you can place test orders and perform test transactions without opening  a Sage Pay account. The "live" mode is the full functioning mode with real transactions and charges. It must be used when only you are ready to go live.
+
#* <u>Test/Live mode</u>: Choose the mode in which the gateways must operate.<br><br>The "test" mode means that you can submit test orders and perform test transaction. Money will not be withdrawn from credit cards. The "simulator" mode means that you can place test orders and perform test transactions without opening  a Sage Pay account. The "live" mode is the full functioning mode with real transactions and charges. It must be used when only you are ready to go live. [https://www.sagepay.com/help/faq/how_can_i_test_the_different_card_types List of Sage Pay Dummy Credit/Debit Cards & instructions (account on Sage Pay Website required)]
 
#* <u>Order prefix</u>: Enter a prefix that will be automatically added to IDs of orders placed in your store and paid through Sage Pay Form.<br><br>Having a prefix ensures that orders will have unique IDs and will never coincide with orders placed in another online store of yours that also uses Sage Pay as a payment option.
 
#* <u>Order prefix</u>: Enter a prefix that will be automatically added to IDs of orders placed in your store and paid through Sage Pay Form.<br><br>Having a prefix ensures that orders will have unique IDs and will never coincide with orders placed in another online store of yours that also uses Sage Pay as a payment option.
 
# Return to the list of payment methods and activate Sage Pay Form by selecting the check box next to the gateway's name.
 
# Return to the list of payment methods and activate Sage Pay Form by selecting the check box next to the gateway's name.
Line 54: Line 56:
 
# Log in to the X-Cart Admin area.
 
# Log in to the X-Cart Admin area.
 
# Go to the <u>Payment methods</u> section (Administration menu -> Payment methods) and scroll down to the <u>Payment gateways</u> form.
 
# Go to the <u>Payment methods</u> section (Administration menu -> Payment methods) and scroll down to the <u>Payment gateways</u> form.
# Select Sage Pay (Direct protocol) from the drop-down list and click the '''Add''' button.<br><br>[[Image:pg_protx_05.gif|640px]]<br><br>After you have clicked on Add, Sage Pay Direct will be added to the list of the available payment methods.<br><br>[[Image:pg_protx_06.gif|640px]]<br><br>
+
# Select Sage Pay (Direct protocol) from the drop-down list and click the '''Add''' button.<br><br>[[Image:pg_protx_05.gif|640px]]<br><br>After you have clicked on Add, Sage Pay Direct will be added to the list of the available payment methods.<br><br>[[Image:pg_protx_06.gif|640px]]<br>{{Note1|Note: If you set up a payment method providing online credit card payment processing and do not intend to process credit card payments manually, you should disable the default "Credit Card" payment method, that requires manual payment processing, by unselecting the check-box next to the payment method's name. Additionally, you can change the default "Credit Card" payment method's name to "Credit Card (offline)", and change the online payment method's name to "Credit Card". This will help you to avoid any confusion between these two payment methods.}}{{Note1|The $store_cc variable in the config.php file must be set to false in case you disable the default 'Credit Card' payment method and do not intend to process credit card payments manually.}}
 
# Click on the <u>Configure</u> link. This opens the configuration page for Sage Pay Direct.<br><br>[[Image:pg_protx_07.gif|640px]]
 
# Click on the <u>Configure</u> link. This opens the configuration page for Sage Pay Direct.<br><br>[[Image:pg_protx_07.gif|640px]]
 
# Adjust the configuration settings for Sage Pay Direct and click '''Update''' to apply the changes.
 
# Adjust the configuration settings for Sage Pay Direct and click '''Update''' to apply the changes.
Line 61: Line 63:
 
#* <u>AVS/CV2 checks</u>: Choose whether you wish to use AVS and CV2 checking mechanisms and how.<br><br>The aim of these security checks is to provide you with additional information about the orders and reduce the risk of fake transactions.<br><br>AVS (Address Verification Service) checks whether the claimed billing address provided by the store customer coincides with the registered address of the cardholder. A successful result says that the ordering customer knows the cardholder's address, which is a good indication that they are the true cardholder.<br><br>CV2 stands for the last 3 or 4 digits of the number on the signature strip on the back of all debit and credit cards. In order to enter the correct number, a person who places an order must either be the cardholder, or must have spied the CV2 number when handling the card.<br><br>The AVS/CV2 checking scheme has many benefits, but it also has a number of limitations. The most serious one is that AVS works only for the UK, and it is not possible to check AVS on overseas orders. It means that for all non-UK orders the check will always return a failure, and you can rely on the CV2 check only. Be aware that the gateway may automatically decline such orders if this behavior is forced in the AVS and CV2 Rule Base in the Sage Pay back-office.
 
#* <u>AVS/CV2 checks</u>: Choose whether you wish to use AVS and CV2 checking mechanisms and how.<br><br>The aim of these security checks is to provide you with additional information about the orders and reduce the risk of fake transactions.<br><br>AVS (Address Verification Service) checks whether the claimed billing address provided by the store customer coincides with the registered address of the cardholder. A successful result says that the ordering customer knows the cardholder's address, which is a good indication that they are the true cardholder.<br><br>CV2 stands for the last 3 or 4 digits of the number on the signature strip on the back of all debit and credit cards. In order to enter the correct number, a person who places an order must either be the cardholder, or must have spied the CV2 number when handling the card.<br><br>The AVS/CV2 checking scheme has many benefits, but it also has a number of limitations. The most serious one is that AVS works only for the UK, and it is not possible to check AVS on overseas orders. It means that for all non-UK orders the check will always return a failure, and you can rely on the CV2 check only. Be aware that the gateway may automatically decline such orders if this behavior is forced in the AVS and CV2 Rule Base in the Sage Pay back-office.
 
#* <u>3D Secure checks</u>: Choose whether you wish to use the 3D Secure checking and how.<br><br>3D Secure is the technology behind the Verified by Visa and MasterCard SecureCode security initiatives, which provide for an additional technique for authenticating the cardholder at the time of the purchase.{{Note1|Note: This 3D Secure checking mechanism is completely ensured by Sage Pay, and it does not relate to the X-Cart's 3D Secure Payment Authentication.}}
 
#* <u>3D Secure checks</u>: Choose whether you wish to use the 3D Secure checking and how.<br><br>3D Secure is the technology behind the Verified by Visa and MasterCard SecureCode security initiatives, which provide for an additional technique for authenticating the cardholder at the time of the purchase.{{Note1|Note: This 3D Secure checking mechanism is completely ensured by Sage Pay, and it does not relate to the X-Cart's 3D Secure Payment Authentication.}}
#* <u>Test/Live mode</u>: Choose the mode in which the gateways must operate.<br><br>The "test" mode means that you can submit test orders and perform test transaction. Money will not be withdrawn from credit cards. The "simulator" mode means that you can place test orders and perform test transactions without opening  a Sage Pay account. The "live" mode is the full functioning mode with real transactions and charges. It must be used when only you are ready to go live.
+
#* <u>Test/Live mode</u>: Choose the mode in which the gateways must operate.<br><br>The "test" mode means that you can submit test orders and perform test transaction. Money will not be withdrawn from credit cards. The "simulator" mode means that you can place test orders and perform test transactions without opening  a Sage Pay account. The "live" mode is the full functioning mode with real transactions and charges. It must be used when only you are ready to go live. [https://www.sagepay.com/help/faq/how_can_i_test_the_different_card_types List of Sage Pay Dummy Credit/Debit Cards & instructions (account on Sage Pay Website required)]
 
#* <u>Action to be performed on order placement:</u> Choose whether Sage Pay must capture money automatically (Auth and Capture) or only freeze the funds until you capture the authorized amount manually through the X-Cart Admin area (Auth only).
 
#* <u>Action to be performed on order placement:</u> Choose whether Sage Pay must capture money automatically (Auth and Capture) or only freeze the funds until you capture the authorized amount manually through the X-Cart Admin area (Auth only).
 
#* <u>Order prefix</u>: Enter a prefix that will be automatically added to IDs of orders placed in your store and paid through Sage Pay Direct.<br><br>Having a prefix ensures that orders will have unique IDs and will never coincide with orders placed in another online store of yours that also uses Sage Pay as a payment option.
 
#* <u>Order prefix</u>: Enter a prefix that will be automatically added to IDs of orders placed in your store and paid through Sage Pay Direct.<br><br>Having a prefix ensures that orders will have unique IDs and will never coincide with orders placed in another online store of yours that also uses Sage Pay as a payment option.
Line 72: Line 74:
  
 
[[Category:X-Cart user manual]]
 
[[Category:X-Cart user manual]]
 +
[[Category:Payment gateways]]
 +
 +
[[Category:X-Cart user manual]]
 +
[[Category:Payment gateways]]

Latest revision as of 17:54, 22 July 2020

Overview

Sage Pay is a large UK-based internet payment service provider which offers a range of services allowing you to securely process credit card payments online. Among the acquiring banks for the Sage Pay gateway are Streamline (The Royal Bank of Scotland/NatWest), Lloyds TSB, Lloyd's Banking Group (Lloyds TSB & Halfax Bank of Scotland (HBOS)), HSBC, JCB, American Express and other banking institutions. Sage Pay provides a number of different options for website payments. X-Cart is currently integrated with the following products: Sage Pay Form and Sage Pay Direct, however, Sage Pay Server & InFrame will be supported when X-Cart 4.4 is released in June 2010. The major difference between the protocols is where you host the payment pages for you store.

Sage Pay Form

With Sage Pay Form the payment pages are hosted on the side of Sage Pay; customers get redirected to the Sage Pay website during the purchase and enter their card details there. Sage Pay Form is generally recommended if you do not have enough resources to ensure adequate security of your your server/hosting account. You must choose Form if your shared hosting account lacks a dedicated IP address, dedicated SSL certificate and/or one of the supported HTTPS modules (Net::SSLeay, CURL, libCURL, OpenSSL or HTTPS-cli).

Sage Pay Direct

With Sage Pay Direct the payment pages are hosted together with the rest part of your store; the data is transferred to Sage Pay in the background mode and customers never leave your website during the purchase. If necessary, you can even use this advantage to white-label the payment process, although it is common practice that you tell your customers which provider is going to process their payment in case customers have concerns about card security.

To use Sage Pay Direct in your store you need:

  • A dedicated IP address. Required to be able install a dedicated SSL certificate.
  • A dedicated 128-bit SSL certificate to secure your payment pages. For recommended SSL certificate providers please check the X-Cart marketplace.
  • Any of the supported HTTPS modules (Net::SSLeay, CURL, libCURL, OpenSSL or HTTPS-cli) installed on your server.

You must also be aware that now Visa, MasterCard and other major card issuing authorities have introduced strict rules and guidelines that cover any activity on collecting and storing card details. Since with Sage Pay Direct you will be collecting sensitive card info on your website, you will need to comply these rules and guidelines and undergo an audit to ensure that the data is protected well. If you do not wish to undergo such an audit, outsource the collecting of card info to Sage Pay by using Sage Pay Form.

Obtaining a Sage Pay Account

If you do not have an account with Sage Pay yet, you should get one before you start setting up Sage Pay in X-Cart:

Once you have an account, you can set up Sage Pay in the X-Cart Admin area.

Alternatively, you can test Sage Pay without opening an account by using the gateway to the "simulator" operating mode.

Setting up Sage Pay Form

To use Sage Pay Form as one of the payment options in the store:

  1. Log in to the X-Cart Admin area.
  2. Go to the Payment methods section (Administration menu -> Payment methods) and scroll down to the Payment gateways form.
  3. Select Sage Pay (Form protocol) from the drop-down list and click the Add button.

    Pg protx 01.gif

    After you have clicked on Add, Sage Pay Form will be added to the list of the available payment methods.

    Pg protx 02.gif
    Note: If you set up a payment method providing online credit card payment processing and do not intend to process credit card payments manually, you should disable the default "Credit Card" payment method, that requires manual payment processing, by unselecting the check-box next to the payment method's name. Additionally, you can change the default "Credit Card" payment method's name to "Credit Card (offline)", and change the online payment method's name to "Credit Card". This will help you to avoid any confusion between these two payment methods.
    The $store_cc variable in the config.php file must be set to false in case you disable the default 'Credit Card' payment method and do not intend to process credit card payments manually.
  4. Click on the Configure link. This opens the configuration page for Sage Pay Form.

    Pg protx 03.gif
  5. Adjust the configuration settings for Sage Pay Form and click the Update button to apply the changes.
    • VendorName: Enter the name of your merchant account with Sage Pay.
    • Encryption password: Enter the code that you received from Sage Pay via email when registering an account.

      The code, a mixture of 16 numbers/letters in both upper and lower case like oVPMeTE1xjXdT0nm, is used to encrypt order and customer data through a Simple XOR algorithm before it is sent to Sage Pay. Make sure that the encryption password you enter here coincides with the one in your Sage Pay back-office.
    • Currency: Choose the currency in which you wish to accept payments through Sage Pay Form.
    • AVS/CV2 checks: Choose whether you wish to use AVS and CV2 checking mechanisms and how.

      The aim of these security checks is to provide you with additional information about the orders and reduce the risk of fake transactions.

      AVS (Address Verification Service) checks whether the claimed billing address provided by the store customer coincides with the registered address of the cardholder. A successful result says that the ordering customer knows the cardholder's address, which is a good indication that they are the true cardholder.

      CV2 stands for the last 3 or 4 digits of the number on the signature strip on the back of all debit and credit cards. In order to enter the correct number, a person who places an order must either be the cardholder, or must have spied the CV2 number when handling the card.

      The AVS/CV2 checking scheme has many benefits, but it also has a number of limitations. The most serious one is that AVS works only for the UK, and it is not possible to check AVS on overseas orders. It means that for all non-UK orders the check will always return a failure, and you can rely on the CV2 check only. Be aware that the gateway may automatically decline such orders if this behavior is forced in the AVS and CV2 Rule Base in the Sage Pay back-office.
    • 3D Secure checks: Choose whether you wish to use the 3D Secure checking and how.

      3D Secure is the technology behind the Verified by Visa and MasterCard SecureCode security initiatives, which provide for an additional technique for authenticating the cardholder at the time of the purchase.
      Note: This 3D Secure checking mechanism is completely ensured by Sage Pay, and it does not relate to the X-Cart's 3-D Secure Payment Authentication.
    • Test/Live mode: Choose the mode in which the gateways must operate.

      The "test" mode means that you can submit test orders and perform test transaction. Money will not be withdrawn from credit cards. The "simulator" mode means that you can place test orders and perform test transactions without opening a Sage Pay account. The "live" mode is the full functioning mode with real transactions and charges. It must be used when only you are ready to go live. List of Sage Pay Dummy Credit/Debit Cards & instructions (account on Sage Pay Website required)
    • Order prefix: Enter a prefix that will be automatically added to IDs of orders placed in your store and paid through Sage Pay Form.

      Having a prefix ensures that orders will have unique IDs and will never coincide with orders placed in another online store of yours that also uses Sage Pay as a payment option.
  6. Return to the list of payment methods and activate Sage Pay Form by selecting the check box next to the gateway's name.
  7. Click the Update button.

After you have configured and activated the gateway, your customers will be able to choose Sage Pay Form as a payment option.

Pg protx 04.gif

Setting up Sage Pay Direct

To use Sage Pay Direct as one of the payment options in the store:

  1. Log in to the X-Cart Admin area.
  2. Go to the Payment methods section (Administration menu -> Payment methods) and scroll down to the Payment gateways form.
  3. Select Sage Pay (Direct protocol) from the drop-down list and click the Add button.

    Pg protx 05.gif

    After you have clicked on Add, Sage Pay Direct will be added to the list of the available payment methods.

    Pg protx 06.gif
    Note: If you set up a payment method providing online credit card payment processing and do not intend to process credit card payments manually, you should disable the default "Credit Card" payment method, that requires manual payment processing, by unselecting the check-box next to the payment method's name. Additionally, you can change the default "Credit Card" payment method's name to "Credit Card (offline)", and change the online payment method's name to "Credit Card". This will help you to avoid any confusion between these two payment methods.
    The $store_cc variable in the config.php file must be set to false in case you disable the default 'Credit Card' payment method and do not intend to process credit card payments manually.
  4. Click on the Configure link. This opens the configuration page for Sage Pay Direct.

    Pg protx 07.gif
  5. Adjust the configuration settings for Sage Pay Direct and click Update to apply the changes.
    • VendorName: Enter the name of your merchant account with Sage Pay.
    • Currency: Choose the currency in which you wish to accept payments through Sage Pay Form.
    • AVS/CV2 checks: Choose whether you wish to use AVS and CV2 checking mechanisms and how.

      The aim of these security checks is to provide you with additional information about the orders and reduce the risk of fake transactions.

      AVS (Address Verification Service) checks whether the claimed billing address provided by the store customer coincides with the registered address of the cardholder. A successful result says that the ordering customer knows the cardholder's address, which is a good indication that they are the true cardholder.

      CV2 stands for the last 3 or 4 digits of the number on the signature strip on the back of all debit and credit cards. In order to enter the correct number, a person who places an order must either be the cardholder, or must have spied the CV2 number when handling the card.

      The AVS/CV2 checking scheme has many benefits, but it also has a number of limitations. The most serious one is that AVS works only for the UK, and it is not possible to check AVS on overseas orders. It means that for all non-UK orders the check will always return a failure, and you can rely on the CV2 check only. Be aware that the gateway may automatically decline such orders if this behavior is forced in the AVS and CV2 Rule Base in the Sage Pay back-office.
    • 3D Secure checks: Choose whether you wish to use the 3D Secure checking and how.

      3D Secure is the technology behind the Verified by Visa and MasterCard SecureCode security initiatives, which provide for an additional technique for authenticating the cardholder at the time of the purchase.
      Note: This 3D Secure checking mechanism is completely ensured by Sage Pay, and it does not relate to the X-Cart's 3D Secure Payment Authentication.
    • Test/Live mode: Choose the mode in which the gateways must operate.

      The "test" mode means that you can submit test orders and perform test transaction. Money will not be withdrawn from credit cards. The "simulator" mode means that you can place test orders and perform test transactions without opening a Sage Pay account. The "live" mode is the full functioning mode with real transactions and charges. It must be used when only you are ready to go live. List of Sage Pay Dummy Credit/Debit Cards & instructions (account on Sage Pay Website required)
    • Action to be performed on order placement: Choose whether Sage Pay must capture money automatically (Auth and Capture) or only freeze the funds until you capture the authorized amount manually through the X-Cart Admin area (Auth only).
    • Order prefix: Enter a prefix that will be automatically added to IDs of orders placed in your store and paid through Sage Pay Direct.

      Having a prefix ensures that orders will have unique IDs and will never coincide with orders placed in another online store of yours that also uses Sage Pay as a payment option.
  6. Return to the list of payment methods and activate Sage Pay Direct by selecting the check box next to the gateway's name.
  7. Click Update.

After you have configured and activated the gateway, your customers will be able to choose Sage Pay Direct as a payment option.

Pg protx 08.gif