get promocode by name (for order)