Paypal Adaptive Payments Intro
Paypal API intro
What is the difference is between an API key and an Access Token? They both seem to work as "passwords" for the paypal communications.
I'm running the code on the paypal API intro(using curl in PHP, which I'm also just starting to understand), and I'm not sure how to get from that the the paypal adaptive payments stuff. I'm having trouble figuring out how I call "Adaptive Payments" in my code. Do I actually put that in there somewhere or is it implied when I call for multiple payments with one transaction?
Related
We would like to use Paypal for credit card authorization exactly as we do for Paypal transactions, only skip right to approval for users who do not want paypal.
The REST API for paypal has the setPaymentMethod always set to "paypal" in every example I can find, and I don't find a list of possible values. May this constant be set to something like "payflow"?
The hope is that the REST API would work to allow a credit card customer get payflow dialogs rather than paypal login/guest login. The idea is to try and use our existing REST code to process credit card payflow transactions and retain the "create order" then "capture" processes we have for paypal transactions. I can't tell if the REST API is capable of this.
Payflow does not work with the REST API in any way. Payflow is very old, and uses a much older NVP API.
If possible, use a more modern solution such as Braintree Direct or Advanced Credit and Debit Cards rather than the old Payflow gateway.
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/
Hi I have some questions for paypal digital goods express checkout
I am following paypal tutorial on integrating payments for digital goods and using merchant sdk for same.But I want some suggestion and have some questions
Is there some other better alternative to integrate payment for digital goods ?
Should I configure IPN or can I rely on return url to save data on backend?
How can I make sure that data is from paypal both on return url and IPN .
As read I need to make request to https://www[.sandbox].paypal.com/cgi-bin/webscr/ with command cmd => _notify-validate [reference]
Is there any inbuilt function in sdk I am using or should I make manual call ?
re: #1, EC for Digital Goods is a solid choice for digital goods sales. If you don't need the digital-goods specific features you can also use PayPal's regular/plain EC or the newer RESTful products.
re: #2, EC doesn't do the payment until you make an API call (well, unless you explicitly ask it to with an added parameter). So you can use either the response from the DoEC API call or set up IPN. If you do choose to actually have the payment take place on PayPal's site you have some small chance of the user paying and not redirecting back successfully (e.g. they close the browser window, or the network hiccups). This should be very rare & you can probably handle it manually or with some other mechanism, but this is one reason people like IPNs: PayPal will try repeatedly to push you the info, so it requires more than a transient failure to not get the word (eventually).
re #3, it sounds like you know to validate the IPNs. And if you use GetExpressCheckout API calls you are hitting PP so again you can be certain of the source of the reply. This is one advantage the API integration model has over the redirection-based mechanisms in Website Payments Standard (although if you were using WPS you could use a feature called PDT to ask it to send you the same signature block as is used in IPN so you could post back to PP to validate the redirection contents).
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.
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