Pro Sites SSL issue: Https link generated on successful checkout with Stripe

I think this question is primarily for @Aaron, but I'm open anyone who may know of a solution.

This seems to be similar to the issue in these two threads:

I think I'm still having the same error that was fixed in 3.0.7 according to @Aaron

As far as what was fixed is the visit your site link after checking out was https which as you know throws an error if your cert is not wildcard. That was fixed in 3.0.7.


Because the issue was fixed in 3.0.7, I tried a number of things on my end including creating a custom page template with no additional links, yet the auto-generated "Visit your newly upgraded site »" is still output as https.

This is strange because in gateway-stripe.php on line 685 I can clearly see that http is specified:

$content .= '<p><a href="' . get_admin_url($blog_id, '', 'http') . '">' . __('Visit your newly upgraded site &raquo;', 'psts') . '</a></p>';

Maybe core is overwriting this function?

My details:
Browser: Chrome
SSL: Installed
Pro Sites version: Latest (3.4)
Gateway: Stripe
Replicate: Yes, consistently.

Further, I've also seen these replies by @Aaron that may be related:

As far as making other links https, that's how WP works, if you are viewing any page in HTTPS then all WP generated links will be HTTPS too.


Note it's not the plugins that change links to https. That's core wp behavior when the current page is ssl.


So, I'm not sure if this issue was fixed, but now returned or if this is a separate issue related to core behavior (despite specifying http in gateway-stripe.php).

Is there any way around this? If there isn't, would it make sense to just print the URL as plain text (or provide an option) to copy/paste instead automatically outputting a https link? Am I making a mistake and missing something simple?

Any ideas?