How to set Paypal Payment pro (direct payment) recurring payments? - paypal

I have a doubt regarding how to make recurring payments with Paypal Payment Pro(Direct Payment).Which API I should call first DoDirectPayment API OR CreateRecurringPaymentsProfile API for making payment.Will calling CreateRecurringPaymentsProfile API alone will make payment? I'm getting confused.
Binta

For recurring payments based on credit card data ('DPRP'), you can immediately call CreateRecurringPaymentsProfile and the recurring payment will be created immediately.
CreateRecurringPaymentsProfile will create the recurring payment and ensure it's billed on the period you told it to in the request.

Related

Paypal Adaptive Chained payment with Recurring Payment

I have already set-up the chained adaptive payment using adaptive paypal API for our website, but we need to have a recurring billing attached to this adaptive payment. IS there a way we can integrate adaptive payment with recurring billing?
Please help...
The Adaptive Payments API doesn't have a recurring billing / subscription subscription in the traditional sense. Instead, it uses Preapproval Profiles / Preapproved Payments.
You need to use the Preapproval API to create a profile for your payer(s), which returns a Preapproval Key. Then you can include that Preapproval Key in Pay requests to trigger an instant payment without any further approval necessary...no redirect to PayPal would be required since the payment was already approved by the Preapproval Profile.
So with that preapproval key you can set your app up to process payments at whatever interval you need.

About Refund api, RefundTransaction api

I'm using Paypal's classic API.
What's the difference between Refund API(in the adaptive payment) and RefundTransaction API(in the merchant package)? When should I use the RefundTransaction API? And any time limit with the Refund API? I know the RefundTransaction API limits within 60 days.
PayPal Adaptive payments require a developer account to have submitted an application for Adaptive Payment APIs and receive approval to use the APIs through PayPal.
If you are not approved to use PayPal Adaptive Payments APIs you should be using the regular Refund Transaction APIs.
Adaptive Payments Information
Just in case you need it here is information on refunding payments:
Refunding Payments Basic APIs
All standard PayPal Accounts are setup with a 60 day refund limit by default.

Express checkout with payflow pro and recurring payment

i am using Paypal manager for the payment i successfully done with credit card payment with recurring payment profile from my website using PayPal manager. but now i want do recurring payment with express checkout using Paypal manager with recurring payment. i am able to do simple direct payment with express checkout using PayPal manager. i found some solution from google that we need to pass two variable
L_BILLINGAGREEMENTDESCRIPTION0 = "Your descriptor"
L_BILLINGTYPE0 = "RecurringPayments"
But i am not able to do recurring payment. I am not getting any error. but my payment have done simple payment not recurring.
Thanks in advance..
There are two things with Express Checkout. First you need to let know the whole process that you will also create some recurring payment profiles.
For that you set BillingType as RecurringPayments when you do doExpressCheckout request.
You will get the Token from paypal and later when user will be back on your site to confirm payment after signing in to Paypal you can use this token to create recurring payment profile the same way as you have done that with credit card.
So after confirming instead of sending doExpressCheckoutPayment you send createRecurringPaymentProfile request.
Of course you can also send doExpressCheckoutPayment if you want also to do some additional payment that is not recurring.

Does Silent Post work in Payflow Pro Recurring Payments?

Does Silent Post work in Payflow Pro Recurring Payments too? How will I know if the payment is successful or not for each recurring Payment Transaction.
For Payflow recurring billing Silent Post does not work.
Silent post is called only when hosted page is invoked.
For manually knowing the status of each recurring payment transaction you can use Inquiry API call.
If you are using PayPal API, you can use IPN.

PayPal subscription / recurring payment with one time fee at beginning

Is it possible to charge a one time fee (like a sign up fee) and then a recurring payment with PayPal?
I think that CreateRecurringPaymentsProfile using the Paypal API is what you are looking for. There is also more in depth in information on recurring payments.