NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Debugging callback from bank payment system


Joined: 04 Sep 2009
Posts: 3
Reply with quote
Hi,

I can't post in the debugger thread, hence I'm posting here. I am trying to debug the following

1) Browse to local web server running php eCommerce app.
2) Add products to cart
3) Go to checkout any pay
4) Diverted to payment pages of payment provider
5) Payment provider then calls back to my site

I want to debug stage 5)

What I have done:

1) Opened up ports 443, 80, 7869 on my router to the internet (don't really need 7869 - the default php_debugger port)
2) Changed default router web interface port to 8080 to avoid clashes
3) Port forwarded 443 & 80 to my pc's 192.168.1.XX address

I can browse to my site from my phone using my public assigned IP address 80.XX.XX.XX
I can browse to my site from the PC running the site using my public assigned IP address 80.XX.XX.XX

In my php.ini I have

extension=dbg-php-5.3.dll
debugger.hosts_allow=ALL
debugger.enabled=on
debugger.profiler_enabled=on
debugger.ports=7869, 10000/16
debugger.JIT_enabled=On

I then add a DebugBreak(); statement to my index.php file and:

I can browse to my site from the PC running the site using my public assigned IP address 89.XX.XX.XX and the break point is invoked
** I can not browse to my site from my phone using my public assigned IP address 89.XX.XX.XX ** it hangs.

I then try to browse on my phone to

80..XX.XX.XX/index.php?DBGSESSID=1@192.168.1.10:7869

It hangs again, I remove the DebugBreak(); statement and all is working again

I have no idea what is going wrong, I have no doubt this is possible. I am running

IIS 5.0 on XP machine
PhpED 5.9.5 build 5976
Debug dll : dbg-php-5.3.dll NTS VC9 as supplied with build 5976

I hope someone out there can give me some pointers!

Thanks in advance

Charlie
View user's profileFind all posts by charliedurrantSend private message
Debugging callback from bank payment system
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
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic