The online confirmation portal is by invitation only. Some applicants on the brink of approval get an invitation email followed by the credentials. If you get the CoPR directly (or get a phone call for 'landing'), you're stuck with the old way of mailing the photos and hoping for the best.have you heard about the new portal?
https://www.canada.ca/en/immigration-refugees-citizenship/services/immigrate-canada/pr-confirmation-portal.html
I think the old way took too long, around 4.5 months
From what I observe on this forum, those who get invited are the lucky ones. Even a reasonably professional self-taken picture can be accepted. Card gets mailed out within days. Not sure why they aren't actively pushing people to use this system.