The documentation for Common order IPN data says I should be getting address_street, address_city, etc. But if I put this code in my page:

For Each Item In Request.Form

fieldValue = Request.Form(Item)

objTextFile.writeline(Item)

Next



the list in the text file does not have those items. It looks more like what the docs show for thank-you email. For instance there is "receiver_id" and "payment_status" in the list.

Did I miss a setting somewhere?

Thanks

  • created

    Nov '11
  • last reply

    Nov '11
  • 1

    reply

  • 1.1k

    views

  • 2

    users

  • 2

    links

Make sure you enable Shipping/Buyer's Address in the settings of each product that should trigger collection of a street address during checkout. If no items in an order have that setting enabled, no address would be collected, so the address variables you mentioned would not be transmitted back to your URL.



For actual PayPal payments, we simply forward the entire, original PayPal IPN we received (along with our extra, non-IPN variables) to your URL, so you will probably see some PayPal-specific IPN variables that we don't document. However, the variables we do document would be sent (if applicable to the order) to your URL for all orders even if PayPal was not involved in checkout. PayPal documents their own IPN variables here:

https://cms.paypal.com/us/cgi-bin/?&cmd=render-content&content_ID=developer/e_howto_html_IPNandPDTVariables