Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: add payment statuses endpoint #4405

Conversation

henryholtgeerts
Copy link
Contributor

Description

Resolves #4386
Uses existing logic found in give_payment_count() to return data at the PaymentStatuses endpoint. This PR also refactors the Reports directory into the API directory and Views directory.

How Has This Been Tested?

Tested locally and throws no errors in the browser console, also passes PHPUnit tests.

Screenshots (jpeg or gifs if applicable):

n/a

Types of changes

New feature (non-breaking change which adds functionality)

Checklist:

  • My code is tested.
  • My code follows the WordPress code style.
  • My code follows has proper inline documentation.

@henryholtgeerts henryholtgeerts changed the base branch from develop to feature/rebuild-reports-page-with-react January 13, 2020 16:55
@henryholtgeerts henryholtgeerts merged commit 131139c into feature/rebuild-reports-page-with-react Jan 13, 2020
@henryholtgeerts henryholtgeerts deleted the feature/add-payment-methods-endpoint branch January 13, 2020 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants