Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

Iframe and SSL
(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 and SSL

Iframe and SSL 12 years, 11 months ago #340

  • Haji
  • OFFLINE
  • Fresh Boarder
  • Posts: 10
Hi,
If one wants to use the iframe option for integration, is an SSL certificate for the website mandatory?

I have set my option to iframe using the woocommerce integration and it loads the pesapal page with the payment options. However, the 'Complete' button appears for all but VISA and MASTERCARD.

Could this be attributed to not having the SSL certificate?

I will appreciate any feedback.

Thanks.

Re: Iframe and SSL 12 years, 10 months ago #358

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
Hi Haji,
You need not to have an SSL certificate on your site since the payment page loaded using the iframe is a page from the pesapal server which is already secured.

The ‘complete’ button on visa card is not visible since the iframe height is too small. You will need to increase the iframe size. In your woocommerce plugin, open the gateway.php file and locate the code below (should be on line 329px):

function payment_page($order_id){
$url = $this->create_url($order_id);
?>
<iframe src="<?php echo $url;?>" width="100%" height="620px" scrolling="no" frameBorder="0">
<p>Browser unable to load iFrame</p>
</iframe>
<?php
}

The iframe has a height of 620px. Change this to 700px. The button should now be visible.

Regards,
Lazaro.
Regards,

Lazaro Ong'ele
Web Developer

Skype: Lazrotep
+254-020-249-5438 ; +254-706-191-729
Dagoretti Lane, Off Naivasha Road.

Facebook: www.facebook.com/pesapal
Twitter: twitter.com/PesaPal
Helpdesk: support.pesapal.com
This e-mail address is being protected from spambots. You need JavaScript enabled to view it.
  • Page:
  • 1