Support

Home Forums Event Espresso Premium Payment Method Button Image – HTTPS

Payment Method Button Image – HTTPS

Posted: March 14, 2018 at 11:57 pm

Viewing 1 reply thread


Giant Dwarf

March 14, 2018 at 11:57 pm

Following up one of our previous support requests, we’re having an issue where the ‘Button URL’ on the stripe payment method always reverts to ‘http’ rather than ‘https’ when we save the payment method. That causes one of the checkout pages to display ‘not secure’ in Chrome, which in turn has customers contacting us complaining about the insecure form.

I’ve tried hosting the image at a different URL as previously suggested but that doesn’t seem to stop EE automatically replacing the string. I’m accessing the site via HTTPS when saving too, and the server has a certificate for the domain.

Is there a way to just disable the http/https verification on images?


Tony

  • Support Staff

March 15, 2018 at 5:39 am

Hi there,

When you save the payment method settings, EE sends a request using the URL you have set and just confirms that it gets a valid response. So if EE is reverting back to the HTTP URL its not getting a valid response from your HTTPS URL’s.

The URL loads fine in the browser but it seems something on the server doesn’t like the request made to validate the URL and you can’t easily disable the validation on the page.

So what we can do is log the request EE is sending and see what response your server is returning to see if that gives us any clues as to why the validation is failing.

To do that you can use the Core Control plugin.

Activate that plugin on the site and go to Tools -> Core Control.

It should look like this – http://take.ms/d9Yol

Now click the checkbox next to ‘HTTP Access Logger Module 1.1’ and click ‘Save modules’. At the top of the page a ‘External HTTP Access Logger’ link will appear, click that – http://take.ms/y2HOT

Now, in another browser tab go to Event Espresso -> Payment methods, it doesn’t matter which payment method but lets use Stripe as that the one your having a problem with currently. (Don’t click anything yet, just load the payment method settings page).

Back in the Core control tab, enable HTTP logging (its disabled by default) – http://take.ms/UmHyx

Switch back to the Payment method settings, set the URL to use HTTPS and save.

You should see multiple log entries in core control from EE testing the payment method images – http://take.ms/16gHU (You’ll need to refresh the page)

Once you have those, disable logging again as it can fill up pretty quickly if you have users hitting the site, which is a problem is just easier to view the specific logs you need.

So once you’ve done the above, you should see a http request for your stripe payment method button URL, what ‘Status’ number does it show?

Viewing 1 reply thread

The support post ‘Payment Method Button Image – HTTPS’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso