Remco Tolsma
Remco Tolsma
Maybe the user can add a check in `wp-config.php` to disable the cron? ```php define( 'DISABLE_WP_CRON', true ); ``` ```php define( 'WP_ENVIRONMENT_TYPE', 'staging' ); define( 'DISABLE_WP_CRON', ( 'staging' === WP_ENVIRONMENT_TYPE...
> The multilingual compatibility issues are resolved AFAIK, so auto disabling should be possible (otherwise it could be impossible to use subscriptions on some sites). But maybe we are to...
Good catch, we should be able to fix that. In our PayPal gateway integration we (ab)use the REST API for this: - https://github.com/pronamic/wp-pronamic-pay-paypal/blob/6045abc5eb25ee90a9b5c96dbc01ad1d1bd8bbf0/src/Gateway.php#L162-L178 - https://github.com/pronamic/wp-pronamic-pay-paypal/blob/b0e8e519e1795deef42810178d968b61fa5fc4dc/src/NotificationsController.php#L115-L138 - https://github.com/pronamic/wp-pronamic-pay-paypal/blob/b0e8e519e1795deef42810178d968b61fa5fc4dc/src/NotificationsController.php#L335-L377 The advantage of...