Pseudo code/steps for CC payment