asp.net - Paypal confirmation when the transaction has been successfully done -
I've redirected my website to the You are passing in a SuccessUrl parameter Are; When PayPal is complete, it is sending a notification on that page - you should put the page in the link to your success page to parse the query parameters, and whatever local processing you have to do.
string = request as a dark string .QueryString ("user"). ToString Dim temp1 as integer = Convert. ToInt32 (Temp) Dim LastName string string retarding email as string retaining value in the form of string name of country string string name as string name string string Name the first string as the string, using the string as 'SqlConnection' (_start) as 'your SQL string' make the dim sql1 string = "select item .name, BID.WinningPrice, member.listname, ss Items from the items coming from the item, Member.Email, Member Item, on the seller Item ID: Sell IDID vendor. Join the auction on SellerIdIDINID, IITEMID = Auction. IitemID INNER Bidding on the auction. Members at the Auction Inner Vendor Join Member. Member ID = Member, Member Id where (Member status = 'Available') and (Seller SellerStatus = 'Available') and (bid. Status = 'Won') and (Auction Condition = 'expired') and bid.bidid = @bidid "open your connection". 1. Open () to make your command to 'open' command myCommand1 new SqlCommand (sql1, con1) In 'Hold Your Parameter', add your parameter 'myCommand1.Parameters.Add ("@ bidid", SqlDbType.Int). Valu = temp1 SqlDataReader = myCommand1.ExecuteReader () as a slow reader. HasRows then if Reader Read () then 'Eti Name = Reader GateString (0) WinningPris = Convert. Toastring (Reader. Gate Double (1) LastName = reader.GetString (2) First name = Reader.GreatString (3) Email = ReaderGetString (4) Country = ReaderGetString (5) Low Price ' Convert string money value to decimal value = convert. Tud double (wingpervis) is declaring 'empty string diameter'. ReturnURL as stringURL = "https://www.paypal.com/xclick/business=" + Email "Passing item name as a dynamic return + URL = = Convert.ToString (" & item_name = ") & amp; ; Assigning the name as a static element URLURL = = Convert.ToString ("& amp; first_name") & amp; Assign Static Name as the First Name 'parameter URLURL == Convert.ToString ("& amp; last_name") & amp; Assigning Staticly as LastName 'parameter URLURL == Convert.ToString ("& amp; Country") & amp; Dynamic return URL as country 'passing amount + = "& amp; zodiac =" + price Toasting '' Passing the currency as your return URL + = "& amp; currency = USD" 'If the transaction has been successful successfully, then redirect the successful URL - this page will be returnedURL + = "& amp; return = "+ ConfigurationManager.AppSettings (" SuccessURL "). ToString () 'Retract URL if customer wants to cancel transaction' If the transaction has failed, restore the failed URL - this page will be < / Code> P>
Comments
Post a Comment