paypal API subscription question

Greetings,
I have two questions.
1. Does paypal subscription accounts expect the merchant to hold onto credit card info?
2. If PayPal stores the subscription info, can the month-to-month have different values? (ie. In January the charge is $30, but in Feb the charge is $35)


Thanks
LVL 9
Evan CutlerVolunteer Chief Information OfficerAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Andrew AngellConnect With a Mentor Co-Owner / DeveloperCommented:
Are you working with PHP, by chance?  If so, I'd recommend taking a look at my PHP class library for PayPal.  It wraps all of their API's into a single library and makes it very simple to integrate their stuff.  There are lots of samples included with it.
0
 
Evan CutlerVolunteer Chief Information OfficerAuthor Commented:
ok...thank you....appreciate it...
but I'm asking if the recurring subscriptions can be told how much to charge per month vice a single amount at the beginning of the contract....
0
Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

 
sivagnanam chandrakanthTechnical LeadCommented:
No, recurring payment / subscription cannot have different values for different period
0
 
Andrew AngellCo-Owner / DeveloperCommented:
As sivagnanam_c mentioned, recurring payments / subscription profiles cannot have variable amounts.  

However, you could utilize the Preapproval API in combination with Pay to build your own subscription model that does allow for variable amounts.  

Another option would be utilize Authorizations and Reference Transactions.  With this method you could simply authorize $1.00 on the person's PayPal account or credit card, then immediately void that authorization.  You could then use that transaction ID you got back from the authorization within DoReferenceTransaction to charge any amount necessary at any time in the future.

In any case, PayPal would store the billing information for you so that you don't have to.
0
 
Evan CutlerVolunteer Chief Information OfficerAuthor Commented:
ok...this is awesome...
do you know of any references that has examples to these options?

Thanks so much.
0
 
Evan CutlerVolunteer Chief Information OfficerAuthor Commented:
Thank you so much...
Appreciate the time....
Is there a method to ask further questions?
0
 
Andrew AngellCo-Owner / DeveloperCommented:
Yes, you can ask questions on here, of course, or you can contact me directly.  I offer 30 min of free training on my library if you'd like to get comfortable with it.  We can do a screen share and I can show you how it all works.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.