Add configuration to log payment status changes from DocData.

BB-282 #resolve
Don't create a docdata payment order in update_payment_status().
Don't use spaces in merchant_order_reference.