How to take Paypal pre-approval while changing a user from free plan to payable plan.?

Ryan Howard's Avatar

Ryan Howard

30 Dec, 2014 07:18 AM

How to take Paypal pre-approval while changing a user from free plan to payable plan.?

Also how can i restrict user to see only the plan based on his previous months usage instead of showing all the plans.

Please provide technical help which i can use for php integration. including the doc providing link.

  1. Support Staff 1 Posted by Marc Guyer on 30 Dec, 2014 09:58 PM

    Marc Guyer's Avatar

    How to take Paypal pre-approval while changing a user from free plan to payable plan.?

    You can use method=paypal when requesting the customers/edit-subscription method. Some information on how to update a subscription with a PayPal preapproval is here:

    http://support.cheddargetter.com/kb/api-8/using-paypal-with-the-api...

    If you wish to also change the pricing plan at the same time, you'd need to also pass the plan code. That full API method for updating a subscription is documented here:

    https://cheddargetter.com/developers#update-subscription

    Also how can i restrict user to see only the plan based on his previous months usage instead of showing all the plans.

    I'm not exactly sure what you mean but it sounds like some custom logic in your app. Can you elaborate?

  2. Marcela Poffald closed this discussion on 11 Apr, 2018 03:56 PM.

Discussions are closed to public comments.
If you need help with Cheddar please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac