strangerstudios / pmpro-cancel-on-next-payment-date

Change membership cancellation in Paid Memberships Pro to set expiration for next payment date instead of cancelling immediately.
https://www.paidmembershipspro.com/add-ons/cancel-on-next-payment-date
8 stars 8 forks source link

Change "Cancel" btn to "Cancel auto-renew" when subscription is still active #37

Open mircobabini opened 2 years ago

mircobabini commented 2 years ago

All Submissions:

Changes proposed in this Pull Request:

Resolves #16.

How to test the changes in this Pull Request:

  1. Make a recurring level order
  2. You should now see "Cancel auto-renew" instead of "Cancel"
  3. After you use it, you gonna see "Cancel" to completely cancel the membership

➕ we should provide a snippet to completely remove the cancel button ➕ we should avoid double-clicks on cancel button to cause complete membership cancellation (js hack)

Other information:

Changelog entry

Change "Cancel" btn to "Cancel auto-renew" when subscription is still active