Knowledge Base / API
עברית

Ask AI

✦ AI answer

Thinking…

Sources

    Magento 2 Cardcom Plugin

    Installation, configuration, supported features, refunds, order statuses, troubleshooting, and firewall requirements for the Magento 2 Cardcom plugin.

    Installation:

    1) Extract the files to the app\code\SR\Cardcom directory.

    (Create the path if necessary—that is, create the folders in the hierarchy shown above.)

    blobid12.png

    2) Run the following commands in order (run the commands through the TERMINAL on the hosting server, from Magento's bin directory):

    php bin/magento setup:upgrade
    php magento setup:static-content:deploy –f

     

    3) Verify that Cardcom appears in the list of modules:     php magento module:status

     

    blobid13.png

    4)    If the module appears under the list of disabled modules (List of disabled modules:),
    run:     magento module:enable SR_Cardcom

    5)    Verify that the module appears in the administration interface.

    Settings and Operations:

    Store->Configuration->Sales->Payment Methods->CardCom

     

    No. Setting Example values Description
    1  Enable Yes \ No Whether the module is active
    2  Title  Credit Card Charge  The title displayed when selecting a payment method
    3  Operation  Billing
    Billing+Create a Token
    Suspended deal
     The operation to perform:
    Billing
    Billing and token creation
    Creating a suspended transaction
    4  API Username barak9611 API username
    5 API Password ************* API password 
    6  Terminal Number For regular charge 1000 Terminal used for regular charges 
    7  Terminal Number For token and refunding 1001  Terminal used for recurring token-based charges and refunds—a terminal that does not require CVV
    8  Enable Automatic Invoice Creation Yes \ No  Whether to create an invoice/receipt after the transaction (the Cardcom Documents module is required) 
    9  Debug Yes \ No  Whether to enable debug logging
    10  Sort Order 2  The order in which payment options appear after the shopping cart

     

    Example:

    blobid8.png

    Supported Features:

    1)    Multiple languages
    2)    Multiple currencies
    3)    Currently supports IFRAME only
    4)    Refunds

    Refunds
    The module supports refunding the customer for a partial or full transaction amount.

    Requirements:
    1)    The customer has a tokenization module
    2)    Operation: Billing+Create a Token

    Steps:
    1)    Locate the order to refund (Sales->Orders)
    2)    Open the invoice within the order
    3) blobid15.png

    4)    In the invoice, select the Credit Memo option.

    blobid16.png

    5)    At the bottom of the screen, REFUND / REFUND OFFLINE will appear.

    blobid17.png

     

    6)    To issue a partial refund, see the article.
    7)    When finished, click REFUND.
    8)    Verify that a credit invoice is generated in the Cardcom system.

     

    The order status after clicking the payment button when using Suspend deal is pending.

    For a regular transaction = When clicking to proceed to the secure payment page, an order is created with the status Pending Payment -> After entering the credit card details on the page and clicking the payment button, the order status changes to Processing -> An email is sent to the customer.
    For a suspended transaction = When clicking to proceed to the secure payment page, an order is created with the status Pending Payment -> After entering the credit card details on the page and clicking the payment button, the order status changes to Pending -> An email is sent to the customer.

     

    In Case of a Problem with Reporting or Order Completion on the Site

    You must allow all of the following address ranges through the company's firewall (including Cloudflare, if applicable).

    - 82.80.227.17/255.255.255.248 (CIDR 29) >> Subnet calculator

    - 82.80.222.124/255.255.255.248 (CIDR 29) >> Subnet calculator

    magento2-cardcom-1.5.1 - support for completing an order in Magento 2 when payment is made using the built-in PayPal button.

    Attachments

    Was this article helpful?