Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor angelleye

    (@angelleye)

    The plugin simply provides the data that comes in the IPN sent by PayPal. That IPN data will only include data that was provided in the original payment request.

    How exactly are you setting up the original payment? Are you working with PayPal Standard buttons, Express Checkout, Payments Pro, or what exactly?

    Can you provide a sample of what IPN data you’re getting that doesn’t have what you expect so I can take a look?

    Thread Starter kakalau

    (@kakalau)

    I did a local installation of the plugin and it worked perfectly — except for the fact that it doesn’t record any information about the WP user who did the payment! Let’s say a registered user uses a Standard button to make a payment, the listener runs perfectly, but when I try to discover who did the payment, the “Catch-All Hook” doesn’t display a user ID, name or any other data about the person who did the payment – only the data about the payment (txn_id, amount, transaction type, etc).

    Plugin Contributor angelleye

    (@angelleye)

    Data like that would need to be included in the button code in some way. IPN only returns data that was tied to the payment. By default a standard button is not going to have any idea who is logged in to your site, so it won’t be including that detail in the payment to PayPal.

    If you want a WP user ID to be returned in the IPN details you’ll need to include it in the “custom” parameter of your PayPal button. For example…

    <input name="custom" type="hidden" value="{some_user_id}" />

    That would then be included in the IPN details as $posted[‘custom’].

    Thread Starter kakalau

    (@kakalau)

    Ok, thanks for the answer.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No user data returned’ is closed to new replies.