Paypal: How to create recurring profile in payflow - php

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.

Related

PayPal Chained Payment PHP

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.

Creating your own request to Payapl

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.

how to add custom payment mehtod for OpenCart,

The payment methods of my country are not listed in OpenCart Extensions.I want to create one from scratch.Is it possible to write one or I have to use ones comes with OpenCart extensions?
I believe you should be able to implement and use your own "payment method" since OpenCart is open sourced. Just need to spend some time figuring out how it connects.
Well regarding your own "payment method", normally you have to do it through a Gateway. PAYPAL is one of the easiest gateway to be implemented in PHP. Just have a try with their API and some of the sample codes.
There are a lot of other options though. This may be helpful.

PayPal API Website integration with or without CURL

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.

Create a subscription from a previous transaction

This is an Authorize.net question...I am looking for a way to create a subscription from a previous payment a customer has made through an API call or another way instead of having to login to the Merchant Interface. I have done some research but currently have not found a way to do this. Is this possible?
Also, in the Merchant Interface, there is a "View Rebillable Transactions" button that allows you to submit a charge to a card the customer has used in the past. Is it possible to have this same functionality using an API?
Any help is appreciated!
Not yet. It's something they are considering but as of right now you can only do it either using the ARB API by making it immediately or doing it through the merchant interface.

Categories