473,591 Members | 2,891 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Paypal question

Hi all, I have an ASP.NET application which I use to call paypal.

I pass in the success URL as

http://www.somedomain.com/success.aspx

I go right through the paypal process and I finally get the "Return to
merchant" button on the PayPal screen.

If I look at the source code of the Paypal page the form action looks like
this
<form action="http://www.somedomain. com/success.aspx" action="GET">

And then there is a simple submit button which sends the browser back to the
page specified in the Form.

What I would like to be able to do is pass in a identifier which is returned
attached to the success URL

Something like http://www.somedomain.com/success.aspx?myuniqueid=100

Because Paypal uses a form to return the information using the GET method,
any querystring info is stripped off and therefor I cannot attach a unique
identifier.

Does anyone have any idea about how I can get around this??

Thanks in advance
Mark
Nov 19 '05 #1
4 2427
you could use a unique URL for each request and inplement a http handlet to
specifically look for urls that match the pattern.

for example insead of wanting to return to the page succes.aspx?id= 100

you could return to the page success_100.aps x

and use a http handler to look for the pattern "success_"

cheers

martin.
"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:eS******** ******@TK2MSFTN GP15.phx.gbl...
Hi all, I have an ASP.NET application which I use to call paypal.

I pass in the success URL as

http://www.somedomain.com/success.aspx

I go right through the paypal process and I finally get the "Return to
merchant" button on the PayPal screen.

If I look at the source code of the Paypal page the form action looks like
this
<form action="http://www.somedomain. com/success.aspx" action="GET">

And then there is a simple submit button which sends the browser back to
the
page specified in the Form.

What I would like to be able to do is pass in a identifier which is
returned
attached to the success URL

Something like http://www.somedomain.com/success.aspx?myuniqueid=100

Because Paypal uses a form to return the information using the GET method,
any querystring info is stripped off and therefor I cannot attach a unique
identifier.

Does anyone have any idea about how I can get around this??

Thanks in advance
Mark

Nov 19 '05 #2
Hi Martin, thanks, I was hoping I would not have to do the HTTP handler
implementation but it looks like this might be the way to go.

Regards
Mark

Replace the Z with the e to reply
----------------------------------------------------------------

"Martin" <ma************ *******@martinz .co.nz> wrote in message
news:eX******** ******@tk2msftn gp13.phx.gbl...
you could use a unique URL for each request and inplement a http handlet to specifically look for urls that match the pattern.

for example insead of wanting to return to the page succes.aspx?id= 100

you could return to the page success_100.aps x

and use a http handler to look for the pattern "success_"

cheers

martin.
"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:eS******** ******@TK2MSFTN GP15.phx.gbl...
Hi all, I have an ASP.NET application which I use to call paypal.

I pass in the success URL as

http://www.somedomain.com/success.aspx

I go right through the paypal process and I finally get the "Return to
merchant" button on the PayPal screen.

If I look at the source code of the Paypal page the form action looks like this
<form action="http://www.somedomain. com/success.aspx" action="GET">

And then there is a simple submit button which sends the browser back to
the
page specified in the Form.

What I would like to be able to do is pass in a identifier which is
returned
attached to the success URL

Something like http://www.somedomain.com/success.aspx?myuniqueid=100

Because Paypal uses a form to return the information using the GET method, any querystring info is stripped off and therefor I cannot attach a unique identifier.

Does anyone have any idea about how I can get around this??

Thanks in advance
Mark


Nov 19 '05 #3
Checkout the IPN (instant payment notification) feature offered by PayPal.

Here's an article someone published about integrating IPN with ASP.Net...
http://www.bluevisionsoftware.com/We...px?Name=PayPal

Basically, you configure your Paypal account to always use a specific page
within your site for payment notifications.

When Paypal has received a payment it makes a HTTP POST request to the given
URL and includes loads of FORM parameters in the request, so you pick up the
shopping cart ID, the buyer's name, address, order details, payment amount,
currency, etc. from the request, just as you would if they were in the
querystring.

There's a built-in safeguard in that the request includes a token that you
then use to request a confirmation form the PayPal site. This guards against
anyone faking an IPN request to your handler claiming to have paid you when
they really hoven't.

