Solved

Paypal Buy Now return URL Query strings

Posted on 2009-05-06
1
2,759 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

623 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