IPN contact phone not available on subscription (subscr_signup) - paypal

When getting a subscr_signup for txn_type I do NOT have a contact_phone even though the user enters it during signup (required field). Here is code:
$params['phone'] = $_POST['contact_phone'];
When I use web_accept the phone variable is there. I looked at the raw request from paypal and I don't see the phone number in there for subscriptions
Is this a bug or oversight?

I have confirmed with paypal that the phone number is not available in the subscr_signup. It will be in the payments.

Related

Paypal API don't want a Delivery Address

I'm using secure-hosting as a middleman to process payments from my website which accepts credit card details and has an automatic paypal feature which essentially uses the paypal-api.
It processes payments fine and dandy, however our product isn't supposed to be delivered to the person who purchased it, it is sent to another (or many hundreds of) person(s) whose details are entered on our site by the purchaser.
The problem is that PayPal displays the purchaser's address as the delivery address both when the purchaser is signing into paypal and when they receive an invoice from paypal.
Does anyone know if there is an option to turn off this display of the delivery address/in the email? I've tried adding the no_shipping: '1' and NOSHIPPING=1 field when communicating with paypal but I believe this is to specify that the user doesn't have to supply an address because paypal will have a record of their address.
The ADDROVERRIDE variable determines whether or not the PayPal pages should display the shipping address set by you in this SetExpressCheckout request, not the shipping address on file with PayPal for this buyer. This would allow you to pass in a shipping address that your buyer enters into a form on your website, for example.

Does Paypal sends the phone number of the user/payer in response, if yes then how can i get it?

I am making a simple paypal checkout and getting the response from the paypal after transaction in POST method to my return url. The response include everything I want but the phone/contact number.
I wanted to confirm if paypal does or doesn't share the contact/phone number and if it doesn't, can i have some official paypal link saying that
You need to login to your PayPal profile and enable "Require Phone Number". It's under profile->Website Payment Preferences->Contact Telephone Number
Once you've got that setup it'll come back in the contact_phone phone parameter with IPN or PDT.

Get the email of my PayPal customer

I need to read the email of the buyer that has completed a transaction on my eCommerce site. Paypal does send me an email of notification, but does not contain the email of the buyer (Instead, it returns just the transaction-id - which takes me to my account.)
I was looking through the PayPal for Developer API, but I can't find an example to get this level of detail. Is this even possible to retrieve, and if so, how?
Paypal ipn returns the address. When you post to PayPal, they request an address by default. (Source)
no_shipping =2 is the prompt for requiring an address.

Paypal Payments - What to store from them?

I was wondering, if you have coded a website which uses paypal payments as a payment method (the kind of payments where you get redirected to their site for payment, not web payment pro).
What kind of details can I store? Is it just their paypal email address that can get supplied to me or do other details regarding their paypal account also get sent to me via their API which can be stored on my site?
As already mentioned, you get the details of the transaction, so email address, name, delivery address and the contents of the shopping cart.
You can send custom parameters from your form though, such as phone number.
Paypal, by default doesn't ask users to provide a phone number and therefore usually doesn't send you one. However, it's often useful for retailers to have a customers phone number.
If your shopping cart is populated by your website and then customers are asked to complete a brief, name, phone number, email form before submitting to Paypals site you can send these extra form fields to Paypal and have them come back to your server for storage/checking.
However... I found it very erratic! There seemed to be a problem with my account when I did this and the PP technical team couldn't explain why it was only sometimes working! I gave up in the end and found a Payment gateway with credit card and Paypal integration, now all my payments come through the same channel and callback methods regardless of type.
http://www.securehosting.com I use now.
Mostly only the details pertaining to the transaction can be retrieved in the usual procedure, as it appears even when you see the transaction details in your paypal account when you receive payments. However, it would be helpful for you if you can provide more information on what you wish to look for.

paypal IPN unique id

I am using paypal to verify users on my website by having them a .01$ payment and getting their IPN information.
To prevent double subscriptions therefore, I need a piece of information that is sent over the notification that is absolutely unique.
I have noticed that one can change their email over paypal so, email is not viable. Are there things in the IPN that are unique and do not change over time, like by making other payments or changing email address?
Thanks in advance.
PayPal provides a PayerID that is a unique identifier for PayPal accounts. It never changes regardless of what users do with their email address or anything else. It gets returned in IPN as payer_id.