Skip to main content
PrestaShop

PrestaShop Plugin

Integrate Two's B2B payment solution into your PrestaShop store, allowing business customers to pay on invoice with flexible payment terms.


Prerequisites​

Before you begin, ensure you have:

  • PrestaShop 1.7.x or 8.x installed
  • Admin access to your PrestaShop store
  • Your Two API credentials
  • The twopayment.zip plugin file from Two
Get Your API Keys
  1. Sign up at portal.two.inc
  2. You'll receive an email with your test API keys
  3. Once ready for production, you'll receive your live API keys

Installation​

  1. Log in to your PrestaShop admin panel
  2. Navigate to Modules → Module Manager
  3. Click Upload a Module or Install a Module
  4. Select the twopayment.zip file
  5. Wait for the installation to complete

PrestaShop installation

info

Contact [email protected] to obtain the twopayment.zip plugin file.


Configuration​

After installation, configure the module in three sections:

General Settings​

FieldDefaultRequiredDescription
TitleBusiness Invoice 30 daysYesPayment method name shown at checkout
SubtitleReceive the invoice via EHF and PDFYesDescription shown at checkout
API Key–YesYour Two API key
Logo–NoUpload your merchant logo
Product TypeFunded InvoiceYesSelect Funded Invoice, Merchant Invoice, or Administered Invoice
Invoice Days14YesPayment term in days

General settings

Other Settings​

FieldDefaultDescription
Payment ModeStagingSelect Production, Staging, or Development
Company name auto-completeYesEnable search API for company names
Organisation ID auto-completeYesEnable search API for organisation numbers
Finalize on shippedYesPass shipped status to Two automatically
Pre-approve buyerYesCheck buyer eligibility during checkout
Initiate refund paymentYesAutomatically initiate payment to buyer on refund

Other settings

Order Status Settings​

Map Two order states to your PrestaShop order statuses:

Two StateDefault PrestaShop Status
UnverifiedAwaiting Two payment
VerifiedProcessing in progress
ShippedShipped
DeliveredDelivered
CancelledCancelled
RefundedRefunded

Order status settings


Verification​

Frontend (Customer View)​

After configuration, customers will see Two as a payment option at checkout.

Frontend checkout

Upon successful order placement, the order confirmation page displays Two payment information.

Customer order confirmation

Backend (Admin View)​

Store administrators can view all Two payment information on the order details page in the admin panel.

Merchant order details

tip

Test your integration using staging credentials before going live to ensure everything works correctly.


Need Help?​

If you have questions or need assistance, please contact our support team.