Installation

  • Log in to your (PrestaShop) store in admin panel.
  • Go to Modules → Module Manager.
  • Click on the Upload Module Or Install a Module.
  • Select twopayment.zip file you have downloaded on our shop.
  • A new module has been installed.
Screenshot of Two module installed in PrestaShop

Configuration

  • After you have successfully installed the Two Payment module, it is time to configure it.
  • Configuration is split into three parts (general settings, other settings and order status settings) outlined below.

General Settings

Screenshot of PrestaShop General Settings
FieldDefault valueInput TypeRequiredDescription
TitleBusiness Invoice 30 daysTextYesEnter a title which will appear on the checkout page as payment method title.
SubtitleReceive the invoice via EHF and PDFTextYesEnter a subtitle which will appear on checkout page as payment method sub title.
API KeyNULLTextYesEnter your API KEY provided by the Two team.
LogoNULLFile UploadNoUpload your merchant logo.
Choose your productFunded InvoiceSelect BoxYesChoose your product funded invoice, merchant invoice and administered invoice depend on Two account.
Number of days on invoice14NumberYesEnter a number of days on invoice.

Other Settings

  • Once you have successfully configured General Settings proceed to Other Settings, which should look something like this (fields explained in the table below).
Screenshot of PrestaShop Other Settings
FieldDefault valueInput typeRequiredDescription
Payment ModeStagingSelect BoxYesChoose your payment mode production, staging and development.
Activate company name auto-completeYesSwitch ButtonYesIf you choose YES then customers use search api to find their company names.
Activate company org.id auto-completeYesSwitch ButtonYesIf you choose YES then customers use search api to find their company id (number) automatically.
Finalize purchase when order is shippedYesSwitch ButtonYesIf you choose YES then order status of shipped to be passed to Two.
Pre-approve the buyer during checkout and disable Two if the buyer is declinedYesSwitch ButtonYesIf you choose YES then pre-approve the buyer during checkout and disable Two if the buyer is declined.
Initiate payment to buyer on refundYesSwitch ButtonYesIf you choose YES then allow to initiate payment buyer on refund.

Order Status Settings

  • Once you have successfully configured Other Settings, proceed to Order Status Settings.
  • The fields are explained in the table below.
Screenshot of PrestaShop Order Status Settings
FieldDefault valueInput typeRequiredDescription
Order status when order is unverifyAwaiting Two paymentSelect BoxYesChoose PrestaShop Order Status in list.
Order status when order is verifyProcessing in progressSelect BoxYesChoose PrestaShop Order Status in list.
Choose prestashop order status in listShippedSelect BoxYesChoose PrestaShop Order Status in list.
Order status when order is deliveredDeliveredSelect BoxYesChoose PrestaShop Order Status in list.
Order status when order is canceledCancelledSelect BoxYesChoose PrestaShop Order Status in list.
Order status when order is refundedRefundedSelect BoxYesChoose PrestaShop Order Status in list.

Desired Results

Work Process in Frontend

  • If you have successfully configured all backend forms you should see Two payment on the checkout page.
Screenshot of PrestaShop Checkout with Two plugin


  • After successfully placing an order in the store, the customer then sees the Two payment information on the order confirmation page.
Screenshot of Two customer order confirmation

Work Process in Backend

  • The store owner sees all Two payment information on the admin order details page.
Screenshot of Two merchant order confirmation