I need to submit this page to paypal server for processing the postdata string or you can suggest any other way to do this. Can I do this in the code behind somehow(vb)? I've looked at the HttpWebRequest class and still struggling with it.
Expand|Select|Wrap|Line Numbers
- Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
- Dim postdata As String
- postdata = "cmd=_xclick"
- postdata += "&upload=1"
- postdata += "&business=mymail@mail.com"
- postdata += "&return=my_return_Url_goes_Here"
- postdata += "&item_name_1=myitem"
- postdata += "&on0_1=Size"
- postdata += "&amount_1=2.99"
- 'I guess this post data string is correct
- End Sub
- End Class