Error: Undefined array key "delivery-preference"