Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 04-17-2009 07:38:51

robprotronica
Member
Registered: 12-16-2008
Posts: 106

PayPal Standard return URL error

Hi,

We have been using PayPal Pro for several months for card payments with no problem and wanted to add PayPal standard to give people the option of paying with a PayPal account - PayPal express is rather too intrusive for our liking.

Everything works using PayPal standard (order is there, payment goes through, order confirmation mails go out etc) except on return from PayPal we get the following

The following error occurred while attempting to process your transaction:

The URL that referred you to this page is invalid. It is not listed as a valid referring URL for the online processor selected.

Not sure where to look next to fix this one.

Rob

Offline

 

#2 04-18-2009 15:58:40

lucky2628
Member
Registered: 04-01-2009
Posts: 10

Re: PayPal Standard return URL error

Hi,
I also facing this problem please help.

Offline

 

#3 04-18-2009 16:49:25

dh783
Member
From: Avondale, Arizona
Registered: 04-06-2005
Posts: 6233
Website

Re: PayPal Standard return URL error

In your paypal account (there site), you need to turn off auto return and not supply a return url on there site, ccp includes this information in the original request to paypal. Second make sure that the relay directory has the proper permissions (777 or 755) as need for your service provider.

John

Offline

 

#4 04-19-2009 04:39:35

robprotronica
Member
Registered: 12-16-2008
Posts: 106

Re: PayPal Standard return URL error

Auto return is turned off, no URL entered in PayPal and I have tried with the relay directory permission set at 755 and 777.

Same behavior, the payments are correctly processed and all e-mails go out. It is only the retun to the site that does not work.

Not sure how to find out what the return URL PayPal is trying to use.

If I look at any of the retun links shown by PayPal they are paypal.com and a session ID, so the info seems to be buried somewhere - which is not supprising.

Rob

Offline

 

#5 04-19-2009 05:10:10

robprotronica
Member
Registered: 12-16-2008
Posts: 106

Re: PayPal Standard return URL error

Hi,

Have taken a look at some debug output and the following looks like the return URL information

gbu_olp::procgwresp: Identified gateway as 'paypalpp'.

gbu_olp::procgwresp: response_code 'Completed' order_number 'ORD200904191' possible_second_post '0'.

gbu_olp::procgwresp: The procgwresp() method was access by an invalid URL. The referring URL is 'https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=QwJZL0oq-_7xGVStTB58lqF-Mj9yp9q2TyQkRKbvFWZZkL-QQI5tDeVRzBK&dispatch=5885d80a13c0db1f998ca054efbdf2c25fe4a05bcb33bff66824cbab1a92dde6'. The string 'https://www.paypal.com/us/cgi-bin/webscr?cmd=_flow&SESSION=-Fm6toXueqdK0HpRPlv4ouGpYfvqpmTN2YsVT9Spb1FVtefu7nWJmCNb858&dispatch=5885d80a13c0db1f9fecf49521b3f5af727cc8f9db6c1fec3d872083e6365f05 was not found in the URL.

khxc_display::include_file: Started file: /apps/gbu0/GBU/includes/olprelayfail.php

khxc_display::include_file: Completed file: /apps/gbu0/GBU/includes/olprelayfail.php

Does not mean much to me, but hopefully it will mean something to smomone who knows what it should look like.

Rob

Offline

 

#6 04-19-2009 05:30:52

robprotronica
Member
Registered: 12-16-2008
Posts: 106

Re: PayPal Standard return URL error

OK think I have found the problem

If I try and cancel out of an order I also get the same message - the URL is invalid

the returning URL is:-

https://www.gpsaffiliate.co.uk/khxc/rel … D200904192

If I change this to:-

http://www...

The order cancellation page displays correctly - which is a bit worrying as all the name and address info is exposed.

So it looks like something to do with how ssl is configured.

Rob

Offline

 

Board footer