# vim: set ts=2 sw=2 sts=2 et:
#
# Fixtures
#
# @author    Qualiteam software Ltd <info@x-cart.com>
# @copyright Copyright (c) 2011-2016 Qualiteam software Ltd <info@x-cart.com>. All rights reserved
# @license   http://www.x-cart.com/license-agreement.html X-Cart 5 License Agreement
# @link      http://www.x-cart.com/

XLite\Model\Config:
  - name: xpc_shopping_cart_id
    category: 'CDev\XPaymentsConnector'
    type: 'XLite\Module\CDev\XPaymentsConnector\View\FormField\Input\Text\StoreID'
    orderby: 1010
    value: ''
    translations:
      - code: en
        option_name: 'Store ID'
        option_comment: 'Store ID is an unique value generated by X-Payments for this shopping cart. This value should be obtained from this online store details page in X-Payments back-end.'
  - name: xpc_xpayments_url
    category: 'CDev\XPaymentsConnector'
    type: 'XLite\Module\CDev\XPaymentsConnector\View\FormField\Input\Text\URLipv6'
    orderby: 1020
    value: ''
    translations:
      - code: en
        option_name: 'X-Payments URL'
        option_comment: 'URL of your X-Payments installation (specify the URL beginning with https://). The store will send payment transaction requests to this URL.'
  - name: xpc_public_key
    category: 'CDev\XPaymentsConnector'
    type: textarea
    orderby: 1030
    value: ''
    translations:
      - code: en
        option_name: 'Public key'
        option_comment: 'Public key is used to encrypt requests from the store to your X-Payments installation. This value should be obtained from this online store details page in X-Payments back-end.'
  - name: xpc_private_key
    category: 'CDev\XPaymentsConnector'
    type: textarea
    orderby: 1040
    value: ''
    translations:
      - code: en
        option_name: 'Private key'
        option_comment: 'Private key is used to decrypt responses and callback requests that the store receives from your X-Payments installation. This value should be obtained from this online store details page in X-Payments back-end.'
  - name: xpc_private_key_password
    category: 'CDev\XPaymentsConnector'
    type: text
    orderby: 1050
    value: ''
    translations:
      - code: en
        option_name: 'Private key password'
        option_comment: 'Private key password is used to decrypt the Private key. This value should be obtained from this online store details page in X-Payments back-end.'
  - name: xpc_currency
    category: 'CDev\XPaymentsConnector'
    type: 'XLite\View\FormField\Select\Currency'
    orderby: 1070
    value: 840
    translations:
      - code: en
        option_name: 'Payment currency'
        option_comment: 'All the payments will be made using the currency specified here.'
  - name: xpc_api_version
    category: 'CDev\XPaymentsConnector'
    type: 'hidden'
    orderby: 1080
    value: '1.3'
    translations:
      - code: en
        option_name: 'API version compatibility'
  - name: xpc_use_iframe
    category: 'CDev\XPaymentsConnector'
    type: checkbox
    orderby: 1090
    value: true
    translations:
      - code: en
        option_name: 'Use iframe'
  - name: xpc_allowed_modules_load_date
    category: 'CDev\XPaymentsConnector'
    type: 'hidden'
    orderby: 2000
    value: '0'
    translations:
      - code: en
        option_name: 'Date when the payment methods were loaded from site'
  - name: xpc_allowed_modules
    category: 'CDev\XPaymentsConnector'
    type: 'hidden'
    orderby: 2010
    value: ''
    translations:
      - code: en
        option_name: 'List of payment methods allowed by X-Payments'
  - name: xpc_zero_auth_method_id
    category: 'CDev\XPaymentsConnector'
    type: 'XLite\Module\CDev\XPaymentsConnector\View\FormField\Select\ZeroAuthPaymentMethods'
    orderby: 1100
    value: 0
    translations:
      - code: en
        option_name: 'Payment method for card setup'
  - name: xpc_zero_auth_amount
    category: 'CDev\XPaymentsConnector'
    type: 'XLite\Module\CDev\XPaymentsConnector\View\FormField\Input\Text\ZeroAuthAmount'
    orderby: 1110
    value: 0.00
    translations:
      - code: en
        option_name: 'Authorize amount for card setup'
        option_comment: 'Which amount should be authorized on card. Recommended 0.00, 0.01 or 1.00. Note: if you chose 0.00 make sure the payment gateway supports such authorization'
  - name: xpc_zero_auth_description
    category: 'CDev\XPaymentsConnector'
    type: 'XLite\Module\CDev\XPaymentsConnector\View\FormField\Input\Text\ZeroAuthDescription'
    orderby: 1130
    value: ''
    translations:
      - code: en
        option_name: 'Description of the card setup payment'
        option_comment: 'Description of card setup authorization. It`s sent to the payment gateway and can be seen by you and your customers thru the bank receipt.'

