The Trusted Membership Platform That Grows with You: Restrict access to content and charge recurring subscriptions using Stripe, PayPal, and more. Fully open source. 100% GPL.
I propose to change the line 775 in includes/rest-api.php to:
$limit = apply_filters( 'pmpro_trigger_recent_orders_limit', $params['limit'] );
So the limit GET value could be used. Probably it should be set to 1 if missing in the request.
It could be useful when syncing with an accounting system.
I propose to change the line 775 in includes/rest-api.php to: $limit = apply_filters( 'pmpro_trigger_recent_orders_limit', $params['limit'] ); So the limit GET value could be used. Probably it should be set to 1 if missing in the request. It could be useful when syncing with an accounting system.