Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEV:Upon renewal we need to create subscription inside STRIPE. #16

Open
ravisoni6262 opened this issue Dec 13, 2022 · 0 comments
Open

Comments

@ravisoni6262
Copy link
Member

ravisoni6262 commented Dec 13, 2022

  • Set Expiry date to all users who's not connected with stripe
  • The logic inside PMPRO to detect renewal: If there is a new payment but the level is not changing, (the level is the same as the previous) then we can consider it a renewal payment
  • When renew membership create subscription to users and connect to stripe
  • Upon renewal payment, we will add a subscription inside STRIPE, and no need for approval.
  • Members must renew at discounted rate that is $275 (Billing amount of level)

Solution: We are adding LOGIC:
If the old membership id is the same as the new checkout order id, then we consider it a renewal.
During checkout save payment indent id in order notes.

@ravisoni6262 ravisoni6262 changed the title Upon renewal we need to create subscription inside STRIPE. DEV:Upon renewal we need to create subscription inside STRIPE. Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant