Solved

Paypal Buy Now return URL Query strings

Posted on 2009-05-06
1
2,754 Views
Last Modified: 2013-11-29
Hello,

I am trying to integrate PayPal Buy now into my web site.

The url I am passing to PayPal is:
https://www.paypal.com/xclick/business=joeblogs@hotmail.com&item_name=Photograph: Rhossili Bay - Wreck of Helvetica and Worms head in distance - 2nd March 2003 - dfddf - By Thomas Mutton&item_number=49&amount=10.00&currency_code=GBP&quantity=1&shipping=1.56&cancel_return=http://www.website.com/photo/195/rhossili-bay-wreck-of-helvetica-and-worms-head-in-distance-2nd-march-2003.aspx&return=http://www.website.com/logpaypalsale.aspx?type=1&pfsoid=18&qty=1

But the problem with the above is the last bit:
return=http://www.website.com/logpaypalsale.aspx?type=1&pfsoid=18&qty=1

I am wanting to pass query string variables in the return but this simply won't work.

I am wondering if there is any way I can pass these extra query string variables with the return url?
0
Comment
Question by:thomasmutton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
irf44z earned 500 total points
ID: 24313611
You need to escape ? (%3F) and & (%26). It will work:

Try this:

https://www.paypal.com/xclick/business=joeblogs@hotmail.com&item_name=Photograph: Rhossili Bay - Wreck of Helvetica and Worms head in distance - 2nd March 2003 - dfddf - By Thomas Mutton&item_number=49&amount=10.00&currency_code=GBP&quantity=1&shipping=1.56&cancel_return=http://www.website.com/photo/195/rhossili-bay-wreck-of-helvetica-and-worms-head-in-distance-2nd-march-2003.aspx&return=http://www.website.com/logpaypalsale.aspx%3Ftype=1%26pfsoid=18%26qty=1

Open in new window

0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Understanding UserAgent String 2 70
What cart is this? 2 55
Pass SQL to JSON. Page is in classic ASP and using Jquery 4 58
Do it yourself websites 9 38
This article was originally published on Monitis Blog, you can check it here . Today it’s fairly well known that high-performing websites and applications bring in more visitors, higher SEO, and ultimately more sales. By the same token, downtime…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will learn how to count occurrences of each item in an array.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question