Doc status will not change to Paid unless payment is successful
If a payment to the gateway is unsuccessful the document status will not change to Paid.
AdminRaena Aniban (Admin, PandaDoc) commented
Currently when a payer added the card details, the document status changed from waiting for payment into paid. I hope it will stay in waiting in payment unless the payment was successful and a confirmation has been received. A two-way sync between PandaDoc and the payment gateway in this case.