Invoice Payment
Standard invoice payment plugin that allows orders to be confirmed immediately with payment processed separately through your invoicing system.
Included in Base Preset
This plugin is part of the base preset and loaded automatically. Using the base preset is strongly recommended, so explicit installation is usually not required.
Installation
import '@unchainedshop/plugins/payment/invoice';
Setup
mutation CreateInvoiceProvider {
createPaymentProvider(
paymentProvider: {
type: INVOICE
adapterKey: "shop.unchained.invoice"
}
) {
_id
}
}
Features
- Pay Later Allowed: Orders can be confirmed before payment is received
- Immediate Order Confirmation: Orders are processed immediately upon checkout
- External Payment Processing: Payment is handled through your separate invoicing system
- No Payment Validation: No upfront payment verification required
Use Cases
- B2B Sales: Business customers with established credit terms
- Traditional Invoicing: Standard invoice-then-pay workflow
- Credit Customers: Customers with approved payment terms
- Wholesale Orders: Large orders with net payment terms
Payment Flow
- Create Order: Customer places order normally
- Checkout: Order is confirmed immediately
- Invoice Generation: Generate invoice through your external system
- Payment Processing: Handle payment through your invoicing workflow
- Order Fulfillment: Process and ship order
Integration Notes
- Orders are confirmed immediately upon checkout
- No payment processing happens in Unchained
- Integration with external invoicing systems required
- Suitable for established business relationships
Adapter Details
| Property | Value |
|---|---|
| Key | shop.unchained.invoice |
| Type | INVOICE |
| Source | payment/invoice.ts |
Related
- Invoice Prepaid - Prepayment required
- Plugins Overview - All available plugins
- Payment Integration Guide - Payment setup guide