Chained payment with paypal pro - php

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.

Related

credit card to multiple paypal transfer in one transaction in rest api php is possible?

I want to make payment from credit card to 2 Paypal account users.
sender will not create either Paypal account or merchant account, he will send payment using only credit card.
Thank you for a help.
Parallel payments enable a sender to send a single payment to multiple receivers. For example, your application might be a shopping cart that enables a buyer to pay for items from several merchants with one payment. Your shopping cart allocates the payment to merchants that actually provided the items. PayPal then deducts money from the sender's account and deposits it in the receivers' accounts.
You've got two main options: use the Mass Pay Api or try out the new Adaptive Payment Api.
The Adaptive Payments option gives you a lot more control over the payment and is the future direction of the Paypal APIs, so that's where i'd start if i were you. It supports SOAP, NVP, JSON and plain XML. MassPay has both a SOAP and NVP interface.
IPNs are a totally different subject:Paypal

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 to transfer money from one PayPal account to another PayPal account?

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

Several questions about paypal pro subscriptions flow

I have integrated standard paypal with one of sites and it works as follows: user selects which subscription to buy, he is redirected to paypal, paypal sends IPN response, I process it and then every X days PayPal sends a new IPN notifying site that user has been successfully charged for new subscription iteration. Now the problem is that user needs to have paypal account to sign up for such subscription.
The customer contacted PayPal and found out that it is possible to avoid having user to use their PayPal account to buy subscription when seller uses paypal pro account. Is it really so? Will I be able to gather user's card info, then send some request to PayPal API and have the subscription created. If yes, what will happen next? PayPal will be sending me IPN requests every X days notifying site that the card has been successfully charged?
Also, what is the general flow? Do I always have to gather card info and send it to paypal api or can I redirect user to paypal in a similar way as standard paypal functions?
Yes, this is possible. You would need to sign up for PayPal Website Payments Pro and Direct Payment Recurring Payments. You can then use the CreateRecurringPaymentsProfile API and specify the card details directly in a single API call.
This will create a recurring profile, which is billed every X days / months, depending on what you specified as the billing period in CreateRecurringPaymentsProfile.
Alternatively, you can also sign up for PayPal Premium Services (for the UK) or PayPal Enhanced Recurring Payments (for the US). This allows you to accept subscription payments from guest users, using the exact same integration you have at the moment, except a 'guest payment' section will be added to the PayPal checkout screen, so buyers won't be forced to create a PayPal account to sign up for your subscriptions any longer.
(Note: Enhanced Recurring Payments / Premium Services has other benefits as well, such as Installment Plans, but guest subscription payments is definitely the biggest benefit).

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