Click here to Skip to main content
15,441,434 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Respected Sir,

I want to integrate recurring payment with credit card by paypal using restfull api through mvc c# Technology.

I have read
link article and i want to use it

But in this article there is no any parameter which hold 'No. of Days' for my subscription plan for which my payment would be do for next payment

plz sir suggest me exact way for api so i can implement recurring payment


(mohan raj)
ZurdoDev 7-Dec-15 10:27am    
For recurring payments, you can always resubmit each month yourself. I'm not exactly sure what your question is.
Garth J Lancaster 7-Dec-15 20:46pm    
:-) thats the way it's supposed to work, recurring payments are the merchant's responsibility - I had a question yesterday about someone wanting to add something to a third party's REST API - my response was along the lines of 'good luck, talk to them about it'
ZurdoDev 8-Dec-15 7:06am    
It would be a good feature for a payment api to have. I wonder if there are some that will support it.

1 solution

PayPal doesn't care about 'Number of days' - thats really for a Merchant (ie you in this case)
to manage - it could be anything the Merchant wants that makes business sense for a 'subscription plan' - for example

renew monthly
renew 6-monthly/half yearly
renew yearly

So, if its a credit card the customer is using, you can

1) perform an initial payment as a recurring option (performing an initial payment is good, it verifies the customer is financial and the card is authentic)

2) store the credit card in the Paypal vault (read the Paypal API docs - maybe the recurring option does this, maybe its a single step) and get a Token in return

From 1 or 2 you get a Token - you store this securely against the customer account

3) you use the customer's token to perform subsequent transactions at renewal periods determined by you

thats the 'basic gist' - reading the Paypal API/Developer doc will Im pretty sure give you more detailed information - you should be able to reuse most of that code and ideas from that article
Share this answer
mohan_raj123 10-Dec-15 1:38am     CRLF
Sir, I want help for my appication . It has some 'subscription plans' I want payer store credit card information on paypal server, after 6 month payment done from this credit card automatically . For this task what is proper method of rest full api for recurring payment and what are the objects and parameters so i can implement it. plz help, i would be appreciate to you, Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900