Student or Learner
1) Am I right that here in conditional clause we use past perfect tense because the action that «I had got paid» is complete and occurred just before «could have travelled»?
If had gotten paid, we could have travelled together.
2) If I’m right then why sometimes we can see sentences where instead past perfect the simple past is used in conditional clause. Like in this sentence(it should be begun from «If I had had» instead «If I had»):
If I had millions dollars, I'd give a lot to charity.
This way I would appreciate for difference when we must use Past perfect and when Simple past when we construct conditional sentences.
I am not a teacher.