Subscription payment with PayPal Payments API - paypal

How to create a subscription payment (with or without payment right now in addition to subscription) with PayPal Checkout Server Integration and Payments API?
It seems that the "transaction" object type in Payments API has nothing about recurring payments.
I am writing an open source engine to receive payments on the Internet. Please help.

It can be done with the API documented here:
https://developer.paypal.com/docs/api/payments.billing-plans/v1/
https://developer.paypal.com/docs/api/payments.billing-agreements/v1/

Related

Testing Recurring payment in paypal sandbox

I have integrated paypal sandbox but how can i use paypal recurring payment procedure. which parameter is required for recurring and how can i use web hook for recurring.If any suggest me how to use paypal sandbox recurring and provide best solution.
Which type of recurring is being used?
If you are implementing recurring using NVP/SOAP API, kindly refer to the below. Kindly note that webhook is not compatible with NVP/SOAP API
a. Using Express Checkout - https://developer.paypal.com/docs/classic/api/merchant/CreateRecurringPaymentsProfile_API_Operation_NVP/
b. Using PayPal buttons- https://developer.paypal.com/docs/classic/api/button-manager/BMCreateButton_API_Operation_NVP/
for notifications, you can use IPN to get notifications every time a payment is made
https://developer.paypal.com/docs/classic/ipn/integration-guide/IPNIntro/
If you are implementing using REST API, webhook is used for receiving notifications. Refer to the links below
a. https://developer.paypal.com/docs/api/payments.billing-agreements
b. https://developer.paypal.com/docs/api/webhooks/

How can i enable both services i.e., Direct Payment and Express Checkout on Paypal live US business account?

Recently I had implemented Recurring Payments API using the following payment methods:
Direct Payment
Express Checkout
All was working fine on Sandbox account. But on Live account when i enable one payment solution like Express Checkout then service for Direct Payment is disabled and vice-versa. How can i enable both above mentioned payment methods/solutions for Recurring Payments?
You are requested to go to the link below to upgrade your US PayPal account to the Pro account.
https://www.paypal-business.com/paypal-pro
After that you are able to integrate Direct Payment for Recurring Payments.
You can also refer to the link below.
https://www.paypal.com/cgi-bin/webscr?cmd=xpt/cps/general/DPRPLaunch-outside

How can I make a paypal payment to a site user in D7? (How to SEND money to a site user through Paypal?)

How can I make a paypal payment to a site user in D7?
Currently I use commerce and commerce_paypal with express checkout. Is there a way to do these payments without installing any other modules?
I have already created a 'paypal account' field on user profile as I definitely need a paypal account to send payments to I'm looking for the rest of the solution.
You can use MassPayment API or Implicit send money from Adaptive Payments.
Masspay API helps to send money from your PayPal account to multiple receivers.
Implicit Payments is that, in which your application is both the sender of a payment and the caller of the Adaptive Payments API. You would need to create a application at apps.paypal.com to acquire this feature.

Cancelling PayPal-Website Payments Standard's Payment Programmatically

Is there any API available to Cancel or Modify a recurring payment created using PayPal - Website Payments Standard?
Or
Can I use Express Checkout APIs to do this?
If the subscription ID starts with I- you may be able to cancel them with UpdateRecurringPaymentsProfile, but this is not guaranteed.
If they start with S-, you'll have to do it via the Recurring Payments Dashboard.

Paypal Direct Payment API using Paypal account

is it possible to make a payment with user's paypal balance using Direct Payment? I know that Direct Payment offers recurring payments but I'd like to use it not only for credit cards but for paypal account balance too. Is it possible or not at all?
Thanks
Only the Express Checkout paypal api allows it...
Check out the documentation for paypal's Express Checkout
https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_WPGettingStarted
I do not believe that the Direct Payment option allows it at all.