Title: PayPal Express Checkout Image &#8211; Not HTTPS
Last modified: August 22, 2016

---

# PayPal Express Checkout Image – Not HTTPS

 *  Resolved [matstone](https://wordpress.org/support/users/matstone/)
 * (@matstone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/)
 * Been working through removing and addressing all mixed content on my checkout
   page. The PayPal Express Checkout image on my checkout page is the last item 
   on my list.
    [http://i205.photobucket.com/albums/bb145/matstone7/Capture_zps5c70fe0e.png](http://i205.photobucket.com/albums/bb145/matstone7/Capture_zps5c70fe0e.png)
 * I get a Mixed Content Error
    `Mixed Content: The page at 'https://xxxx/checkout/'
   was loaded over HTTPS, but requested an insecure image 'http://xxxx/wp-content/
   plugins/paypal-for-woocommerce/assets/images/paypal.png'. This content should
   also be served over HTTPS.`
 * The button makes a call to http not https, Can you direct me to where and how
   to correct this please?
 * Thanks in advance
 * [https://wordpress.org/plugins/paypal-for-woocommerce/](https://wordpress.org/plugins/paypal-for-woocommerce/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/page/2/?output_format=md)

 *  Thread Starter [matstone](https://wordpress.org/support/users/matstone/)
 * (@matstone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632324)
 * for the record, I have tried switching to a custom image but still receive the
   error.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632418)
 * Looks like you must be working with Payments Pro, right? Are you working with
   DoDirectPayment or PayFlow?
 *  Thread Starter [matstone](https://wordpress.org/support/users/matstone/)
 * (@matstone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632449)
 * PayPal express checkout. I switched out default image next to text.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632622)
 * I’m sorry for the delay getting back to you.
 * Do you have any plugins, by chance, that are doing anything with SSL connections?
   Or anything in your .htaccess file, maybe..??
 * What your’e describing isn’t something I’ve had any other complaints about, and
   we are not using absolute http:// paths in that image code, so it’s odd that 
   this would be happening.
 * Please look into those possibilities and let me know.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632677)
 * I have not heard back from you on this, so I’m going to go ahead and close this
   ticket. If you have more questions or concerns, though, feel free to respond 
   and I’ll get back to you.
 *  [toneyo](https://wordpress.org/support/users/toneyo/)
 * (@toneyo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632682)
 * Hi,
 * I am also facing a similar problem. All other paypal related buttons/icons appear
   to be fine apart from the one within checkout payment options. I’ve no SSL related
   plugins.
 * Thanks
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632683)
 * I think I may see what’s going on here. When people first visit your site does
   it use http:// and then switch to https:// when they reach the checkout page?
 *  [toneyo](https://wordpress.org/support/users/toneyo/)
 * (@toneyo)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632684)
 * Thanks for the reply. Yes, that’s spot on. I have the settings in woocommerce
   checkout as:
 * (Ticked)Force secure checkout – Force SSL (HTTPS) on the checkout pages (an SSL
   Certificate is required).
 * (Unticked)Force HTTP when leaving the checkout
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632685)
 * I’ve got this issue set to be fixed in our next update, but if you want to fix
   it for now you can open up the file at /classes/wc-gateway-paypal-pro-payflow-
   angelleye.php and look at line 21. That is where the image is getting set for
   that. You could just set it to the path on your server directly and that would
   fix it for now. Then when our update is released it will be addressed there, 
   too, so you won’t have any problems when you update.
 * If you need help with that you can [place an order for premium support](http://www.angelleye.com/product/premium-support/)
   and we can do it for you. It may be a month or so before the next update is released.
 *  [jamierob](https://wordpress.org/support/users/jamierob/)
 * (@jamierob)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632708)
 * I’m facing this issue as well. Is there any word on when the next update will
   be released?
 * Thank you!
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632709)
 * This is resolved in the [dev branch on our GitHub repo](https://github.com/angelleye/paypal-woocommerce)
   already. If you want to [download it directly](https://github.com/angelleye/paypal-woocommerce/archive/dev.zip)
   and use it ahead of time it should work well for you.
 *  [mcarswell](https://wordpress.org/support/users/mcarswell/)
 * (@mcarswell)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632711)
 * Did this fix not make it into the 4/24 update? I’m on version 1.1.6.2 and have
   this problem with the Paypal Express image (not the ones at the top that are 
   served by Paypal, just the one at the bottom.)
 * Mixed Content: The page at ‘[https://xxx/checkout/&#8217](https://xxx/checkout/&#8217);
   was loaded over HTTPS, but requested an insecure image ‘[http://xxx/wp-content/plugins/paypal-for-woocommerce/assets/images/paypal-credit.png&#8217](http://xxx/wp-content/plugins/paypal-for-woocommerce/assets/images/paypal-credit.png&#8217);.
   This content should also be served over HTTPS.
 *  Plugin Contributor [angelleye](https://wordpress.org/support/users/angelleye/)
 * (@angelleye)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632712)
 * It will be included in our 1.1.6.3 update, but we’ve been a little bit delayed
   getting that update pushed because of some bugs we’ve found in our development
   branch on GitHub. We’re weeding those out and then we’ll get it released ASAP.
 *  [dmaeuk](https://wordpress.org/support/users/dmaeuk/)
 * (@dmaeuk)
 * [11 years ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632713)
 * Is there any chance you can simply paste the code?
 * `$image_path = WP_PLUGIN_URL . "/" . plugin_basename( dirname( dirname( __FILE__))).'/
   assets/images/paypal.png';`
 * I need this to read https not just http, how can this be achieved?
 *  [dmaeuk](https://wordpress.org/support/users/dmaeuk/)
 * (@dmaeuk)
 * [11 years ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/#post-5632714)
 * I worked this out
 * replaced
 * `$image_path = WP_PLUGIN_URL . "/" . plugin_basename( dirname( dirname( __FILE__))).'/
   assets/images/paypal.png';`
 * with
 * `$image_path = plugins_url('', __FILE__) . '/images/paypal.png';`
 * moved the images folder which is in /assets/images into /classes
 * Works fine!

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/page/2/?output_format=md)

The topic ‘PayPal Express Checkout Image – Not HTTPS’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paypal-for-woocommerce_dce4f5.svg)
 * [PayPal for WooCommerce](https://wordpress.org/plugins/paypal-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paypal-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paypal-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/paypal-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paypal-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paypal-for-woocommerce/reviews/)

 * 16 replies
 * 6 participants
 * Last reply from: [angelleye](https://wordpress.org/support/users/angelleye/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/paypal-express-checkout-image-not-https/page/2/#post-5632715)
 * Status: resolved