WP Invoicing Docs

Core Shortcodes

Checkout Page

Shortcode: [wpinv_checkout]

This shortcode is used to show the checkout page, you must also set the page under WPI > Settings > General > Page Settings > Checkout Page.

Parameters:

Example:

[wpinv_checkout]

Invoice History

Shortcode: [wpinv_history]

This shortcode is used to show the invoice history page, you must also set the page under WPI > Settings > General > Page Settings > Invoice History Page.

Parameters:

Example:

[wpinv_history]

Success Page

Shortcode: [wpinv_receipt]

This is the page buyers are sent to after completing their payments, you must also set the page under WPI > Settings > General > Page Settings > Success Page.

Parameters:

Example:

[wpinv_receipt]

Buy button

Shortcode: [wpinv_buy]

Parameters:

Example:

[wpinv_buy items=123]
[wpinv_buy items=123 label="Buy Me"]
[wpinv_buy items="123|2"]
[wpinv_buy items="123|2" label="Buy Me"]