Hi
I'm trying to post to Paypal to process payment
I try a server.tranfer but I get the error :
"System.Argumen tException: Invalid path for child request
'https://www.paypal.com/cgi-bin/webscr'. A virtual path is expected."
how can I post to paypal for processing ?
thank you 8 16377
Hi,
Use Response.Redire ct with query string (as far as I know PayPal support
it).
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Server.Transfer () only lets you transfer on your current server and
application. Use Response.Redire ct() if you want to go to another site...
+++ Rick ---
--
Rick Strahl
West Wind Technologies http://www.west-wind.com/ http://www.west-wind.com/wwHelp
----------------------------------
Making waves on the Web
"gh0st54" <gh*****@hotmai l.com> wrote in message
news:7f******** *************** ***@posting.goo gle.com... Hi
I'm trying to post to Paypal to process payment
I try a server.tranfer but I get the error : "System.Argumen tException: Invalid path for child request 'https://www.paypal.com/cgi-bin/webscr'. A virtual path is expected."
how can I post to paypal for processing ?
thank you
Thanks it works
but I would still like to know how to do it with the post procedure
I might need it later
Natty Gur <na***@dao2com. com> wrote in message news:<#k******* *******@TK2MSFT NGP09.phx.gbl>. .. Hi,
Use Response.Redire ct with query string (as far as I know PayPal support it).
Natty Gur, CTO Dao2Com Ltd. 34th Elkalay st. Raanana Israel , 43000 Phone Numbers: Office: +972-(0)9-7740261 Fax: +972-(0)9-7740261 Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
Hi,
You can add new Form without the runat=server attribute and set it
action to the PayPal page.
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
You are right ,
I had never noticed the exact messge when trying to put multiple form
:
it says :
A page can have only one SERVER-SIDE form tag
now if my form is within my server side form , it will be treated by
the server side = not posting .
is there a way to have your cake and eat it too .
can a form be inside a server-side form and still post to it's action
param ?
I know I'm asking weird stuff but its a nice exercice :)
thank you
Natty Gur <na***@dao2com. com> wrote in message news:<Oq******* ******@tk2msftn gp13.phx.gbl>.. . Hi,
You can add new Form without the runat=server attribute and set it action to the PayPal page.
Natty Gur, CTO Dao2Com Ltd. 34th Elkalay st. Raanana Israel , 43000 Phone Numbers: Office: +972-(0)9-7740261 Fax: +972-(0)9-7740261 Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
You are right ,
I had never noticed the exact messge when trying to put multiple form
:
it says :
A page can have only one SERVER-SIDE form tag
now if my form is within my server side form , it will be treated by
the server side = not posting .
is there a way to have your cake and eat it too .
can a form be inside a server-side form and still post to it's action
param ?
I know I'm asking weird stuff but its a nice exercice :)
thank you
Natty Gur <na***@dao2com. com> wrote in message news:<Oq******* ******@tk2msftn gp13.phx.gbl>.. . Hi,
You can add new Form without the runat=server attribute and set it action to the PayPal page.
Natty Gur, CTO Dao2Com Ltd. 34th Elkalay st. Raanana Israel , 43000 Phone Numbers: Office: +972-(0)9-7740261 Fax: +972-(0)9-7740261 Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!
I dont think so.
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I dont think so.
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it! This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: python |
last post by:
Hi-
I'm getting a "DeprecationWarning: integer argument expected, got float"
warning with mx.DateTime and I can't figure out why. Can anyone help me
out?
This code:
import mx.DateTime
|
by: Abdul Azeem |
last post by:
Hi!
Any one has Idea, How to use Server.Transfer and Server.Execute, When I
tried to use these methods I got an eror:
Server object error 'ASP 0230 : 80004005'
Server.Transfer Error
/SISWeb/portal_logon.asp, line 40
The call to Server.Transfer failed while loading the page.
|
by: Serdge Kooleman |
last post by:
hi
i'm trying to play sounds in my windows app.
wav files are in the same folder as .exe
if i'm getting path by command:
ApplicationPath = Application.StartupPath;
and it is look like
|
by: VB Programmer |
last post by:
When I run this line:
Dim sw As New System.IO.StreamWriter(strFileName)
I get this error:
System.UnauthorizedAccessException: Access to the path
"c:\inetpub\wwwroot\MyWeb\Resources\Templates\MyPage.Html" is denied. at
System.IO.__Error.WinIOError(Int32 errorCode, String str) at
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access,
|
by: Tran Hong Quang |
last post by:
Hi,
I'm using Windows 2000, English version, Microsoft Visual Studio.Net 2003.
I compile a project developed for Japanese client, on which there are some
Japanese messages. I have error "End of statement expected." at the line of
Japanese message.
How to make Visual Studio.Net 2003 understand that Japanese message?
Thanks
Tran Hong Quang
| |
by: JIM.H. |
last post by:
I have an asp.net solution and one asp.net and a few asp projects included
to this solution.
I try to redirect from my asp.net page to asp page with Server.Transfer, I
get the following error:
Invalid path for child request
'http://IPAddess/MyAspNetApp/MyASPSite/index.asp'. A virtual path is
expected.
If I use Response.Redirect it does not go to the page. If I copy paste the
|
by: johnlim20088 |
last post by:
Hi,
Hi, someone can help me?
I have a export.aspx page with the following url in my code
url = http://localhost/exportfolder/log.csv
when i use Response.Redirect(url)
|
by: Fernando Rodriguez |
last post by:
I created an HttpHandler for rewritting URLs.
It simply checks if the requested page is on a list of "special" pages (that
do not exist) and if it is on the list then it will transfer to an ASPX page
that will generate the content dynamically.
The problem is that after the call to Server.Transfer or Server.Execute the
page i'm transfering to throws an exception when it tries to access the
Session object. The error says that I must set...
|
by: jahanas |
last post by:
Private Sub txtBox1.txtLife_Enter(ByVal frmQuote) Handles txtLife
Me.txtQuote.Text = "I like life, it's something to do."
End Sub
Private Sub txtBox2.txtFuture_Enter(ByVal frmQuote) Handles txtFuture
Me.txtQuote.Text = "The future isn't what it used to be."
End Sub
Private Sub txtBox3.txtTruth_Enter(ByVal frmQuote) Handles txtTruth
Me.txtQuote.Text = "Tell the truth and run."
|
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,...
|
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...
| |
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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |