Avatar of Evan Cutler
Evan CutlerFlag for United States of America

asked on 

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
PHPJavaScriptHTMLPayPal

Avatar of undefined
Last Comment
Andrew Angell
Avatar of Minh Võ Công
Minh Võ Công
Flag of Viet Nam image

Avatar of Evan Cutler
Evan Cutler
Flag of United States of America image

ASKER

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....
No, recurring payment / subscription cannot have different values for different period
Avatar of Andrew Angell
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.
Avatar of Evan Cutler
Evan Cutler
Flag of United States of America image

ASKER

ok...this is awesome...
do you know of any references that has examples to these options?

Thanks so much.
ASKER CERTIFIED SOLUTION
Avatar of Andrew Angell
Andrew Angell
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Evan Cutler
Evan Cutler
Flag of United States of America image

ASKER

Thank you so much...
Appreciate the time....
Is there a method to ask further questions?
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.
JavaScript
JavaScript

JavaScript is a dynamic, object-based language commonly used for client-side scripting in web browsers. Recently, server side JavaScript frameworks have also emerged. JavaScript runs on nearly every operating system and in almost every mainstream web browser.

127K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo