Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to send multiple items to paypal using asp.net
    primarykey
    data
    text
    <p>Hi I am using paypal sanbox to integrate asp.net website.I am able to send single item name to paypal.</p> <p>But i don't know how i can send multiple items.I tried to search alot but did not get any specific answer.</p> <p>Please let me know how i can send multiple parameters to paypal.</p> <p>Here is my code:</p> <pre><code>Protected Sub imgbtn_Click(sender As Object, e As ImageClickEventArgs) Handles imgbtn.Click Dim qty As Integer = Request.QueryString("qty") Dim Amount As String = Request.QueryString("price") Dim ItemDescription As String = Request.QueryString("ItemDescription") Dim redirectUrl As String = "" 'Mention URL to redirect content to paypal site redirectUrl += "https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_xclick&amp;business=" &amp; ConfigurationManager.AppSettings("paypalemail").ToString() 'Product Name redirectUrl += "&amp;item_name=" + ItemDescription 'Product Amount redirectUrl += "&amp;amount=" + Amount 'Business contact paypal EmailID redirectUrl += "&amp;xxxxx-facilitator@gmail.com" 'Quantiy of product, Here statically added quantity 1 redirectUrl += "&amp;quantity=" + qty.ToString() 'If transactioin has been successfully performed, redirect SuccessURL page- this page will be designed by developer redirectUrl += "&amp;return=" &amp; ConfigurationManager.AppSettings("SuccessURL").Trim()"?item_name= &amp; itemname redirectUrl += "&amp;cancel_return=" &amp; ConfigurationManager.AppSettings("FailedURL").ToString() Response.Redirect(redirectUrl) </code></pre> <p>This is code working for me to send single item to paypal.But i have gridview with multiple items so how i can send multiple values to paypal.</p> <p>Please suggest me.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload