About Subscription

ryonnsan
Contributor
Contributor

Hi all,

 

I have been a Paypal user since years ago, but I am still not an expert of setting up Paypal gateway.

 

I have a case about setting up a Paypal payment gateway for subscription, while the subscription can change in the future.

So in my case, the user is able to subscribe to a certain product, say for $5.00/month.

However, after a few months, the user might also able to add subscription to another product, which cost, $4.00/month.

Thus the total will change from $5.00/month to $9.00/month

 

How can I set the system to change the subscription of this user? I am using PHP.

I am not sure where to start for this subscription modification matter,

and also I found in the Paypal document that "For recurring payments with Express Checkout, the payment amount can be increased by no more than 20% every 180 days (starting when the profile is created)." 

https://developer.paypal.com/docs/classic/api/merchant/UpdateRecurringPaymentsProfile_API_Operation_...

I am lost. Please help.

 

Regards,

Ron

 

Login to Me Too
1 ACCEPTED SOLUTION

Accepted Solutions
Solved

niknah0
Contributor
Contributor

 

 

You can setup the user with the pre-approval api.

 

https://developer.paypal.com/docs/classic/api/adaptive-payments/Preapproval_API_Operation/

 

Then use the Pay API to charge them.

https://developer.paypal.com/docs/classic/api/adaptive-payments/Pay_API_Operation/

 

 

When the user enters in PayPal they accept the amount that they'll be charged.

They don't want people being sneaky and changing the subscription too much in the background.

 

View solution in original post

Login to Me Too
1 REPLY 1
Solved

niknah0
Contributor
Contributor

 

 

You can setup the user with the pre-approval api.

 

https://developer.paypal.com/docs/classic/api/adaptive-payments/Preapproval_API_Operation/

 

Then use the Pay API to charge them.

https://developer.paypal.com/docs/classic/api/adaptive-payments/Pay_API_Operation/

 

 

When the user enters in PayPal they accept the amount that they'll be charged.

They don't want people being sneaky and changing the subscription too much in the background.

 

Login to Me Too

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.