Title: Bug with WorldPay when using SSL/HTTPS
Last modified: January 31, 2017

---

# Bug with WorldPay when using SSL/HTTPS

 *  Resolved [evasion81](https://wordpress.org/support/users/evasion81/)
 * (@evasion81)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/bug-with-worldpay-when-using-sslhttps/)
 * Our site is using HTTPS and forces all traffic that is HTTP to become HTTPS. 
   We were experiencing an issue where completed WorldPay orders where not being
   updated in teh Jigoshop orders page and after investigation could see that it
   was providing the incorrect callback:
 * <input type="hidden" name="MC_callback" value="http://www.example.com?js-api=
   JS_Gateway_WorldPay" />
 * Even though everything in the settings is set up as [https://](https://wordpress.org/support/topic/bug-with-worldpay-when-using-sslhttps/?output_format=md).
   The fix for this is to update the file `/public_html/wp-content/plugins/jigoshop/
   gateways/worldpay.php` to change line 110 from:
 * `$this->notify_url = jigoshop_request_api::query_request('?js-api=JS_Gateway_WorldPay',
   false);`
 * to
 * `$this->notify_url = jigoshop_request_api::query_request('?js-api=JS_Gateway_WorldPay',
   is_ssl());`
 * This sets the callback to check if the site uses https or not.
 * Thanks,
    -  This topic was modified 9 years, 2 months ago by [evasion81](https://wordpress.org/support/users/evasion81/).

The topic ‘Bug with WorldPay when using SSL/HTTPS’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [evasion81](https://wordpress.org/support/users/evasion81/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/bug-with-worldpay-when-using-sslhttps/)
 * Status: resolved