Author: KevInKauai | Posted on: 2/25/2008 12:44:26 PM | Views : 398

One of my sites had been using the PayPal "form" manner of invoking a single item sale, and I finally found a URL method of doing the same by passing the arguments. The scenario is that I have a dropdownlist with the quantity of tickets to be ordered and when an acceptable quantity (other than none) is selected, I make the hyperlink enabled. (This allows me to open the PayPal transaction in a separate window, keeping mine around.) Here's the code:

1        Protected Sub ddlQuantity_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ddlQuantity.SelectedIndexChanged
2            Dim lvQuantity As Integer = 0
3& ...

Go to the complete details ...