Add filters to allow orders with custom statuses to be paid/cancelled
Merge pull request #2618 from maxrice/custom-order-status-pay-page

Allow orders with custom statuses to use the pay page
Readme for #2618
Move to later hook #2625
Santize custom attributes. #2587