Some quick improvements to the orders.php file to get better consistency with the Foxy admin
Update the "Transaction Status" filter to "Display Status" and refer to Visible and Hidden rather than Unfilled and Filled
Add a filter for display_id_filter labelled as Display ID, duplicating the existing Order ID filter.
Update action and bulk action labels to refer to Hide Transaction rather than Archive
There's also a separate issue where some hosted gateway transactions are not showing (such as Stripe, which is technically a hosted gateway now). This is due to the legacy API filtering to only approved transactions and Stripe getting a transaction status of captured. This can be fixed by adding an additional API filter for "status_filter" => "all" to the two calls for transaction_list on the page.
Some quick improvements to the
orders.php
file to get better consistency with the Foxy adminVisible
andHidden
rather thanUnfilled
andFilled
display_id_filter
labelled asDisplay ID
, duplicating the existing Order ID filter.Hide Transaction
rather thanArchive
There's also a separate issue where some hosted gateway transactions are not showing (such as Stripe, which is technically a hosted gateway now). This is due to the legacy API filtering to only
approved
transactions and Stripe getting a transaction status ofcaptured
. This can be fixed by adding an additional API filter for"status_filter" => "all"
to the two calls fortransaction_list
on the page.These changes are in the following file (except for the changes to the archive labelling): https://pastebin.com/raw/rR2Lc0V1