Paypal Mass Payment Api get notification to non paypal email using Sandbox - php

I have used paypal mass payment api to pay commission. Right now i am using sandbox according to the documentation in mass payment api if we use non paypal email id then that user will get notification from paypa to create the account to get that payment but in my case no notification send via paypal to that non paypal email id.
How is it possible, any solution for this problem?

In Sandbox, the email is not send to the actual mailbox. The email only be send if the masspay is done on Live.
So, how you can have a proof that actually you are sending the money via masspay? You can try to create a sandbox account (any business or personal) using the email of the receiver (payer) and you can see the payment is being deposited.

Related

Perform a PayPal payment automatically using PHP

How can I automate a PayPal payment using PHP?
I have the email of my PayPal business account, the PayPal email of the receiver and the amount to transfer.
Is there a way to make the money transfer without my interaction? (the payment originates from my account)
Of course I'll run the PHP script manually
I'm going to answer my own question:
It's possible to make a PayPal payment using PHP only, it's called Implicit approval payments
Implicit approval payments are payments where the sender and the API caller are using the same account. Because PayPal draws the funds for the payment from your own account, there is no approval necessary, and as such there is no visible flow for implicit approval payments.
I tried using the Pay API and the payment is made within the PHP script, no need for a web flow or any other manual approvement.
The Pay API requires an extra field, called senderEmail, set this field to the PayPal email user account

Can i create PayPal Chained Payment to unregistered in PayPal user as receiver?

I have an application, which needs to send gift payment to unregistered in PayPal users through their email after delay specified by gift sender.
Can i create PayPal Chained Payment to unregistered in PayPal user as receiver?
No, you can not use this chained payments.
From the Developer Guide:
You can use the Pay API to make unilateral payments under limited circumstances. A unilateral payment is a payment that is made to a receiver who does not have a PayPal account. Unilateral payments can be used with simple or parallel payments that are implicit or preapproved. Unilateral payments are not designed to be used with chained payments or payments that require manual approval through the web flow.
When you send a unilateral payment, you send a payment request that includes an email address for a receiver, and this email address is not linked to a registered PayPal account. The receiver receives an email notifying the receiver to create an account and claim the payment.

Send money to any PayPal account and receive payment notification

We are developing a website where people can use our tools to fundraise for their organization or cause. I was wondering if with paypal IPN I can send money directly to the person's PayPal account doing the fundraising.
For example. User John Doe signs up on our website Website.com. As part of the signup process John Doe enters his PayPal email address he accepts payments with.
He now has the page Website.com/JohnDoe to accept payments/donations from.
Using IPN & PayPal payments pro can I have the payment sent to his account directly and still have our IPN address (Example: Website.com/ipn) receive the payment notification and payment information?
Also does Paypal Payments pro work inside of IFrames. Let's say John Doe embeds his Website.com/JohnDoe into his own website JohnDoe.com. Or the other option is in a Facebook page custom tab.
If PayPal payments pro, or standard will not work for this will Adaptive Payments work? In adaptive payments does each person I'm sending money to have to signup for it?
Thank you!
Yes, collecting payments to various email addresses/accounts is very easy, and you can have a single IPN service to verify these transactions. See the docs at:
https://developer.paypal.com/webapps/developer/docs/classic/ipn/integration-guide/IPNIntro/
.... for how to set the IPN address per-transaction (overriding any setting your merchants may be using account-wide for other transactions.
iFrames are a problem; PayPal has historically not allowed this for security reasons; they didn't want the potential for snooping js in other frames on the page. However as the web frameworks for this have matured PayPal has opened up some in-page checkout options (e.g. lightbox checkouts). You should check the latest docs (or ask someone # PayPal) which, if any, integration models/checkout experiences currently support running inside iFrames.
Adaptive payments is not very likely to be the product you want; you will want either an PayPal Pro/Express Checkout solution or something packaged in the newest Braintree SDKs.
And finally: yes, with a few exceptions that probably don't apply to your use case, PayPal pays out only to PayPal accounts. Thus every business or person would need to sign up for a PayPal account in which to receive PayPal payments. (Note that in some cases users can sign up after the payments arrive... payments to an unsubscribed email address will be held and that email address notified of the pending payment and asked to sign up & complete the transaction(s).)
Using IPN, it's possible to set the recipient's address and the notification_url dynamically (see https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNSetup/). So using this method it ought to be possible for a payment to 'John Doe' to be made at your site, and for the payment to be sent to 'John Doe', and for the IPN notification from Paypal to post to a listener script at a URL at your site.

Transfer payment from paypal to paypal using paypal api without redirecting to paypal

I have a Paypal account that I will use to transfer payment to other website user's account where user will enter their Paypal account id and the proceed to transfer money to their(user's) account, means this process seems like freelancing websites does for Paypal withdrawal. I know Paypal provides adaptive payment method to do something like this but as per I read doc for adaptive method, seems like there is no way to do something like this through Paypal Adaptive method. I do not think to redirect user to Paypal. I would like to know the best way to do like this.
Check Mass payment option.
It requires users email and amount to transfer. You can transfer amount from merchant account to other user account.
If provided email is registered paypal email then paypal transfer amount to that email address.
If not then user can register with that email and get money. Money will be there for one month if user not claim money with in a month then it will get refunded to merchant account.
https://developer.paypal.com/docs/classic/mass-pay/integration-guide/MassPayUsingAPI/

How do I create an adaptive paypal payment without autorization?

I am using the adaptive paypal payment console here: https://apigee.com/console/paypal to make payments to people. I can't find a way to send money out to individuals without granting them permission (from me). I want to be able to send out payments to people automatically when they request it. How would I do this?
You mean you would be the sole 'sender', sending money to different PayPal recipients?
Simply use the MassPay API. This is not part of Adaptive Payments but rather the normal PayPal API's.
If you use Sandbox, you can request for MassPay to be enabled on your Sandbox account by filing a ticket with PayPal Merchant Technical Services at https://www.paypal.com/ or starting a thread in the appropriate forum at https://www.x.com/ (PayPal's developer community).
If you use the Live PayPal site, you can call / email PayPal Customer Service to get it enabled on your Live account.
For the API documentation, see https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_r_MassPay

Categories