It can’t.

Everyone regularly buys milk, vegetables, grocery, books, newspapers, magazines, food, etc. and regularly makes payments for them. The history of those payments has no bearing on their credit score. So payment history per se does not affect your credit score.

What can and does affect your credit score is your repayment history. Repayment implies paying back. When you take a loan, you’re contractually bound to repay the loan according to a certain repayment schedule. Note the repeated use of the prefix “re” to many words in the previous lines. That’s intentional and is meant to highlight the fact that Repayment is very different from Payment, accordingly Repayment History means something different from Payment History.

Your credit score can and is heavily affected by how well your actual repayments conform to the pre-agreed repayment schedule. Good conformance will be rewarded with a high credit score; poor conformance will be penalized by a low credit score.