How to get Payer email Id from PayPay iOS SDK - objective-c

Im using PayPal iOS SDK, after launching the PayPal Payment Screen. User will enter the PayPal email Id and Password. after successful payment Im getting some response from through PayPal delegate methods but I that response Im unable to collect the email Id (PayPal Id) that I have used to login.
Thank You.

No, You can not get user's email address. Paypal can not provide you
the personal credentials of any users. It can only provide you the
order details.

Related

How to Validate Receiver Paypal Email before Payout , Is their Any API?

I am sending payment to user of my application but want to validate that Is Paypal account is exist on this email or not?
The only way to know if there is a PayPal account attached to an email address prior to a payment is to use Connect with PayPal to have the user log in with their account, and validate the response.
Otherwise, if you send a payment to an email address that has no account, they will receive a notification that there is money waiting and it will be auto-refunded after 30 days (with a reminder) if they do not claim it by creating an account or adding that email to an existing account.

Is there a way to create a new Coinbase account for someone else (as a gift) using the API?

I'd like to know if there's a way to use the Coinbase API create a new Coinbase account for someone who doesn't have a Coinbase account and possibly even deposit some Bitcoin/Ethereum for them in it?
I've seen the API docs on Authentication but it seems like accessing one's own account or letting existing Coinbase access a 3rd party app.
The closest thing I can think of is to simply send the gift crypto currency to an email address.
https://developers.coinbase.com/api/v2#send-money
If the email address already has a coinbase account associated with it the account will simply be credited. If the email does not have a coinbase account they can easily sign up to claim the gift just by entering the password they want for their account. The account will be created using the email the gift was sent to and the password they chose after clicking the link in the email.

Detect an invalid paypal email using MassPay Paypal API

I'm using MassPay Paypal API to make payments.
I was able to test it and is working pretty well using sandbox accounts.
The problem is I couldn't find a way to identify if the email that is going to receive money is a valid paypal email.
I tested it using a fake email and money was taken from the payer sandbox account even though the email (the one that should receive the money) doesn't have a paypal account associated, and the API response was as if it was a successful request.
I found this method to get the verification status of an account, but there is no much info in the documentation or any other info that helps me understand if this is what I'm looking for or how to apply it.
You will need an API operation called GetVerifiedStatus API Operation under PayPal adaptive accounts. Refer the below:
https://developer.paypal.com/docs/classic/api/adaptive-accounts/GetVerifiedStatus_API_Operation/
https://developer.paypal.com/docs/classic/adaptive-accounts/gs_AdaptiveAccounts/
Sample API request:
API end point: https://svcs.sandbox.paypal.com/AdaptiveAccounts/GetVerifiedStatus
requestEnvelope.errorLanguage = en_US&emailAddress = email#test.com&firstName = Firstname&lastName = Lastname&matchCriteria = NAME

PayPal Website payment pro not sending email to merchant when purchased using credit card

We have implemented PayPal Website Payments pro. Everything seems to work like a charm.
But, my merchant ain't receiving the emails from Paypal when the user purchases the item using their CreditCard. But, when purchased with their PayPal account, the emails are coming through fine.
Is this the normal behavior? Or, is there something that I need to fix in my settings ?
The seller account should get the normal email notification that they've received a PayPal payment, but no email would be sent to the buyer. This is intentional because buyers who specifically request CC instead of PayPal might be upset if they start getting PayPal notifications.
When using Payments Pro it's generally left up to you to create and send your own email receipts/notifications.
That said, you mentioned here that it's your merchant account that's not receiving anything, which would typically be referring to the seller account. If that's what's happening then I'd recommend calling PayPal support or submitting a ticket at www.paypal.com/mts and let them know what's going on.

Sending notifications for website users signed via Facebook or Twitter. How?

Let's imagine that we have ecommerce website that suggests 3 way for user registration:
regular email
via facebook
via twitter
Now let's imagine that we have user signed via facebook/twitter account and we need send him notification about his order (order complete or s/t like that). How can we do this? It is absolutely clear for regular email users - we should just email them notification, but what about Facebook/Twitter users?
Thank you!
With Facebook when they authenticate with your application, you can request email permissions to be able to access the email address they have nominated to use with their facebook account. At the point of registeration you could then store this address in your database and all order flow could follow the existing email path.
You could probably re-use this methodology for twitter too.
I can understand the need to differentiate on registration processes however I think you want to streamline post order notification as much as possible for consistency across users.