Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

where to set return url?
(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: where to set return url?

where to set return url? 11 years, 2 months ago #1000

  • tkarasan
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
where to set return url for my site after the payment is completed?

Re: where to set return url? 11 years, 2 months ago #1001

Hi Tsakaran

Before you package your request to send to pesapal, set the call back url as illustrated below.


 
$phonenumber = $_POST['phone_number'];
$currency = $_POST['currency'];
$reference = $_POST['reference']; //unique transaction id, generated by merchant.
$callback_url = 'http://localhost/demo/redirect.php'; //URL user to be redirected to after payment
 
Last Edit: 11 years, 2 months ago by MaryCagell.

Re: where to set return url? 11 years, 2 months ago #1002

  • tkarasan
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
Thank you! Mr.Odhiambo,

I want to inetgrate this pesapal in liferay portal using java, i want to know how to post the request for payment in pesapal?

Re: where to set return url? 11 years, 2 months ago #1004

  • tkarasan
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
Hi!,
I want to know phone number is a mandatory field or not for paymentintegration? And I want to know is it support for all the country mobile numbers or not?

Re: where to set return url? 11 years, 2 months ago #1008

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
Hey tkarasan,

You can provide either the payer's/donor's email address or the phone number. At least one of the two.
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.

Re: where to set return url? 11 years, 2 months ago #1009

  • tkarasan
  • OFFLINE
  • Fresh Boarder
  • Posts: 17
Thanks Mr.lazro, for your valuable reply.
  • Page:
  • 1