The Membership Order page shows either a single order or a list of all orders for the current user.
Table of contents
Membership Order Settings
The page must contain either the membership orders block or pmpro_invoice shortcode. Either method will display the correct information for this page.
If a single order code is passed in the URL using the ?invoice=CODEHERE
attribute, the page will show details for that specific payment, including the account information, amount paid, payment method, and billing address (if applicable).
If there is no code passed in the URL, the page will show a table view of all orders for the current user.
Redirect Logic
When a site visitor tries to access the Membership Order page, they are redirected to the Log In page. This logic apples to both the single order view or when viewing all orders. After log in, all users will be redirected back to the requested Membership Order (all view or single view) page.
If the user does not have an active membership level or if they have a level and attempt to view an order that is not theirs, they will be redirected to the Membership Account page.
Note that users with the pmpro_orders
capability (automatically given to the administrator and Membership Manager roles) can view fronted orders for any user on the site.