Adding Products with PIN Codes

Adding a product with PIN codes is similar to adding an ordinary product described in Adding Products. The only difference is that you must also generate PIN codes for the product using the PIN Codes tab on the Product details page in the store back end.

To add a PIN code to a product:

  1. Create, import or clone a product as described in Adding Products.
  2. On the Info tab of the Product details page, locate the Shipping section and disable shipping for the product. shipping.png
  3. On the Product details page, locate the PIN Codes tab and enable PIN codes for the product. pin_tab-2.png
  4. Once enabled, you can add PIN codes to the product:
    • AUTOMATICALLY automatically.png If you choose automatic PIN codes generation, X-Cart will automatically generate a 16-digit numeric code that will be sent to the customer after the order is paid for.
    • MANUALLY manual.png If you choose manual PIN codes generation, you will have two options:
      • Add codes manually
        • Click the ‘Add pin codes’ button
        • Type the PIN codes you need in a pop-up add-pin.png
        • Click ‘Add pin codes’
      • Import codes via CSV
        • Click the ‘Import from CSV file’ button
        • Choose the file to import in a pop-up csv.png
        • Click ‘Upload’

        Manual PIN codes are limited to 64-digit alphanumeric code

  5. Save the changes.

Afterwards you will be able to trace used PINs and delete unused ones (for manually-generated PINs only) if required:


Processing Orders

Your store customers can pay for products with PIN codes using any of the available payment options, including both online and offline methods.

If the Approve before providing access option is enabled, a PIN code does not become available to the customer right after the order is placed. Such orders get the Waiting for approve fulfilment status.


A PIN code becomes available after a store administrator changes the order fulfilment status to any other status - except for Will not deliver - provided that the order has been paid for (the payment status is paid). If the administrator changes the order fulfilment status to Will not deliver, the customer will not get the PIN code. More info on X-Cart order statuses is available in the section Understanding X-Cart Order Statuses.

Once an order is processed, a store admin can check the PINs sold via the PIN codes tab of the Order details page:


Due to the specificity of how digital products are delivered, the addon PIN Codes enables you to have more control of how orders with PIN codes are processed:

  • you can disable all online payment methods, which mostly work for automatic order processing;
  • you can choose to enable only those payment methods that require manual processing;
  • you can choose the payments that allow using the “auth only” mode.

The “auth only” option means that a payment gateway does not really withdraw the order total from a customer’s credit card, but it only checks whether the sum is available and temporarily freezes this money until a later time, which is limited by the terms and conditions of the payment gateway. The store administrator can then either capture the authorized amount or void it. As soon as the reserved money is captured, the order gets processed and a download link becomes available in X-Cart customer account.

Processing orders that contain products with PIN codes using payments with “auth only” mode as well as using other methods that require manual order processing allows you to filter suspicious and potentially fraudulent orders and approve only trustworthy purchases.

If you are using the addon PIN Codes along with X-Payments subscriptions, a customer will get an updated PIN code for the product each time a subscription fee is paid.