Web Design Forum: Sandbox PayPal payment works then redirects to 404 - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Sandbox PayPal payment works then redirects to 404 Rate Topic: -----

#1 User is offline   zibizibi 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 162
  • Joined: 09-August 09
  • Reputation: 0

Posted 06 January 2012 - 12:00 PM

Hi,

I have a working PayPal Pay Now button with sandbox URL in its code, the fake sandbox payment works, but then I'm redirected to this page :

http://www.wcit.net/...m=&item_number=

... which is a 404 page, rather than my own website's successful payment page. Why is that ?
0

#2 User is offline   emdavis 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 04-February 09
  • Reputation: 0
  • Experience:Advanced
  • Area of Expertise:Designer/Coder

Posted 06 January 2012 - 04:12 PM

Have you indicated your return url in both your Paypal account and in your Paypal form?
0

#3 User is offline   peter_anderson 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 23
  • Joined: 15-August 09
  • Reputation: 0
  • Gender:Male
  • Location:Falkirk, Scotland
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 06 January 2012 - 04:19 PM

Can you post your HTML code? Is the return_url set correctly?

Thanks
0

#4 User is online   rallport 

  • Web Guru
  • PipPipPipPipPip
  • Group: Members
  • Posts: 3,818
  • Joined: 03-January 10
  • Reputation: 266
  • Gender:Male
  • Location:England, UK
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 06 January 2012 - 05:24 PM

View Postzibizibi, on 06 January 2012 - 12:00 PM, said:

Hi,

I have a working PayPal Pay Now button with sandbox URL in its code, the fake sandbox payment works, but then I'm redirected to this page :

http://www.wcit.net/...m=&item_number=

... which is a 404 page, rather than my own website's successful payment page. Why is that ?


It's REALLY bad practice with IPN to pass lots of query string data to your completion urls. YOu can set the return urls directly in your paypal account or using hidden form fields within the original formk on your site
0

#5 User is offline   GarethH 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 27
  • Joined: 03-August 11
  • Reputation: 0
  • Gender:Male
  • Location:Hertfordshire
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 07 January 2012 - 11:48 PM

I agree
0

#6 User is offline   zibizibi 

  • Dedicated Member
  • PipPip
  • Group: Members
  • Posts: 162
  • Joined: 09-August 09
  • Reputation: 0

Posted 08 January 2012 - 10:23 PM

Thanks emdavis that was the lack of return url that caused this problem.

@rallport : my variables were and still are all set in hidden fields !
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users