SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

PayPal sandbox notifications

 
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum
View previous topic :: View next topic  
Author Message
SBB



Joined: 01 Nov 2012
Posts: 10

PostPosted: Fri May 31, 2013 11:57 am    
Post subject: PayPal sandbox notifications

Hi

Have set up a test installation to try PayPal shopping cart using PayPal sandbox. When a purchase is made the details appear in the log on the 'Credit Card' configuration page but the 'Status' remains blank and on checking a txn.log is not created. Testing from an external machine shows port 5789 to be listening.

I have had this working OK in the past, any ideas where I could be going wrong this time?

Thanks
Lubin
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri May 31, 2013 1:23 pm    
Post subject:

PayPal sandbox sometimes has a habit of only working on port 80. Please try:

1) copy the 2 files ppal_ipn.php and transaction.php from FirstSpot\local to FirstSpot\firstspotdemo directory

2) change your "Publicly accessible URL to receive transaction update from PayPal" to http://your_public_ip
_________________
~ Patronsoft Limited ~
Back to top
SBB



Joined: 01 Nov 2012
Posts: 10

PostPosted: Fri May 31, 2013 1:57 pm    
Post subject:

Hi

No luck with that. Would I need to amend the value of 'Transaction update module listening port' to 80 ?

Thanks
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri May 31, 2013 2:02 pm    
Post subject:

No.

Did you uncomment ppal_ipn.php code so that you are now using sandbox? Also, please check out http://patronsoft.com/forum/viewtopic.php?t=2058
_________________
~ Patronsoft Limited ~
Back to top
SBB



Joined: 01 Nov 2012
Posts: 10

PostPosted: Fri May 31, 2013 3:33 pm    
Post subject:

Hi

All looks OK to me, can you confirm please

ppal_ipn.php
==========
// $url="www.paypal.com/cgi-bin/webscr";
// uncomment below for sandbox testing. Need https for sandbox. If using https, please put '/' at the end of the url
$url="https://www.sandbox.paypal.com/cgi-bin/webscr/";
==========


paypal_submit.php
==========
// 20080211 - Use the lower one for test site
// $url="https://www.paypal.com/cgi-bin/webscr";
$url="https://www.sandbox.paypal.com/cgi-bin/webscr";
==========

Thanks again
Back to top
alan
Forum facilitator


Joined: 26 Sep 2003
Posts: 4435

PostPosted: Fri May 31, 2013 3:38 pm    
Post subject:

If you cannot find txn.log, most likely your firewall/router Port Forwarding is not setup correctly or the "Publicly accessible URL to receive transaction update from PayPal" under Configuration Manager -> Credit Card is incorrect.
_________________
~ Patronsoft Limited ~
Back to top
SBB



Joined: 01 Nov 2012
Posts: 10

PostPosted: Wed Jun 12, 2013 2:20 pm    
Post subject:

Hi

Had to leave this for a while but now back on it and got it working OK

Many thanks for the help
Back to top
Display posts from previous:   
Post new topic   Reply to topic    FirstSpot Forum Index -> Pre-sales Support Forum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group