Skip to main content

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​

PropertyValue
Keyshop.unchained.invoice
TypeINVOICE
Version1.0.0
Sourcepayment/invoice/