What I am trying to do is I have a one cron file, which check that the user requested payment if yes then this file transfer payment from admin PayPal account to user's PayPal account (of course only if admin account have money :)).
I check Adaptive Payments, but what I am trying to achieve is transfer money from admin's PayPal account to user's PayPal account. How to achieve this?
It is cron job. So there is no need of the approval of admin to transfer money. It is well handled in the project. Means directly transfer money from one account to another?
Thanks in advance.
If you would like to transfer money between two paypal accounts without approval, then you will need to use Implicit Approval in Adaptive Payments.
Implicit approval payments, in which your application is both the sender of a payment and the caller of the Adaptive Payments Pay API. In this case, PayPal makes the payment from your own account, which eliminates the need for approval.Try here
Related
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
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/
I need to implement chained payment with paypal pro. Can I do it as I can do in adaptive payments? Means doing payments to multiple receivers from one payer who does not have a PayPal account and can pay from his/her credit card.
You would not be able to do this with Website Payments Pro the same way that you use it for Adaptive Payments. The only way to split a payment in the Website Payments Pro flow is to process multiple DoDirectPayment API requests. You would either need to have all of the API credentials for all of the accounts that you are going to be making the API calls on, or you would need to have those accounts grant 3rd party permissions to your API credentials and then just pass over the email address of their PayPal account in the variable subject.
I am working on a game site which have a feature like users can buy coins, For buy coins he can use PayPal. After making payment coins will added in hi account. And then any time he can request to change coins.
So my questions are
Which PayPal payment method should be used for it?
How can be payment will be sent in user account. Is site owner do it manually?
If I understand your question correctly it can be done in one of two ways:
Reseller model: you collect the money into YOUR account and use PP to transfer the money to the merchant account (minus your commission or whatever)
The merchant opens an PP business account and provide you the API-credentials (not the user/pass to his account! the API creds!). Then you use his creds to place the orders and the money is collected in the merchant's account.
im building a site where 2 user groups exist: sellers and buyers. The buyers buy stuff and should pay to the sellers via PayPal.
So, its not a kind of a web shop where users are paying directly to me ( as a website owner/online shop), BUT TO THE OTHER USERS (sellers). So i need to forward a PayPal transaction from one user on my site (buyer) to the other one (seller).
I read some PayPal API Descriptions, but its assumed there that i want to process the PayPal Payments to my PayPal account, what's not my case.
An idea would be that sellers pay to me, and i then pay to buyers, but that's not what i want to do.
So , what I want is: the buyer should process the PayPal payment directly to the seller's PayPal account, and i should then receive the payment confirmation and inform the seller about it.
Does anyone have an idea, expirience or suggestion with this stuff? Thanks in advance!
You have a lot of options for how you can handle that.
One, you could use the Express Checkout API to build the checkout system, and you'd use the Permissions API (optional) so that users can easily grant your application permissions to make API calls on their behalf. Note that users could also do this manually through their PayPal profile until you get the Permissions part integrated.
To get your payments, you could have your users create a preapproval profile using the Preapproval API. This will allow you to submit payments on their behalf automatically at any time. As such, you could use the preapproval key within Pay calls directly in the checkout flow or within IPN (which is what I would recommend) to submit payments to yourself from the user's account.
Another option is to use a parallel payment within Express Checkout. This would handle splitting the payment for you automatically between the seller and yourself, but the buyer would see that split during checkout.
Another option would be to use the Pay API for the checkout which would allow you to create a chained payment. This is the same as a parallel payment except that it hides the split from the buyer, and you could actually delay the payment to secondary receivers if you need to for any reason.
Hope that helps.
if you have a buy now button or similar, use the sellers' email address as below
<input type="hidden" name="business" value="sellers#email.com">
and it will pay the user with that email address. If that's not their paypal address, it will prompt them to either sign up for paypal to receive or add it to a current account.
Then use PHP mail() or your CMS/Admin system to notify you when the successful payment page has been loaded after a referral back from Paypal.