View Single Post
 
Old May 4th, 2007, 02:57 AM
Imar's Avatar
Imar Imar is offline
Wrox Author
Points: 70,322, Level: 100
Points: 70,322, Level: 100 Points: 70,322, Level: 100 Points: 70,322, Level: 100
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

The URL you're trying to redirect looks incorrect, as it seems to start with mail@ instead of https://www.paypal

Also, you're sending hard coded text, not the values. E.g.

orderNumber&amount=amt

should be something like:

orderNumber&amount" & amt & "....

Additionally, you can look at String.Format to make this code a bit more readable.

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.