Prevent order details from showing on non-payment IDs

Resolves issue #1795