Jump to content


Photo

problem with "no shipping address required"


  • This topic is locked This topic is locked
1 reply to this topic

#1 yanlipaypal

yanlipaypal

    Member

  • Members
  • PipPip
  • 24 posts

Posted 07 March 2003 - 10:01 PM

Hi All,

I am trying to make the IPN thing work with my .net pages. It works except that when user choose "no shipping address required" option.

I guess, when user chooses "no shipping address required", paypal may not be posting address_street, address_city back. Or, it might be just empty.

In my code, I use
string userAddress_street = Request.Forms["address_street"];
string userAddress_city = Request.Forms["address_city"];
to get the address_street etc.

Then after get the information, I check the txn_id, log user info to my db, etc.

The code works as long as users click on "shipping address". It does not as long as users click on "no shipping ... required".

What is wrong in my code? Thanks in advance.

Sammie






#2 jkonicky

jkonicky

    Newbie

  • Members
  • Pip
  • 9 posts

Posted 09 March 2003 - 09:32 AM

Does the place where you're logging the info allow zero length strings or null values?

jkonicky




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users