Invoice Payment
Pay-later invoice payment: isPayLaterAllowed is true, so orders are confirmed immediately at checkout and payment is handled out of band through your invoicing system. No payment processing happens in Unchained.
Installation
Included in the base and all presets — registered automatically by registerBasePlugins() / registerAllPlugins().
To register it individually:
import { pluginRegistry } from '@unchainedshop/core';
import { InvoicePlugin } from '@unchainedshop/plugins/payment/invoice';
pluginRegistry.register(InvoicePlugin);
Create Provider
mutation CreateInvoiceProvider {
createPaymentProvider(
paymentProvider: {
type: INVOICE
adapterKey: "shop.unchained.invoice"
}
) {
_id
}
}
Adapter Details
| Property | Value |
|---|---|
| Key | shop.unchained.invoice |
| Type | INVOICE |
| Version | 1.0.0 |
| Source | payment/invoice/ |
Related
- Invoice Prepaid - Prepayment required before order confirmation