Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

paypal API subscription question

Posted on 2013-01-03
8
Medium Priority
?
545 Views
Last Modified: 2016-03-24
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
0
Comment
Question by:Evan Cutler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 9

Author Comment

by:Evan Cutler
ID: 38742713
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
 
LVL 12

Expert Comment

by:sivagnanam chandrakanth
ID: 38742774
No, recurring payment / subscription cannot have different values for different period
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 11

Expert Comment

by:Andrew Angell
ID: 38742783
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
 
LVL 9

Author Comment

by:Evan Cutler
ID: 38742820
ok...this is awesome...
do you know of any references that has examples to these options?

Thanks so much.
0
 
LVL 11

Accepted Solution

by:
Andrew Angell earned 2000 total points
ID: 38742834
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
 
LVL 9

Author Closing Comment

by:Evan Cutler
ID: 38742859
Thank you so much...
Appreciate the time....
Is there a method to ask further questions?
0
 
LVL 11

Expert Comment

by:Andrew Angell
ID: 38742936
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

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question