Title: problem accepting offer
Last modified: February 15, 2017

---

# problem accepting offer

 *  Resolved [sarbel](https://wordpress.org/support/users/sarbel/)
 * (@sarbel)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/problem-accepting-offer/)
 * hi
 * when clicking on “accept offer” I get error: the is a problem accepting your 
   offer. also same error on decline.
 * what could be the problem?
 * tnx
    simon

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

 *  Plugin Author [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * (@jkohlbach)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/problem-accepting-offer/#post-8810106)
 * Hi Simon,
 * Can you try removing your Accept Options and re-adding them? Also please ensure
   you are on the latest version of the plugin.
 * Sometimes this can also happen if you’re on a site where admin-ajax.php cannot
   be accessed. This is commonly due to having an Apache .htpasswd defined. Turn
   that off and the problem will go away.
 * Would be great if you could shoot me a screenshot too if the issue persists.
 * Let me know how you go!
 * Cheers,
    Josh
 *  Thread Starter [sarbel](https://wordpress.org/support/users/sarbel/)
 * (@sarbel)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/problem-accepting-offer/#post-8811754)
 * tried to remove accept option but that didnt help
 * how can I disable htpasswd in apache?
    im on godaddy shared hosting. will this
   affect other aspects of my website?
 * you can see the problem your self if you add 3 impression kits to the cart:
    
   [http://www.pink-perfect.com/product/impression-kit/](http://www.pink-perfect.com/product/impression-kit/)
    -  This reply was modified 9 years, 2 months ago by [sarbel](https://wordpress.org/support/users/sarbel/).
 *  Plugin Author [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * (@jkohlbach)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/problem-accepting-offer/#post-8814610)
 * Hi Simon,
 * I replicated the problem. Its nothing to do with htpasswd so please ignore that
   suggestion.
 * The actual problem is that it appears some URLs are reporting back as https, 
   eg. the admin-ajax.php is reporting back as the secured link. This means when
   the plugin goes to accept the offer it’s calling up the https version of the 
   site and it throws a security error (you can see this reported back in the javascript
   console).
 * I recommend you run https across your whole site and redirect any non-http visits
   to the secure URL. Running both on your site will only cause problems, choose
   either secured or non-secured. This might be something you need to get your host/
   web developer to help with.
 * Hope this helps!
 * PS. You also have a JS error in the console. It’s to do with a link in your header
   from the google analytics tracking code.
 * [https://snag.gy/wxWVDN.jpg](https://snag.gy/wxWVDN.jpg)
 * You probably need to update your google analytics plugin I’d say, they have a
   newer version. Likewise any extra tracking scripts (this looks like it might 
   be part of the ecommerce tracking?).
 * Cheers,
    Josh
 *  Thread Starter [sarbel](https://wordpress.org/support/users/sarbel/)
 * (@sarbel)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/problem-accepting-offer/#post-8821926)
 * hi
 * thanks for the suggestion but I prefer to have the site use only http (and https
   for checkout)
 * will look for other solution
 * S
 *  Thread Starter [sarbel](https://wordpress.org/support/users/sarbel/)
 * (@sarbel)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/problem-accepting-offer/#post-8852127)
 * hi josh
 * are you willing to accept a donation in exchange for supporting mixed http/https
   mode?
 * tnx
    simon
 *  Plugin Author [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * (@jkohlbach)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/problem-accepting-offer/#post-8859259)
 * Hi Simon,
 * The problem is actually not within Just-In-Time Sales Offers. WordPress itself
   is reporting a http URL for the generated admin-ajax.php URL which is where all
   the AJAX endpoint go through.
 * While it does work having just the cart and checkout on https, I believe WooCommerce
   themselves also recommends using HTTPS across the whole site.
 * There’s another way around it which would be to put the backend of the site on
   https as well. This would then force the admin-ajax.php URL to report back with
   a https version of the URL.
 * You can do this quite easily using a plugin like [WordPress HTTPS](https://wordpress.org/plugins/wordpress-https/).
   Hope this helps!
 * Cheers,
    Josh
 *  Thread Starter [sarbel](https://wordpress.org/support/users/sarbel/)
 * (@sarbel)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/problem-accepting-offer/#post-8864839)
 * strange
    im already using using this setting: define( ‘FORCE_SSL_ADMIN’, true);
   so my backend is loading on https
 * but still ….
 *  Plugin Author [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * (@jkohlbach)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/problem-accepting-offer/#post-8868680)
 * Hi Simon,
 * I just checked your site again, what happens is that the front end Cart page 
   is NOT loading on SSL, but the admin-ajax.php URL provided by WordPress IS loading
   on SSL.
 * So it’s a mixture of https/http as I mentioned but the opposite way around.
 * Can you load your /cart page on https?

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

The topic ‘problem accepting offer’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/just-in-time-sales-offers_4d5e56.
   svg)
 * [Just-In-Time Sales Offers](https://wordpress.org/plugins/just-in-time-sales-offers/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/just-in-time-sales-offers/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/just-in-time-sales-offers/)
 * [Active Topics](https://wordpress.org/support/plugin/just-in-time-sales-offers/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/just-in-time-sales-offers/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/just-in-time-sales-offers/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Josh Kohlbach](https://wordpress.org/support/users/jkohlbach/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/problem-accepting-offer/#post-8868680)
 * Status: resolved