Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

Payment for orders using different currencies
(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 for orders using different currencies

Payment for orders using different currencies 12 years, 1 month ago #770

  • mulama77
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
i need pesapal to tell me the payment method used hence i used

demo.pesapal.com/api/QueryPaymentDetails

but pesapal isn't sending $_GET['payment_method']; i.e

if(isset($_GET['payment_method'])){
$pesapal_payment_method = mysql_real_escape_string($_GET['payment_method']);
echo $pesapal_payment_method ;
die();
}

i expect at one point for pesapal to send $_GET['payment_method'] but i never get the variable

Also, when the user wants to pay for an order i want him/her to be able to select the currency and amount.

is there a tutorial sample code that illustrates how to send a currency and amount to pesapal during payment
Last Edit: 12 years, 1 month ago by mulama77.

Re: Payment for orders using different currencies 12 years, 1 month ago #771

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

Please have a look at this example: developer.pesapal.com/forum/2-pesapal-in...-pesapal-php-example

It illustrates how you can capture the payment method and how to define the payment currency.

Let me know if this works for you.
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