I'm looking at setting up a PayPal chained payment request but I'm struggling right at the start (doesn't look good) haha.
Basically I'm using these API docs: https://developer.paypal.com/webapps/developer/docs/classic/adaptive-payments/ht_ap-delayedChainedPayment-curl-etc/
I'm just wondering where I get the APi details from? With the .developer console you don't get the signature or at least I can't find it.
Can anyone give me any examples of this?
Thanks
You can use this link to easily obtain API user, pass, and signature.
You might also be interested in taking a look at my PHP class library for PayPal. It will make the API calls very simple for you.
Related
I'm implementing a PHP Web application that uses PayPal for payments. I'm using for all the things the REST API.
My problem is how can I get the list of withdraws from PayPal API?
I'm going to use the functionality to withdraw to a bank every day, but I will need to see, with the API, those withdraws...
Any idea? I'm a little bit lost after spending two days searching and trying page on google.
Thank you in advance,
Rui
I don't think the REST API supports it yet. The Classic API does, though, with the TransactionSearch API.
Our PayPal PHP SDK will make this very quick and easy for you to setup.
I am integrating Paypal into a website I am creating. I don't need a lot of the functionality that comes with the API's and I am supporting multiple gateways. I have created my own class to handle the other gateways, however I cannot find out how to send the information. For example:
For authorize, they receive an XML object formatted in a specific way. I gather the required user information, create my own XML object with the proper information and formatting, and send this to Authorize using a curl method.
when trying to decipher the Paypal API I found it confusing with a large amount of dependencies. Is there some place that has the information I am looking for, or has someone already created their own Paypal kit and would point me in the right direction?
Thanks!!
I found what I was looking for a while back and have been meaning to answer this question in case others were having the same issue.
what you are looking for is the paypal NVP API.
https://developer.paypal.com/docs/classic/api/NVPAPIOverview/
There is also a soap style api as well.
specifically I was interested in the following operations:
DoDirectPayment
SetRecurringPaymentsProfile
CreateRecurringPaymentsProfile
and for express checkout:
SetExpressCheckout
SetExpressCheckoutRecurring
GetExpressCheckoutDetails
DoExpressCheckoutPayment
if you google paypal nvp insert operation here that will take you to a development page that will give you key value info.
Hope this helps anyone who was in my shoes.
PayPals documentation is quite confusing:
I need to integrate PayPal API into my website so the customer can pay for a final sum. And im using the sandbox for testing.
Now, technically, i found two different methods of integrating the API:
Without curl - using header('location', $urlwithvars)
With curl https://developer.paypal.com/docs/classic/express-checkout/gs_expresscheckout/
Now what confuses me - is curl only used because you can do a POST call to the paypal server? Because using the first option i also get directed to the paypal procedure and get the JSON response successfully on my notification url.
Im using following library: https://github.com/jersonandyworks/Paypal-Library-by-RomyBlack
Is that enough or should i use the complete curl process like here http://www.sanwebe.com/2012/07/paypal-expresscheckout-with-php
So basically the main question: DO i have to use curl process or is the header-location-url idea enough?
Thanks in advance
That library you're using is actually just using Payments Standard, not Express Checkout. That may be where part of your confusion comes from. This isn't even hitting the actual API's. Not sure if you care about that or not, but I personally prefer the full Express Checkout API as it provides a lot more options and freedom to integrate however you want.
I'd recommend you take a look at my PHP Class library for PayPal, which has all of the actual API's built in. I have a CodeIgniter specific version of it, too. It will do all the API work for you and you can integrate pretty much all of their calls within minutes.
I need to create recurring profile using payflow. Is there any good library for this which I can use.
I know what parameters I have to pass. But, which method I need to call is confusing me.
I am new to this. So, I am not getting exactly what I have to do. I have my payflow details. I can login into my manager.paypal.com and I can see its activated. I have used angelleye library. But, there isn't any library for creating recurring profile using PayFlow.
Please Help.
You can use my library to get this done the same you would anything else you do with PayFlow. Just open up that PayFlow file that's included with my library and adjust the parameters accordingly.
PayPal provides detailed documentation on recurring billing with PayFlow. Any parameters that are shown there but aren't included with my library file can simply be added.
I'm looking for any way of using the PayPal IPN to create subscriptions and update my Databases.
I know it's a bit of a vague question but any script/class that will create a subscription and allow me to do anything automated on payment would be great.
I've been playing around with the PayPal IPN for a while now but can't seem to get anything to work for subscriptions.
Any help would be really appreciated.
Thanks!
IPN is only used for notifications, not to issue commands. You need to either look into their SOAP API or their NVP API.
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_nvp_NVPAPIOverview
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_soap_PayPalSOAPAPIArchitecture
You might want to look through their forum for examples like this (there is probably tons of other premade classes/scripts):
https://www.x.com/thread/36523