Update paypal.js

Changed protocol substitution, because it miss the ":" a the end of protocol.
It could cause https becomes httpss
Issue #PSCFV-12505