You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a web integrator, I want to request Give API for oldest donations by using "end" request param so that returns the "end parameter invalid" error.
Details
When requesting wp-json/give-api/v2/admin/donations with end parameter but without start parameter, the request is rejected because "end parameter invalid".
Expected Behavior
When start is missing, end should not be tested to be after start.
This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 14 additional days. Note, if this Issue is reporting a bug, please reach out to our support at https://givewp.com/support. If this is a feature request, please see our feedback board at feedback.givewp.com — that’s the best place to make feature requests, unless you’re providing a PR.
User Story
As a web integrator, I want to request Give API for oldest donations by using "end" request param so that returns the "end parameter invalid" error.
Details
When requesting
wp-json/give-api/v2/admin/donations
withend
parameter but withoutstart
parameter, the request is rejected because "end parameter invalid".Expected Behavior
When
start
is missing,end
should not be tested to be afterstart
.Steps to Reproduce
wp-json/give-api/v2/admin/donations?end=2023-12-31
Acceptance Criteria
wp-json/give-api/v2/admin/donations?end=2100-12-31
(very far away date) should return the same result as requesting withoutend
parameter.The text was updated successfully, but these errors were encountered: