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

Add support for manually editing recurring amount of subscriptions #151

Open
rvdsteege opened this issue Jun 21, 2021 · 10 comments
Open

Add support for manually editing recurring amount of subscriptions #151

rvdsteege opened this issue Jun 21, 2021 · 10 comments
Labels
enhancement feature: recurring-payments plugin: memberpress Label for MemberPress related content (memberpress.com). plugin: restrict-content-pro Label for Restrict Content Pro related content (restrictcontentpro.com).

Comments

@rvdsteege
Copy link
Member

From customer:

Hi, is het mogelijk om het bedrag te wijzigen van de terugkerende betalingen? Kan ik een abonnement wijzigen of moet er een nieuwe abonnement worden aangemaakt en de oude stopgezet?

In the past, we've had the functionality to manually edit the price of an existing subscription. Unfortunately, we had to remove this with the introduction of subscription phases. We can now add it back.

Considerations:

  • Are we modifying the existing subscription phase?
  • Canceling a subscription phase and start a new one?
  • Should price changes result in a new subscription?
@remcotolsma
Copy link
Member

remcotolsma commented Jan 18, 2022

@remcotolsma remcotolsma added the plugin: restrict-content-pro Label for Restrict Content Pro related content (restrictcontentpro.com). label Jan 18, 2022
@remcotolsma remcotolsma moved this to Todo in Pronamic Pay Apr 12, 2022
@rvdsteege
Copy link
Member Author

Also requested in https://secure.helpscout.net/conversation/1846530879/23827 in relation to MemberPress:

Via Memberpress zijn er automatische incasso's afgesloten in 2021. Na een jaar moesten deze opgehoogd worden naar ●●●,- i.p.v. ●●●,-. Echter ging dit niet automatisch, dus hebben we ze in Memberpress handmatig verhoogd. Toch blijkt de betaling in Mollie niet verhoogd te worden. Moet er via Pronamic Pay hierin nog iets aangepast worden wat wij over het hoofd zien?

@remcotolsma
Copy link
Member

MemberPress has some documentation about changing pricing terms on the following page:
https://docs.memberpress.com/article/192-changing-pricing-terms

Changing an Existing Membership's Pricing Terms

Overview

There are a couple of reasons why you may want to change the pricing terms of an existing membership:

  1. Offer a temporary discount
  2. Natural inflation of your product
  3. Wanting to charge more
  4. Changing the billing type (one-time payment to recurring)
  5. Etc.

These are all very good reasons to update the price of your membership. Additionally, you should make note of the following:

  • Whatever you do, do NOT delete your membership to create a different price term if any users currently have active subscriptions to the membership you would like to edit.
  • When updating the price of your Membership in MemberPress, the changes are not applied retroactively to existing users of automatically recurring subscriptions. If the user's are already subscribed to an automatically recurring subscription, they will continue to be billed the amount they originally signed up for each payment cycle. However, If your users are on manually renewing subscriptions (not automatic), they will pay the updated (current) price of the Membership when renewing.
  • You will not be able to change the price of current signups (e.g. increase the cost of recurring billings for existing recurring subscriptions)
    • If your user signed up via Stripe, you can change their billing price as outlined here in the 'Manually changing the billing date or price for a users subscription ' section.
  • All current users will continue on their price until their subscriptions are cancelled.
    • This means that if the subscription is recurring, they will keep their recurring price until their subscription is either cancelled and they sign up again, or it naturally expires and they sign up again.

Making the Change

Making the change for the pricing terms of your membership is as simple as navigating to your WordPress Dashboard > MemberPress > Memberships > Edit on the Membership, and then updating the pricing terms and clicking the 'Update' button to save the changes.

The bottom line is that you cannot adjust the prices of existing active signups in MemberPress. This is confusing because as a user in the MemberPress admin dashboard you get the impression that this is possible:

Schermafbeelding 2022-04-13 om 10 45 09

I think we've considered showing a warning on this page, but personally I think MemberPress should clarify this.

@remcotolsma remcotolsma added the plugin: memberpress Label for MemberPress related content (memberpress.com). label Apr 13, 2022
@remcotolsma
Copy link
Member

As discussed we could hook into MeprHooks::do_action('mepr_subscription_saved', $this); and rebuild the Pronamic subscription phases based on the MemberPress subscription like we do in the WooCommerce extension. The customer asks if we can implement this before the weekend, but we won't be able to do that in such a short time. Shall we discuss this issue internally next Tuesday or Wednesday?

rvdsteege added a commit to pronamic/wp-pronamic-pay-memberpress that referenced this issue Apr 22, 2022
@rvdsteege
Copy link
Member Author

Updating a MemberPress subscription now updates the subscription phases. Also, the payment/subscription status and subscription next payment date are now also mentioned when editing a MemberPress transaction or subscription.

pronamic/wp-pronamic-pay-memberpress@8538853...f3c7d91

@remcotolsma remcotolsma moved this from Todo to In Progress in Pronamic Pay Apr 22, 2022
@remcotolsma
Copy link
Member

Also requested in https://secure.helpscout.net/conversation/2013404346/24488/ in relation with Gravity Forms:

Hallo
Ik wil graag een verhoging doorvoeren van de abonnementen die via mijn site zijn afgesloten:
wordpress -> gravity forms -> pronamic en dan mollie
Hoe kan ik dat doen?

We found out that the "Gravity Forms PayPal Standard Add-On" plugin has support for editing payment amount:

https://github.com/wp-premium/gravityformspaypal/blob/3.4/class-gf-paypal.php#L1756-L1768

Scherm-afbeelding-2022-09-21-om-11-44-15

@remcotolsma remcotolsma moved this from In Progress to Todo in Pronamic Pay Jan 12, 2023
@rvdsteege
Copy link
Member Author

Also requested for Gravity Forms in https://secure.helpscout.net/conversation/2253878869/25692/:

Jullie plugin gebruik ik via Gravity Forms.

  1. Hoe pas ik het bedrag aan van zo'n abonnement?

@rvdsteege
Copy link
Member Author

Also requested for Gravity Forms in https://secure.helpscout.net/conversation/2763181144/28020/:

We hebben succesvol terugkerende betalingen lopen via Gravity forms en Pronamic Pay. Alleen nu willen we het bedrag dat jaarlijks geincasseerd wordt veranderen. Kan dat en zo ja hoe?

@rvdsteege
Copy link
Member Author

Also requested for Gravity Forms in https://secure.helpscout.net/conversation/2780772641/28081:

Nu kom ik recentelijk alleen de situatie tegen dat het abonnement van een klant verlaagd moet worden. Hier zie ik niet direct een mogelijkheid toe, en ik vraag me af of, en zo ja, hoe dit mogelijk is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement feature: recurring-payments plugin: memberpress Label for MemberPress related content (memberpress.com). plugin: restrict-content-pro Label for Restrict Content Pro related content (restrictcontentpro.com).
Projects
Status: Todo
Development

No branches or pull requests

2 participants