Author Topic: Realex not working with SSL [SOLVED]  (Read 349 times)

jccork

  • Beginner
  • *
  • Posts: 3
  • A beginner
Realex not working with SSL [SOLVED]
« 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?

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26083
  • Always on vacation
    • Jenkin Hill Internet
Re: Realex not working with SSL
« Reply #1 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:
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.3.9614 on Joomla 3.7.4 PHP 7.0.22

Testing VM3.2.3.9614 on J!3.7.4

GJC Web Design

  • 3rd party VirtueMart Developer
  • Hero Member
  • *
  • Posts: 7485
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 2.6.22 & 3.2.2
Re: Realex not working with SSL
« Reply #2 on: March 21, 2017, 00:43:13 am »
Quote
joomla (3.3.3)
  Really?   Read some Joomla news... 
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jccork

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: Realex not working with SSL
« Reply #3 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.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26083
  • Always on vacation
    • Jenkin Hill Internet
Re: Realex not working with SSL
« Reply #4 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

Code: [Select]
$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.
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.3.9614 on Joomla 3.7.4 PHP 7.0.22

Testing VM3.2.3.9614 on J!3.7.4

jccork

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: Realex not working with SSL
« Reply #5 on: March 22, 2017, 15:10:36 pm »
Hi Jenkinhill,

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

JC