fix and update integration test

fix to account for payment_type_id
update to test for order error email