[step:Show that only finitely many divisor pairs occur up to units]
Because $R$ is a unique factorization domain and $C\ne 0$, choose a factorization
\begin{align*}
C=u p_1^{\alpha_1}\cdots p_m^{\alpha_m},
\end{align*}
where $m$ is a nonnegative integer, $u\in R^\times$, the elements $p_1,\dots,p_m\in R$ are irreducible and pairwise non-associate, and each exponent $\alpha_i$ is a positive integer.
Let $d\in R$ be a divisor of $C$. Then there exists $e\in R$ such that $de=C$. Choose factorizations of $d$ and $e$ into irreducibles. By uniqueness of factorization up to units and order, every irreducible factor occurring in either factorization must be associate to one of $p_1,\dots,p_m$, since their product is associate to $p_1^{\alpha_1}\cdots p_m^{\alpha_m}$. For each $i\in\{1,\dots,m\}$, let $\beta_i$ denote the exponent of the associate class of $p_i$ in $d$. Comparing exponents in the equality $de=C$ gives $0\le \beta_i\le \alpha_i$. Hence $d$ is associate to an element of the form
\begin{align*}
p_1^{\beta_1}\cdots p_m^{\beta_m},
\end{align*}
where $0\le \beta_i\le \alpha_i$ for each $i\in\{1,\dots,m\}$.
There are exactly
\begin{align*}
\prod_{i=1}^m(\alpha_i+1)
\end{align*}
possible exponent vectors $(\beta_1,\dots,\beta_m)$, so the divisors of $C$ have finitely many associate classes. Therefore the factor pairs $(a,b)$ with $ab=C$ have finitely many orbits under the unit action
\begin{align*}
u\cdot(a,b)=(ua,u^{-1}b),\qquad u\in R^\times.
\end{align*}
This action preserves the product because
\begin{align*}
(ua)(u^{-1}b)=ab=C.
\end{align*}
[/step]