Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

payment options
(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: payment options

payment options 10 years, 2 months ago #1529

Hi

In the Iframe, can I choose a default payment option other than mpesa say VISA since it will be the most used method in my implementation.

Thanks

Re: payment options 10 years, 2 months ago #1530

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
Greetings Qsolutions,

We do not have the ability to allow you to choose the default payment options.
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.
The following user(s) said Thank You: Qsolutions

Re: payment options 10 years, 1 month ago #1555

  • jrosseel
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Are there any future plans on making this option available?

I am facing the exact oposite problem. From user testing, we've seen that most of our users have no VISA card and want to pay via M-Pesa. However, they have a lot of difficulties locating the M-Pesa payment option.

We'd therefore really like to have M-Pesa as our default payment method.

Also, since this topic is only three weeks old, when did the default payment method change to VISA?
Last Edit: 10 years, 1 month ago by jrosseel.

Re: payment options 10 years, 1 month ago #1560

  • Ayesh
  • OFFLINE
  • Senior Boarder
  • Everythings works for good.
  • Posts: 53
Hi,

Why not try to do so by setting the focus to the element on the iframe once it is loaded using JQuery or some javascript
Don't let what shows up for a moment become our eternity.

Re: payment options 10 years, 1 month ago #1561

  • jrosseel
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
Hi Ayesh,

That's not possible. A cross domain iframe does not allow you to execute javascript coming from another domain in it because of so called CORS security measures. These measures help prevent cross side scripting attacks. Which is good, because it would pose a great risk should I be able to run my own javascript inside the pesapal iframe.

For example if I am a hacker and this is possible, I could make sure that when a user clicks confirm, the mpesa code does not go to pesapal but to some service I have running in Russia. And I later use that MPESA code to pay myself on some account on the Cayman islands. Even worse, I would be able to steal VISA/Mastercard data.
  • Page:
  • 1