PayPal API Reccuring payments - payments every 15 months - php

How i can create recurring payment, that payments will every 15th month using PP API?
What params i need use?

you can use the IPN service to verify payment and, express checkout to kick off a subscription with paypal. The subscription would be held between your customer and paypal. NOT you and your customer.
i.e.: Your customer would go through PayPal to cancel the subscription, which would notify you and your script.
http://www.micahcarrick.com/php-paypal-ipn-integration-class.html
a quick google search returned that library.

Related

PayPal & Stripe recurring billing get last user payment date

I use Stripe and Paypal REST PHP apis for recurring billing subscriptions. When subscription is cancelled I have webhooks which removes user account.
So, If user doesn't have money on bank account - Stripe & PayPal cancels their subscription, and then my webhook removes this user's account.
I have a question: how to get customers last payment date within Stripe & PayPal apis?
I need that because, If user pays for 1 month forward and then cancels the subscription their account would be canceled right away and they will lose access for the month which he already payed for.
I want to let them use website service for 1 month and then cancel the subscription.
I searched last payment date in subscription details - https://stripe.com/docs/api?lang=php#retrieve_subscription
But I can't find that, please, help me to find this for stripe and paypal if possible
Thanks,

How to add Paypal IPN into my website for getting subscription status after few days

I am creating recurring payment using paypal and want the status of the payment after few days.I mean i want to check user is still subscribe us or cancel the subscription. if he/she cancel the subscription or i want to update his status into my website.
Can you anyone help me out please.
Thank you.
If you are using Standard subscriptions or NVP/SOAP recurring payments APIs when you will get an IPN when the profile is canceled, so you can automate the processing of that. In the case of recurring payments APIs you could also use GetRecurringPaymentsProfileDetails any time you want to check the status.
If you are using REST API billing agreements / billing plans then you can use Webhooks, which are similar to IPN. You could also use GET to pull plan details.

Is it possible to make Paypal payment after 29 days of of capturing buyer credentials

My requirement is Buyer will authorize payment through credit card or express checkout via Paypal. Initially balance will not get deducted. after 29 days balance automatically deducted if he not canceled the transaction.
I have Two payment option one is Paypal express checkout and another is Paypal pro credit card processing.
Currently Instant payment using both payment options is working fine in my system. I just want to delay the payment for 30 days. Please someone help me if it is possible.
You need to use this - Billing plans

Several questions about paypal pro subscriptions flow

I have integrated standard paypal with one of sites and it works as follows: user selects which subscription to buy, he is redirected to paypal, paypal sends IPN response, I process it and then every X days PayPal sends a new IPN notifying site that user has been successfully charged for new subscription iteration. Now the problem is that user needs to have paypal account to sign up for such subscription.
The customer contacted PayPal and found out that it is possible to avoid having user to use their PayPal account to buy subscription when seller uses paypal pro account. Is it really so? Will I be able to gather user's card info, then send some request to PayPal API and have the subscription created. If yes, what will happen next? PayPal will be sending me IPN requests every X days notifying site that the card has been successfully charged?
Also, what is the general flow? Do I always have to gather card info and send it to paypal api or can I redirect user to paypal in a similar way as standard paypal functions?
Yes, this is possible. You would need to sign up for PayPal Website Payments Pro and Direct Payment Recurring Payments. You can then use the CreateRecurringPaymentsProfile API and specify the card details directly in a single API call.
This will create a recurring profile, which is billed every X days / months, depending on what you specified as the billing period in CreateRecurringPaymentsProfile.
Alternatively, you can also sign up for PayPal Premium Services (for the UK) or PayPal Enhanced Recurring Payments (for the US). This allows you to accept subscription payments from guest users, using the exact same integration you have at the moment, except a 'guest payment' section will be added to the PayPal checkout screen, so buyers won't be forced to create a PayPal account to sign up for your subscriptions any longer.
(Note: Enhanced Recurring Payments / Premium Services has other benefits as well, such as Installment Plans, but guest subscription payments is definitely the biggest benefit).

Braintree subscription for recurring payments

Let a customer has subscribed for a product for $10 monthly and his starting date is 11-May-2011 which ends on 10-June-2011, So my question was that after expiry of subscription on 11-June-2011 who will charge for recurring payment from customer. Braintree will charge the customer or we (merchant) have to send a request for that to Braintree.
If merchant have to charge then what is the process and it would be great if someone provides PHP code sample.
You can set up a subscription in Braintree which will charge your customers monthly. You need to set up the subscription plan manually (such as $10 per month) in your braintree admin control panel, but you use the API to sign up customers to the subscription plan you created, and do not need to have your app remind braintree to bill each month.
The Braintree API docs to setup subscriptions in PHP are at the following link:
http://www.braintreepayments.com/docs/php/subscriptions/overview

Categories