Welcome, Guest

Iframe http VS Iframe https
(1 viewing) (1) Guest
Welcome to the Pesapal integration forum!

This forum discusses everything about Pesapal integration on your web site. Having any problems? This is the right place to post a question and we are sure you will get an answer
  • Page:
  • 1

TOPIC: Iframe http VS Iframe https

Iframe http VS Iframe https 10 months, 2 weeks ago #2308

I have been successful to run my sample code on localhost and it worked fine.
I tried using my code online on my server which has a htttps connection and the iframe is not displaying.
On further research i discovered that pesapal iframe source is using http instead of https .

Here is a sample code from the iframe which is http

$post_xml = "<?xml version=\"1.0\" encoding=\"utf-8\"?><PesapalDirectOrderInfo >";

Even after changing it to https the result is the same on my online https server. Even upon inspecting with chrome tools it shows the iframe in my pesapal-iframe.php is still http and not https . Please help me with this problem so that the iframe can display and i can enable transaction.

Re: Iframe http VS Iframe https 10 months, 1 week ago #2312

I changed the iframe link to https and it worked . This link is found in the pesapal-iframe.php .

$iframelink = '';//change to
// when you are ready to go live!

changed it to

$iframelink = '';//change to
// when you are ready to go live!
  • Page:
  • 1