I know this is not a direct answer to your question, but hopefully it
addresses what you're trying to do.

Brian Lowe
---------@
"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:eS******** ******@TK2MSFTN GP15.phx.gbl...
Hi all, I have an ASP.NET application which I use to call paypal.

I pass in the success URL as

http://www.somedomain.com/success.aspx

I go right through the paypal process and I finally get the "Return to
merchant" button on the PayPal screen.

Nov 19 '05 #4
I think you should be using this free paypal component:
http://www.componentone.com/paypal/

--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Mark" <ma**@Z-Zvolution.nZt> wrote in message
news:eS******** ******@TK2MSFTN GP15.phx.gbl...
Hi all, I have an ASP.NET application which I use to call paypal.

I pass in the success URL as

http://www.somedomain.com/success.aspx

I go right through the paypal process and I finally get the "Return to
merchant" button on the PayPal screen.

If I look at the source code of the Paypal page the form action looks like
this
<form action="http://www.somedomain. com/success.aspx" action="GET">

And then there is a simple submit button which sends the browser back to
the
page specified in the Form.

What I would like to be able to do is pass in a identifier which is
returned
attached to the success URL

Something like http://www.somedomain.com/success.aspx?myuniqueid=100

Because Paypal uses a form to return the information using the GET method,
any querystring info is stripped off and therefor I cannot attach a unique
identifier.

Does anyone have any idea about how I can get around this??

Thanks in advance
Mark

Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1899
by: C:>/ | last post by:
A client wants the payment process with OSCommerce to use PayPal , however every time it asks for all the registration information twice. Does anyone know if theres a way to overcome this? Is there a way of getting PayPal to just ask for payment information and to auto-fill the name/address fields from the OSCommerce side? Cheers
1
3571
by: madison | last post by:
Hi, I am trying to start a website using paypals shopping cart function. If i have 10 items and they sell out, how do I make it so the item is then listed as sold out. The next person would not be able to come along and add it to their shopping cart. thanks joy
5
4762
by: Vinod | last post by:
Hi I am having a payment website which needs to be integrated, i am having the following code which is not working fine. I am having the following script and my notifyurl is not working i don't know why can guys please help me up <% if SIGNUP_PRICE > 0 then
3
1156
by: John Buchmann | last post by:
I know this is kind of off topic, but i am thinking of integrating it in my asp.net site... My question is: If someone buys something from my site (using Paypal), and they are NOT a registered PayPal user, can they buy my product immediately, or do they first have to sign up, wait a few days, etc. before actually ordering? I realize that they MUST sign-up with PayPal, but i'm
2
1837
by: #2pencil | last post by:
After some google'n & looking through some PayPal pdfs I'm starting a post here. What I'm trying to find is the method of changing (upgrading or downgrading) members subscription services through the PayPal ipn. What I don't want to do is force them to cancle & resubscribe. Anyone know where this documentation is that I have failed to find? Any help would be appreciated!
0
3844
by: PayPal Security Measures! | last post by:
<P><A href="http://www.paypal.com/cgi-bin/webscr?cmd=_home" target=_blank><IMG src="https://www.paypal.com/en_US/i/logo/paypal_logo.gif" border=0></A</P> <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0> <TBODY> <TR> <TD width="100%" background=http://images.PayPal.com/images/bg_clk.gif><IMG height=29 src="http://images.paypal.com/images/pixel.gif" width=1 border=0></TD></TR></TBODY></TABLE> <P><B><FONT size=3>PayPal Security...
0
1748
by: Nicodemus | last post by:
Do You Belive? \ cheapbbc@sina.com wrote in news:aecf26b6-4c75-4d87-b09c-a7380875e0f3 @w34g2000prm.googlegroups.com:
3
11756
by: bnashenas1984 | last post by:
Hi every one I'v been googling for more than 1 week but I don't seem to find any answer for my question. unfortunatly there are not many articles about using Paypal in a self made script. I looked at the oscommerce source and found the code to use PayPal. Here it is : <form name="checkout_confirmation" action="https://secure.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick">
0
7935
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
7871
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8236
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
7995
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
5400
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3851
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
3893
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1467
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1202
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.