If all the items listed on your Payment Page go out of stock:
If the Price field is mandatory, when the items goes out-of-stock, the Payment Page becomes inactive. The customers will not be able to access this page to make payments.
If the Optional price fields go out-of-stock and there are other Mandatory Price fields which still have stock available, the Payment Page will remain in active state.