pronamic / wp-pronamic-pay-restrict-content-pro

Restrict Content Pro driver for the WordPress payment processing library. http://www.wp-pay.org/extensions/restrict-content-pro/
3 stars 1 forks source link

Add feature to update a Pronamic Pay subscription from a Restrict Content membership #17

Closed remcotolsma closed 4 months ago

remcotolsma commented 4 months ago

In https://github.com/pronamic/wp-pronamic-pay-restrict-content-pro/issues/16 we are dealing with a situation where the Pronamic Pay subscription phases have become contaminated. The Pronamic Pay user interface currently does not provide an option to clean this up. There is the option to update Restrict Content memberships. However, Restrict Content warns that 'Expiration Date' changes have no effect on renewals:

Changing the expiration date will not affect when renewal payments are processed.

Scherm­afbeelding 2024-05-07 om 11 33 30

This is probably due to the fact that recurring payments with, for example, Stripe and PayPal are scheduled with these platforms. When using Pronamic Pay in combination with Mollie, that is not the case. In our case, we can correctly transfer changes in the 'Expiration Date' to the Pronamic Pay subscription. It would be nice if a Pronamic Pay subscription could be updated based on the Restrict Content membership. Similar to how we do this in our WooCommerce Subscriptions integration.