Correct payment state check in order/payment_spec