Integrating Paypal chained payment and direct payment? - php

I want to Use the Paypal API for chained payment (adaptive payment), but i wan't that the user will not get out from my site, so I need to use the DoDirectPayment also...
Is it possible to integrate them both?
I couldn't found the answer for this question...
Thanks.

They both are part of two different API suites from PayPal. The chained payment is from Adaptive Payments API and DoDirectPayment is from PayPal Payments Pro (Direct edition). So make sure you sign up for them as required.
As Prash mentioned, for chained payments w/ PayPal accounts you must redirect to PayPal. But instead of using full browser redirect - you can use the Embedded Payments experience that uses iframe/mini-browser window that provides a more contextual experience to your users.

The user must leave your site in order to login to PayPal, however they are redirected back to your site afterwards where you can process the payment.

Related

PayPal API - Payments Pro Required To Process Billing Methods Directly?

It is my intention to integrate payment processing/subscription billing plans into a site using PHP and Javascript. I'd like to use PayPal to process credit/debit and PayPal charges. I read an article that said (Paraphrasing)
Normally you have to forward users to PayPal where they input their
billing information. PayPal Payments Pro allows you to process billing
info directly from your site.
I've also seen information to the contrary. This answer for instance. Also, the PayPal API docs don't say anything about needing Payments Pro to process a card directly from my site. Here you can see a card being processed without sending the user to PayPal under "Create billing agreement (credit card)."
I have a PayPal business account. I was able to generate a PayPal API Signature (API creds). Can I use the code shown in that quick start to process payment methods without applying for Payments Pro? I'm not talking about IPN. I know that anyone can use that.

Paypal Adaptive Payments in REST api

Paypal Adaptive Payments in REST api without redirection to paypal is possible?
Already worked in, Redirect the payment sender's browser to https://www.paypal.com/webapps/adaptivepayment/flow/pay?paykey=... after obtaining the pay key.
We can use Embedded Payment
An embedded payment flow can be used for simple, parallel, and chained payments.
Embedded payment flow can be implemented in two ways
lightbox option and mini-browser option
https://developer.paypal.com/docs/classic/adaptive-payments/ht_ap-embeddedPayment-curl-etc/

Paypal getting option payment through credit card(PHP)

Hi i am getting two options while integrating the paypal with my PHP code
1. Pay via paypal
2. Create a paypal account
Whereas i Need an option Of
Payment through Debit/Credit Card
How can i get that,,
i reffer to thisThis Link But unable to find the paypal profile and more options option, Can anyone help me
The only way to force Guest Checkout (which is what PayPal calls it when somebody uses a credit card from their checkout pages without signing in to a PayPal account) is to use the Express Checkout APIs.
This will allow you to set parameters that provide the Guest Checkout experience in all instances where it's available. Keep in mind that even with this configured correctly, Guest Checkout is simply not available for all buyers in all countries, so you still won't get it for 100% of your customers if you're selling world wide.
Guest Checkout is available in PayPal Standard Payments, too, but it's cookie based, so it's very unreliable. If the browser in use has ever had anybody sign in to a PayPal account then it will assume the current user will be signing in, too, and it will not prominently display the Guest Checkout option. This is what you are able to avoid by using the Express Checkout APIs.
This PayPal PHP SDK will make the Express Checkout calls very quick and easy for you. Specifically, you'll be working with:
SetExpressCheckout
GetExpressCheckoutDetails
DoExpressCheckoutPayment
In your SetExpressCheckout request you'll make sure to include the follow parameters:
SOLUTIONTYPE=Sole
LANDINGPAGE=Billing
USERSELECTEDFUNDINGSOURCE=CreditCard
This will ensure that the user sees the Guest Checkout experience.
Direct processing of Credit Cards is deprecated.
But people can pay without PayPal account - it's called guest payments.
Use the PayPal API and allow the optimal checkout to YES and then customers can pay either through credit card / paypal account.
https://developer.paypal.com/docs/integration/direct/payments/guest-payments/#

Using paypal on custom website and accept credit / debit Card

I have an issue right now that is killing me, I have implemented several payment options but never used paypal, I don't know why is it so complicated.
The website already exists and wasn't developed by myself.
I don't know the ammount of the order it is dynamic, so the "create payment buttons" on the paypal website doesn't work for me, at this point i developed a solution using
PayPal developers
But it turns out that i only have the option to pay with a PayPal account or register a PayPal account, I do not want to force customers to do this, it has no sense. is there any relatively easy solution out there using the same PayPal API?
EDIT
The whole site code is in PHP so i need the solution in this language
As you have mentioned that you are aware of one payment method i.e. Express Checkout ( in which user needs to have a valid Paypal account) so the other method which I think you need is the Direct Payment (i.e. a user can pay with credit cards directly without any Paypal account) API.
For this direct payment api you need to enable Website Payment Pro WPP , here you can get info about WPP.

php paypal adaptive chained payment implementation without leaving my website

I am tying to use PayPal adaptive chained payment API.
But, my problem is that, i don't want to leave my website for payment.
I want a kind of do direct payment using adaptive chain payment method.
I found api which do this by taking users to PayPal site,
but could not find the one which i want..
Any help would be welcomed..
Can Someone help?
My payment scenario is like this::
users will pay to my website i.e me, then after 3 days my application will redirect this payment to two of my clients parallely..
user -> me $100.
after 3 days.
me->my client1 = $70.
me->my client2 = $30.
this all process should be maintained on MY SITE ONLY.
This is not possible because of PayPal's security concerns and fraud protection. Users have to be redirected to PayPal's site in order to complete their transaction.

Categories