Title: [Plugin: WP Stripe] httpss://
Last modified: August 20, 2016

---

# [Plugin: WP Stripe] httpss://

 *  Resolved [xhenxhe](https://wordpress.org/support/users/xhenxhe/)
 * (@xhenxhe)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-stripe-httpss/)
 * When the setting for “Enable SSL for modal popup” is on, if the page being viewed
   is already https, the modal iframe doesn’t appear because it tries to access 
   it via httpss (extra s). I think this bug should be easily resolved.
 * Thanks!
 * [http://wordpress.org/extend/plugins/wp-stripe/](http://wordpress.org/extend/plugins/wp-stripe/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Noel Tock](https://wordpress.org/support/users/noel_tock/)
 * (@noel_tock)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-stripe-httpss/#post-2968384)
 * Extra s, hmm weird 🙂 Will look, thanks for letting me know!
 *  Plugin Author [Noel Tock](https://wordpress.org/support/users/noel_tock/)
 * (@noel_tock)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-stripe-httpss/#post-2968407)
 * Alrighty, I’m guessing you already have another plugin for this, my code is as
   follows:
 *     ```
       if ( $options['stripe_modal_ssl'] == 'Yes' ) {
               $path = str_replace("http", "https", $path, $count);
           }
       ```
   
 * What that’s telling me is that the link already is https:// , so just disable
   the option.
 *  Thread Starter [xhenxhe](https://wordpress.org/support/users/xhenxhe/)
 * (@xhenxhe)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-stripe-httpss/#post-2968441)
 * Yeah, I fixed it by disabling the option, just thought it would be best to check
   first to avoid confusing. What if on some blogs the https is not required and
   a user could may or may not be using https?
 * Perhaps you could change the code to:
 *     ```
       if ( $options['stripe_modal_ssl'] == 'Yes' && substr($path, 0, 5) != 'https' ) {
               $path = str_replace("http", "https", $path, $count);
           }
       ```
   
 *  Plugin Author [Noel Tock](https://wordpress.org/support/users/noel_tock/)
 * (@noel_tock)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-stripe-httpss/#post-2968486)
 * Sure, but that’s sending the wrong impression too (i.e. that the user thinks 
   he has and needs SSL enabled on the wp-stripe when they don’t, because another
   plugin already handles what not).
 *  Thread Starter [xhenxhe](https://wordpress.org/support/users/xhenxhe/)
 * (@xhenxhe)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-stripe-httpss/#post-2968505)
 * Doesn’t sent the wrong message. Works as designed (add https if options is selected)
   but fixes the bug so it doesn’t change the the url to httpss – making it unusable.
 *  Plugin Author [Noel Tock](https://wordpress.org/support/users/noel_tock/)
 * (@noel_tock)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-stripe-httpss/#post-2968563)
 * We can agree to disagree, I feel I just need to add it to the description 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: WP Stripe] httpss://’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-stripe_ececec.svg)
 * [WP Stripe](https://wordpress.org/plugins/wp-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-stripe/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)

 * 6 replies
 * 2 participants
 * Last reply from: [Noel Tock](https://wordpress.org/support/users/noel_tock/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-stripe-httpss/#post-2968563)
 * Status: resolved