Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

Woocommercen Pesapal intergration
(1 viewing) (1) Guest
Pesapal Shopping Cart Plugin
  • Page:
  • 1

TOPIC: Woocommercen Pesapal intergration

Woocommercen Pesapal intergration 8 years, 1 month ago #569

Hello, Am a ugandan developer,
Is it possible to intergarte pesapal in woocommerce using MTN mobile money.
The other question is, why is it that if I use the woocommerce plugin, for mpesa,i get the following error.
pesapal.com uses an invalid security certificate.

The certificate is only valid for www.pesapal.com

(Error code: ssl_error_bad_cert_domain)

Re: Woocommercen Pesapal intergration 8 years, 1 month ago #570

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
Hi kintuarthur,

You need to make a few corrections in the code. Open the plugin's gateway.php code and replace:

  1. $this->gatewayurl = '[https]://pesapal.com/api/PostPesapalDirectOrderV4'; with $this->gatewayurl = '[https]://www.pesapal.com/api/PostPesapalDirectOrderV4';
  2. $this->gatewaytesturl = '[https]://demo.pesapal.com/api/PostPesapalDirectOrderV4'; with $this->gatewaytesturl = '[http]://demo.pesapal.com/api/PostPesapalDirectOrderV4';
  3. $this->statusurl = '[http]://pesapal.com/api/querypaymentstatus'; with $this->statusurl = '[https]://www.pesapal.com/api/querypaymentstatus';


Open a business account on www.pesapal.com registered in Uganda and use the keys sent to your email in the plugin. All available payment options in Uganda will be available. As for now, we have an issue with MTN which we are trying to sort out. Once this is done, it will appear automatically.
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.
Last Edit: 8 years, 1 month ago by lazro.
  • Page:
  • 1