XLite\Model\LanguageLabel:
  - { name: "Cards which can be used for your future orders in this shop. No real credit cards were saved, only special token on the side of the payment processor, that can be used in this store only.", translations: [{ code: en, label: "Cards that can be used for your future orders in this shop. No real credit card data was saved, only a special token on the side of the payment processor that can be used in this store only." }] }
  - { name: "These payment methods were imported from your X-Payments. You can add them to your store at the ", translations: [{ code: en, label: "These payment methods were imported from your X-Payments. You can add them to your store at the " }] }
  - { name: "page.", translations: [{ code: en, label: "page." }] }
  - { name: "Re-import payment methods", translations: [{ code: en, label: "Re-import payment methods" }] }
  - { name: "Import payment methods", translations: [{ code: en, label: "Import payment methods" }] }
  - { name: "Click the button below to re-import payment methods from X-Payments.", translations: [{ code: en, label: "Click the button below to re-import payment methods from X-Payments." }] }
  - { name: "To be able to use the payment methods defined in X-Payments you should import information about them from X-Payments. Click the button below and X-Payments will return a list of payment methods available for this shopping cart.", translations: [{ code: en, label: "To be able to use the payment methods defined in X-Payments, you should import information about them from X-Payments. Click the button below, and X-Payments will return a list of payment methods available for this shopping cart." }] }
  - { name: "Request payment methods", translations: [{ code: en, label: "Request payment methods" }] }
  - { name: "X-Payments returned the following payment methods for your shopping cart:", translations: [{ code: en, label: "X-Payments returned the following payment methods for your shopping cart:" }] }
  - { name: "X-Payments configuration ID", translations: [{ code: en, label: "X-Payments configuration ID" }] }
  - { name: "Replace payment methods", translations: [{ code: en, label: "Replace payment methods" }] }
  - { name: "Cancel import and keep current payment methods", translations: [{ code: en, label: "Cancel import and keep current payment methods" }] }
  - { name: "X-Cart automatically checks the connection to X-Payments after the settings are saved.<br/> If the module is configured properly, a \"Test transaction completed successfully\" message is displayed at the top of the page.", translations: [{ code: en, label: "X-Cart automatically checks the connection to X-Payments after the settings are saved.<br/> If the module is configured properly, a \"Test transaction completed successfully\" message is displayed at the top of the page." }] }
  - { name: "Once the connection is verified, you should proceed to the", translations: [{ code: en, label: "Once the connection is verified, you should proceed to the" }] }
  - { name: "section.", translations: [{ code: en, label: "section." }] }
  - { name: "Use X-Payments configuration bundle", translations: [{ code: en, label: "Use X-Payments configuration bundle" }] }
  - { name: "Copy the value of the Configuration field from X-Payments Online Store Details page, paste the string here and click Deploy. All the connection settings will be specified automatically.", translations: [{ code: en, label: "Copy the Configuration bundle from Online Store Details page in your X-Payments dashboard, paste it here and click <strong>Deploy</strong>. <br />Connection will be completed automatically." }] }
  - { name: "Or fill in the settings manually", translations: [{ code: en, label: "Or fill in the settings manually" }] }
  - { name: "Specify the URL of your X-Payments installation. Copy and paste Store ID, Public key, Private key and Private key password from X-Payments Online Store Details page.", translations: [{ code: en, label: "Specify the URL of your X-Payments installation. <br/>Copy and paste the <b>Store ID</b>, <b>Public key</b>, <b>Private key</b> and <b>Private key password</b> from X-Payments Online Store Details page." }] }
  - { name: "Used credit cards", translations: [{ code: en, label: "Used credit cards" }] }
  - { name: "Credit card", translations: [{ code: en, label: "Credit card" }] }
  - { name: "Update default card", translations: [{ code: en, label: "Update default card" }] }
  - { name: "Pay with previously used credit card", translations: [{ code: en, label: "Pay with previously used credit card" }] }
  - { name: "Show all saved credit cards", translations: [{ code: en, label: "Show all saved credit cards" }] }
  - { name: "I want to use this credit card for my future orders in this shop.", translations: [{ code: en, label: "I want to use this credit card for my future orders in this shop." }] }
  - { name: "Configuration has been successfully deployed", translations: [{ code: en, label: "Configuration has been successfully deployed" }] }
  - { name: "Your configuration string is not correct", translations: [{ code: en, label: "Your configuration string is not correct" }] }
  - { name: "Test transaction completed successfully", translations: [{ code: en, label: "Test transaction completed successfully" }] }
  - { name: "Test transaction failed. Please check the X-Payment Connector settings and try again. If all options is ok review your X-Payments settings and make sure you have properly defined shopping cart properties.", translations: [{ code: en, label: "Test transaction failed. Please check the X-Payments Connector settings and try again. If all the settings are ok, review your X-Payments settings and make sure you have properly defined your shopping cart properties." }] }
  - { name: "There are no payment configurations for this store.", translations: [{ code: en, label: "There are no payment configurations for this store." }] }
  - { name: "Error had occured during the requesting of payment methods from X-Payments. See log files for details.", translations: [{ code: en, label: "An error occured during the requesting of payment methods from X-Payments. See log files for details." }] }
  - { name: "X-Payments transaction", translations: [{ code: en, label: "X-Payments transaction" }] }
  - { name: "Save cards", translations: [{ code: en, label: "Save cards" }] }
  - { name: "1.1 (X-Payments 1.0.5 and earlier)", translations: [{ code: en, label: "1.1 (X-Payments 1.0.5 and earlier)" }] }
  - { name: "1.2 (X-Payments 2.0 and X-Payments 1.0.6)", translations: [{ code: en, label: "1.2 (X-Payments 2.0 and X-Payments 1.0.6)" }] }
  - { name: "Add new credit card", translations: [{ code: en, label: "Add new credit card" }] }
  - { name: "Saved credit cards", translations: [{ code: en, label: "Saved credit cards" }] }
  - { name: "Test transaction completed successfully for API version X", translations: [{ code: en, label: "Test transaction completed successfully for API version {{version}}" }] }
  - { name: Ok, translations: [{ code: en, label: Ok }] }
  - { name: 'Save credit card', translations: [{ code: en, label: 'Save credit card' }] }
  - { name: 'Back to credit cards', translations: [{ code: en, label: 'Back to credit cards' }] }
  - { name: Important!, translations: [{ code: en, label: Important! }] }
  - { name: 'We will authorize', translations: [{ code: en, label: 'We will authorize' }] }
  - { name: 'on your credit card in order to attach this credit card to your account. The amount will be released back to your card after a while.', translations: [{ code: en, label: 'on your credit card in order to attach this credit card to your account. The amount will be released back to your card after a while.' }] }
  - { name: 'The transaction will be marked as', translations: [{ code: en, label: 'The transaction will be marked as' }] }
  - { name: 'Transaction ID', translations: [{ code: en, label: 'Transaction ID' }] }
  - { name: 'Date, time', translations: [{ code: en, label: 'Date, time' }] }
  - { name: 'Result payment status', translations: [{ code: en, label: 'Result payment status' }] }
  - { name: 'Transaction result', translations: [{ code: en, label: 'Transaction result' }] }
  - { name: 'The related payment not found. Apparently it was deleted.', translations: [{ code: en, label: 'The related payment has not been found. Apparently, it was deleted.' }] }
  - { name: 'KOUNT Antifraud screening result', translations: [{ code: en, label: 'KOUNT Antifraud screening result' }] }
  - { name: Score, translations: [{ code: en, label: Score }] }
  - { name: 'Rules triggered', translations: [{ code: en, label: 'Rules triggered' }] }
  - { name: 'Authorize/charge the difference', translations: [{ code: en, label: 'Authorize/charge the difference' }] }
  - { name: 'View payment information', translations: [{ code: en, label: 'View payment information' }] }
  - { name: 'Go to payment details page', translations: [{ code: en, label: 'Go to payment details page' }] }
  - { name: 'Use one of the following cards to', translations: [{ code: en, label: 'Use one of the following cards to' }] }
  - { name: 'for this order', translations: [{ code: en, label: 'for this order' }] }
  - { name: 'Cards saved by the customer for the future orders in this shop. No real credit cards were saved, only special token on the side of the payment processor, that can be used in this store only.', translations: [{ code: en, label: 'Cards saved by the customer for future orders in this shop. No real credit cards were saved, only a special token on the side of the payment processor, which can be used in this store only.' }] }
  - { name: 'No active X-Payments payment methods, or saving credit cards is not activated.', translations: [{ code: en, label: 'No active X-Payments payment methods, or saving credit cards is not activated.' }] }
  - { name: 'Note: No payment methods here because the module is not configured. Please finalize settings at ', translations: [{ code: en, label: '<b>Note:</b> No payment methods here because the module is not configured. Please finalize the settings at ' }] }
  - { name: Connection, translations: [{ code: en, label: Connection }] }
  - { name: 'tab and get back here to configure methods.', translations: [{ code: en, label: 'tab and get back here to configure methods.' }] }
  - { name: 'Start FREE Trial', translations: [{ code: en, label: 'Start FREE Trial' }] }
  - { name: 'See how', translations: [{ code: en, label: 'See how' }] }
  - { name: 'Open your X-Payments dashboard', translations: [{ code: en, label: 'Open your X-Payments dashboard' }] }
  - { name: in, translations: [{ code: en, label: in }] }
  - { name: X-Payments, translations: [{ code: en, label: X-Payments }] }
  - { name: 'Configure your gateway', translations: [{ code: en, label: 'Configure your gateway' }] }
  - { name: Connect, translations: [{ code: en, label: Connect }] }
  - { name: with, translations: [{ code: en, label: with }] }
  - { name: X-Cart, translations: [{ code: en, label: X-Cart }] }
  - { name: 'Connect to X-Payments. Do 3 easy steps.', translations: [{ code: en, label: 'Connect to X-Payments. Complete 3 easy steps.' }] }
  - { name: 'Open X-Payments dashboard to configure', translations: [{ code: en, label: 'Open X-Payments dashboard to configure' }] }
  - { name: Connected!, translations: [{ code: en, label: Connected! }] }
  - { name: 'Conection with X-Payments is OK.', translations: [{ code: en, label: 'Conection with X-Payments is OK.' }] }
  - { name: 'Connection failed!', translations: [{ code: en, label: 'Connection failed!' }] }
  - { name: 'Check the settings.', translations: [{ code: en, label: 'Check the settings.' }] }
  - { name: 'Card saved', translations: [{ code: en, label: 'Card saved' }] }
  - { name: 'Card was not saved due to payment processor error', translations: [{ code: en, label: 'Card has not been saved due to a payment processor error' }] }
  - { name: 'Payment methods have been imported successfully', translations: [{ code: en, label: 'Payment methods have been imported successfully' }] }
  - { name: 'Do not use card setup', translations: [{ code: en, label: 'Do not use card setup' }] }
  - { name: 'Payment method for card setup', translations: [{ code: en, label: 'Payment method for card setup' }] }
  - { name: '1.3 (X-Payments 2.1)', translations: [{ code: en, label: '1.3 (X-Payments 2.1)' }] }
  - { name: 'Authorize amount for card setup', translations: [{ code: en, label: 'Authorize amount for card setup' }] }
  - { name: 'Description of the card setup payment', translations: [{ code: en, label: 'Description of the card setup payment' }] }
  - { name: 'Authorization period, days', translations: [{ code: en, label: 'Authorization period, days' }] }
  - { name: 'Charged amount', translations: [{ code: en, label: 'Charged amount' }] }
  - { name: 'Declined amount', translations: [{ code: en, label: 'Declined amount' }] }
  - { name: Difference, translations: [{ code: en, label: Difference }] }
  - { name: 'Payment information', translations: [{ code: en, label: 'Payment information' }] }
  - { name: 'Connection with X-Payments is OK.', translations: [{ code: en, label: 'Connection with X-Payments is OK.' }] }
  - { name: 'Order status mapping rules', translations: [{ code: en, label: 'Order status mapping rules' }] }
  - { name: 'Refer to on-line manual', translations: [{ code: en, label: 'Refer to on-line manual' }] }
  - { name: 'Save credit card setup', translations: [{ code: en, label: 'Save credit card setup' }] }
  - { name: 'Trying to use unaccepted template change.', translations: [{ code: en, label: 'Trying to use unaccepted template change.' }] }
  - { name: 'X-Payments Dashboard', translations: [{ code: en, label: 'X-Payments Dashboard' }] }
  - { name: 'X-Payments considers this transaction as potentially fraudlent.', translations: [{ code: en, label: 'X-Payments considers this transaction as potentially fraudlent.' }] }
  - { name: 'You should accept the changes at the', translations: [{ code: en, label: 'You should accept the changes at the' }] }
  - name: "Configuring of the payment methods presented possible in the X-Payments backoffice only. In case of any problems you need to review the X-Payments Connector module settings and if it's ok, review payment configurations settings on the X-Payments side."
    translations:
      - { code: en, label: 'Configuring of the payment methods presented possible in the <a href="{{xpadmin}}" target="_blank" >X-Payments backoffice</a> only. In case of any problems you need to review the X-Payments Connector module settings and if it&#39;s ok, review payment configurations settings on the X-Payments side.' }
