Pesapal.com

Forum

Welcome, Guest
Username
Password:
 

PesaPal Redirect
(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: PesaPal Redirect

PesaPal Redirect 12 years, 1 month ago #545

  • abrigumy
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
I see in the .net samples you provide you are use an Iframe to load the pesapal payment page. I am trying to integrate pesapal with nopcommerce www.nopcommerce.com/ and the model they use is a redirect to a particular page. when i try that i get the following error

Problem: parameter_rejected | Advice: unknown_error_occured> oauth_parameters_rejected | String%20or%20binary%20data%20would%20be%20truncated.%0D%0AThe%20statement%20has%20been%20terminated.

are page redirects supported ?

note: connecting to the demo2.pesapal.com sandbox environment for testing.

Regards,
Ab

Re: PesaPal Redirect 12 years, 1 month ago #546

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

The error is due to incorrect data sent to us. This is what PesaPal requires from your end:
Amount = (lineItems.Sum(x => x.SubTotal)).ToString(),
Description = /* [required] description of the purchase */,
Type = "MERCHANT",
Reference = /* [required] a unique id, example: an order number */,
Email = /* [either email or phone number is required] email address of the user making the purchase */,
FirstName = /* [optional] user’s first name */,
LastName = /* [optional] user’s last name */,
PhoneNumber = /* [either email or phone number is required] user’s phone number */

Ensure the data is correct. Additional data is not necessary.

For the test environment, use demo.pesapal.com
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: PesaPal Redirect 12 years, 1 month ago #549

  • abrigumy
  • OFFLINE
  • Fresh Boarder
  • Posts: 4
thank you that worked, another question what is the best way of testing callback in the sandbox demosite if i am running my application locally i.e. localhost

Re: PesaPal Redirect 12 years, 1 month ago #551

For callback you can give any URL , it will call as it is, if you are running locally can give localhost:8080/XXXX/XXXX.php

Re: PesaPal Redirect 12 years, 1 month ago #553

  • lazro
  • OFFLINE
  • Administrator
  • Pesapal
  • Posts: 404
Actually localhost:8080 will not work. There are millions of localhost:8080 :-) Which are not publicly available. The host must be online.
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: PesaPal Redirect 9 years ago #2013

  • Cent
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
Hello,please share the nopcommerce pesapal plugin,my email is taima.innocent(AT)yahoo.com,thank you.
  • Page:
  • 1