|
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/5/2003 Posts: 8 Location: ,
|
Hello,
My IPN page is working fine so far, just one problem here... I am passing my shipping variable manually to paypal, the shipping variable shows up fine on the paypal payment pages, but when I tries to retrieve that shipping variable in the IPN page so that I could insert it into my ASP emailing script, the variable doesn't show up(null)... please advice.
Thanks in advance
|
|
|
|
|
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
Are you using the Shopping Cart? Can we have a look at your <form>? Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/5/2003 Posts: 8 Location: ,
|
Hi,
Thanks for your reply, no I am not using a shopping cart, I am using the buy now feature. Here is my form code(I've starred the 2 fields that I cannot retrieve the variable from-the shipping field and the amount field):
<form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="my business"> <input type="hidden" name="image_url" value="my logo"> <input type="hidden" name="item_name" value="<% Response.Write(Request.QueryString("brand")) %> <% Response.Write(Request.QueryString("stylename")) %> <% Response.Write(Request.QueryString("category")) %> "> <input type="hidden" name="item_number" value="<% Response.Write(Request.QueryString("itemnumber")) *********Below is my amount field************* %>"> <input type="hidden" name="amount" value="<% Response.Write(Request.QueryString("price")) %>"> <input type="hidden" name="custom" value="<% Response.Write(Request.QueryString("custom")) %>"> <input type="hidden" name="first_name" value="<%=(rs_customer.Fields.Item("FirstName").Value)%>"> <input type="hidden" name="last_name" value="<%=(rs_customer.Fields.Item("LastName").Value)%>"> <input type="hidden" name="address1" value="<%=(rs_customer.Fields.Item("StreetAddress").Value)%>"> <input type="hidden" name="city" value="<%=(rs_customer.Fields.Item("City").Value)%>"> <input type="hidden" name="state" value="<%=(rs_customer.Fields.Item("State").Value)%>"> <input type="hidden" name="zip" value="<%=(rs_customer.Fields.Item("Zip").Value)%>"> <input type="hidden" name="email" value="<%=(rs_customer.Fields.Item("Email").Value)%>">
*********Below is my shipping field************* <input type="hidden" name="shipping" value="<% If rs_customer.Fields.Item("Country").Value="USA" then %> $0.00 <% Else %> $5.00 <% End if %>"> <input type="hidden" name="return" value="http://www.jadeboutique.com/index.asp"> <input type="hidden" name="cancel_return" value="http://www.jadeboutique.com/index.asp"> <input type="hidden" name="notify_url" value="My IPN page.asp"> "> <input name="submit" type="image" src="Here is my buy now button" alt="buy now" border="0">
I have "starred" the 2 fields that I cannot retrieve the variables from(The shipping field and the amount field).
Thanks in advance for your help.
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
Can we look at the <form> after the script runs? Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 3/5/2003 Posts: 8 Location: ,
|
I apologize, but I don't really understand which form/script you meant, could you please clarify? Sorry....
|
|
|
|
Rank: Starting Member
Groups: Registered
Joined: 9/16/2002 Posts: 2,960 Location: ,
|
You posted ASP code. We need the HTML to see what the form actually looks like. Patrick Breitenbach PayPal, Inc. Dev Net: https://www.paypal.com/pdn
|
|
|
|
Guest
|
YAFVision Theme by Jaben Cargman (Tiny Gecko)Powered by YAF |
YAF © 2003-2009, Yet Another Forum.NETThis page was generated in 0.350 seconds.