Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Paypal Buy Now return URL Query strings

Posted on 2009-05-06
1
Medium Priority
?
2,765 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 2000 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

Simplify Your Workload with One Tool

How do you combat today’s intelligent hacker while managing multiple domains and platforms? By simplifying your workload with one tool. With Lunarpages hosting through Plesk Onyx, you can:

Automate SSL generation and installation with two clicks
Experience total server control

Question has a verified solution.

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

Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.
Suggested Courses

670 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