nBill Community nBill Home Page
21/May/2012, 11:12:52 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Click Here for the nBill home page, or take a tour.  
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Error Report on PayPal 'Instant Payment Notification'  (Read 931 times)
n.richard
Jr. Member
**
Offline Offline

Posts: 69


View Profile
« on: 03/March/2010, 04:26:58 PM »

After performing a payment with Paypal, I get the following Error Report (by mail).
nBill does not find the Pending Order which is perfectly normal since I set "Pending Until Paid?" to "No" on my Order Form.

My "IPN URL" on Paypal Payment Gateway is:
[NBILL_FE_PAGE_PREFIX]&action=gateway&task=ipn&gateway=paypal
(maybe this can just be emptied to prevent error to occur, since I think I don't need the notification?).

Code:
Commande en attente dont l'ID  est '72' n'a pas  ?t ? trouv ?e (pending order ID: , Montant: EUR 47.88, Site: http://[removed], REQUEST: Array
(
    [option] => com_nbill
    [action] => gateway
    [task] => ipn
    [gateway] => paypal
    [mc_gross] => 47.88
    [protection_eligibility] => Ineligible
[snip...]
)
)

Using nBill 2.0.8
Thanks!
« Last Edit: 03/March/2010, 04:31:33 PM by n.richard » Logged
netshine
Administrator
Hero Member
*****
Offline Offline

Posts: 4,563


View Profile
« Reply #1 on: 03/March/2010, 05:30:42 PM »

There is a bug which causes this error when pending until paid is turned off. You could turn pending until paid on, or you could disable callbacks altogether, as you suggest, if you don't want the invoices to be marked as paid automatically. Otherwise, to fix, please first upgrade to version 2.0.9, then replace your /administrator/components/com_nbill/framework/classes/nbill.payment.class.php and your /administrator/components/com_nbill/framework/classes/nbill.process.order.class.php files with the attached.

P.S. If only you had found these bugs 24 hours earlier, I could have fixed them for the 2.0.9 release! Oh well! Thanks for reporting them anyway.  Undecided

[attachment deleted by admin]
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!