473,700 Members | 2,558 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 2432
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
1903
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
3574
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
4767
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
1158
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
1841
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
3848
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
1750
by: Nicodemus | last post by:
Do You Belive? \ cheapbbc@sina.com wrote in news:aecf26b6-4c75-4d87-b09c-a7380875e0f3 @w34g2000prm.googlegroups.com:
3
11766
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
9078
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8974
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
8928
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7815
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5903
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
4407
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
4660
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3094
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2393
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.