pronamic / wp-pronamic-pay

The Pronamic Pay plugin allows you to easily accept payments with payment methods like credit card, iDEAL, Bancontact and Sofort through a variety of payment providers on your WordPress website.
https://pronamicpay.com
34 stars 14 forks source link

Re-build `send_subscription_renewal_notices()` function with https://actionscheduler.org/ #264

Closed remcotolsma closed 2 years ago

remcotolsma commented 2 years ago

https://github.com/pronamic/wp-pay-core/commit/f04e0024c405cbe8c358ee0dd31e0bc13f0a8294#diff-2c869294ad3d8e04ec61cad00d2531063a05ec7b58a2adc1a7bf662e7735ed9c

Also see: https://github.com/pronamic/wp-pronamic-pay/issues/263.

remcotolsma commented 2 years ago

The send_subscription_renewal_notices() method was temporarily removed in https://github.com/pronamic/wp-pay-core/commit/af716fd18923b539038e4d349e51acd51537863f#diff-2c869294ad3d8e04ec61cad00d2531063a05ec7b58a2adc1a7bf662e7735ed9c.

Al the code was in place in version 3.2.0https://github.com/pronamic/wp-pay-core/blob/3.2.0/src/Subscriptions/SubscriptionsModule.php.

remcotolsma commented 2 years ago

Work in progress in https://github.com/pronamic/wp-pay-core/commit/c753d34a2f8226ce1c81611b5b16637241ac3ea1.

remcotolsma commented 2 years ago

Added a test https://github.com/pronamic/wp-pay-core/commit/5ad3e65cef5fad5d0f88ddd8755b9eebce76daef.