VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: jccork on March 20, 2017, 17:34:07 PM

Title: Realex not working with SSL [SOLVED]
Post by: jccork on March 20, 2017, 17:34:07 PM
We are using virtuemart (3.2.0) on our joomla (3.3.3) website, which is using Realex Hpp API plugin to process credit card payments.

Everything, including payment process was working without a probem.

We recently added SSL to the website. After this, everything seems to be working OK except the Realex Payment. We are using Realex hpp. Now at the checkout when it tries to go to the realex payment page (after hitting Confirm Payment button), the screen just appears blank.

Following are the screenshots on Google Chrome :
https://www.screencast.com/t/sdgjnKbeJC
https://www.screencast.com/t/kKKvQWIi
On Mozilla Firefox, there is an alert coming and when we press continue same thing happens over there too:
https://www.screencast.com/t/yniH6QuPUmxQ
https://www.screencast.com/t/ZSVavspAmymb

Any ideas what the problem might be?
Title: Re: Realex not working with SSL
Post by: jenkinhill on March 20, 2017, 18:25:16 PM
Check if the plugin is using http: to connect with Realex - if so then edit that link to use https:
Title: Re: Realex not working with SSL
Post by: GJC Web Design on March 21, 2017, 00:43:13 AM
Quotejoomla (3.3.3)
Really?   Read some Joomla news... 
Title: Re: Realex not working with SSL
Post by: jccork on March 21, 2017, 09:38:55 AM
Hi Jenkinhill,

Thanks for reply.

I checked and plugin is using https: to connect, so unfortunately that does not seem to be it.
Title: Re: Realex not working with SSL
Post by: jenkinhill on March 21, 2017, 11:55:29 AM
Just had a look at the plugin. Don't know if this is the issue.
admin\plugins\vmpayment\realex_hpp_api\realex_hpp_api\getrealex.php


$url = "http://www.realexpayments.com/partner-referral?id=virtuemart";
$logo = '<img src="http://www.realexpayments.com/images/logo_realex_large.png" width="150"/>';


Also some payment processors don't work with DV type SSL certificates such as Let's Encrypt if you are using one of these. I have never used Realex so am having to apply a bit of guesswork here.
Title: Re: Realex not working with SSL
Post by: jccork on March 22, 2017, 15:10:36 PM
Hi Jenkinhill,

Thanks for that - problem solved. Really appreciate your assistance!

JC