SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

Problems with worldpay configuration

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



Joined: 23 Apr 2005
Posts: 16
Location: Dubrovnik Croatia

PostPosted: Fri Aug 12, 2005 9:58 pm    
Post subject: Problems with worldpay configuration

Please check net topology at:

http://img100.imageshack.us/img100/4553/topology0jm.jpg
(zoom the image)


We have problem with worldpay config.
We have created worldpay account as well as firstspot shopping cart,
but we get error reply while trying to buy air time.


All data on ports 5000-6000 tcp and udp is forwarded from router
to fs server. ftp is checked for test and works fine.
I belive that error cause is that .php scripts are attached to private
lan interface, not public one where actual return data from worldpay comes back to server.


here are some test results
web test browsing from firstspot server:

http://10.20.7.1:5788/cart.php - reply ok
http://192.168.1.200:5788/cart.php - reply "The page cannot be found"


web test browsing from internet using dislocated dsl:

http://dubrovnikhotspot.dyndns.org - reply: Forbidden
http://dubrovnikhotspot.dyndns.org:5788 - reply: not found
http://dubrovnikhotspot.dyndns.org:5788/cart.php - reply: not found




Problem is in that Worldpay does not function well, I suppose that problem lies on that
your web service is only attached to the private lan interface,
so Worldpay can't connect to http://dubrovnikhotspot.dyndns.org:5789/wpay_callback.php
_________________
Welcome to Dubrovnik, Croatia...
... The Mediterranean as it once was...
Back to top
jason
Forum facilitator


Joined: 30 Nov 2004
Posts: 95
Location: Hong Kong

PostPosted: Sat Aug 13, 2005 5:42 am    
Post subject:

Hi

User checks out from the cart (cart.php, FS listens on the private side) and FS redirects him to WorldPay with required information, WorldPay then authenticates the transaction. Finally WorldPay sends a callback to Firstspot (wpay_callback.php, FS listens on the public side) to update the user account.

1, You do not need to access cart.php from the public side (http://192.168.1.200:5788/cart.php), since Worldpay Callback needs only to access wpay_callback.php in order to update the user account

2. You should use http://your_public_ip_to_internet:5789/wpay_callback.php instead of http://dubrovnikhotspot.dyndns.org:5789/wpay_callback.php. Note: your_public_ip_to_internet is not an private ip!

3. go to Firstspot/www/apache/logs/access.log, check if there is any access to the wpay_callback.php from WorldPay. If so, you seem to have the routing setup correctly.

4. go to you WorldPay merchant account -> Configuration Options, make sure your have enabled on the callback features.

5. refer to chapter 7 of firstspot_guide.pdf for futher information.

IMPORTANT: You DO NOT need any dynamic dns in order to use the worldpay feature of FS

Let me know if there is still any problem.
_________________
~ Patronsoft Limited ~
Back to top
eugenmiljan



Joined: 23 Apr 2005
Posts: 16
Location: Dubrovnik Croatia

PostPosted: Sat Aug 13, 2005 7:14 pm    
Post subject:

Hello !

1. Checked from the internet, to see if routing is ok

http://dubrovnikhotspot.dyndns.org:5789/wpay_callback.php gives reply, so routing is ok.

2. ok

3. there is 'wpay_callback.php' list item in log

4. checked

How to set 'publicly accessible url to receive transaction update from worldpay' with ip address when my router gets different IP every time it connects ?



Images:


1. Credit cards tab from firstspot
http://img347.imageshack.us/img347/570/fscreditcards9oz.jpg


2. Worldpay configuration screen
http://img347.imageshack.us/img347/8485/worldpay4yz.jpg

3. Worldpay error on client pc while trying to buy airtime from cart
http://img347.imageshack.us/img347/4716/worldpayerr9lh.jpg


Can you help me with the configuration ?
_________________
Welcome to Dubrovnik, Croatia...
... The Mediterranean as it once was...
Back to top
jason
Forum facilitator


Joined: 30 Nov 2004
Posts: 95
Location: Hong Kong

PostPosted: Mon Aug 15, 2005 2:30 am    
Post subject:

Sorry, i cannot access to the images you have posted.

4. checked

how to set 'publicly accessible url to receive transaction update from worldpay' with ip address when my router gets different IP every time it connects ?

DDNS might be possible in this case, but we didn't test it in our lab. Please give us more feedback on that.

What version of Firstspot are you using?
_________________
~ Patronsoft Limited ~
Back to top
eugenmiljan



Joined: 23 Apr 2005
Posts: 16
Location: Dubrovnik Croatia

PostPosted: Thu Aug 18, 2005 7:39 pm    
Post subject:

Hello !

Version is 3.1.1.

We use dynamic dns service from dyndns.org because dsl router gets different IP on every connect event. (every 24h).

Images should be available now, please recheck.

Thanks in advance !
_________________
Welcome to Dubrovnik, Croatia...
... The Mediterranean as it once was...
Back to top
jason
Forum facilitator


Joined: 30 Nov 2004
Posts: 95
Location: Hong Kong

PostPosted: Fri Aug 19, 2005 3:14 am    
Post subject:

The images were not accessible (DNS could not resolve img347.imageshack.us). Could you please copy and paste your setting and error here.

There was a bug fix for worldpay in v3.1.2. Refer to http://www.patronsoft.com/forum/viewtopic.php?t=381.
so please upgrade your Firstspot to v3.1.4.

Jason
_________________
~ Patronsoft Limited ~
Back to top
eugenmiljan



Joined: 23 Apr 2005
Posts: 16
Location: Dubrovnik Croatia

PostPosted: Sat Sep 10, 2005 8:55 pm    
Post subject:

Dear Jason,

we have upgraded Firstspot to 3.1.4, but the problem remains.
Also, pictures have been moved to another server, you should find them in order :

1. Credit cards tab from firstspot
http://www.dubrovnik-hotspot.com/temp_slike/1.jpg

2. Worldpay configuration screen
http://www.dubrovnik-hotspot.com/temp_slike/2.jpg

3. Worldpay error on client pc while trying to buy airtime from the cart
http://www.dubrovnik-hotspot.com/temp_slike/3.jpg


Can you help us please ?

Thanks in advance
Eugen Miljan
Dubrovnik HotSpot
_________________
Welcome to Dubrovnik, Croatia...
... The Mediterranean as it once was...
Back to top
jason
Forum facilitator


Joined: 30 Nov 2004
Posts: 95
Location: Hong Kong

PostPosted: Mon Sep 12, 2005 3:11 am    
Post subject:

Have you verified that your worldpay merchant account is working without any problem?

Your settings seems ok, but you might try to leave the callback URL field empty in your worldpay account.

Post worldpay_txn.log under log/Firstspot directory.
_________________
~ Patronsoft Limited ~
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