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

WordPress REST API endpoints for gateways, payment methods and extensions #202

Open
remcotolsma opened this issue Sep 1, 2021 · 1 comment

Comments

@remcotolsma
Copy link
Member

remcotolsma commented Sep 1, 2021

https://github.com/pronamic/wp-pronamic-pay/blob/6.9.6/pronamic-ideal.php

  • /wp-json/pronamic-pay/v1/gateways
  • /wp-json/pronamic-pay/v1/gateways/mollie
  • /wp-json/pronamic-pay/v1/gateways/mollie/methods
  • /wp-json/pronamic-pay/v1/extensions
  • /wp-json/pronamic-pay/v1/extensions/woocommerce
  • /wp-json/pronamic-pay/v1/methods
  • /wp-json/pronamic-pay/v1/methods/ideal

Can be useful for our own marketing websites.

Pending #154.

@remcotolsma
Copy link
Member Author

remcotolsma commented Oct 5, 2021

In #231 (comment) and pronamic/wp-pay-core@6717591 we introduced the /wp-json/pronamic-pay/v1/gateways/:gateway_id endpoint to retrieve a functional gateway based on a gateway configuration post ID. We therefore have to look for another endpoint for a REST API endpoint for purely the gateway integrations that we support. We (@rvdsteege and I) talked about /wp-json/pronamic-pay/v1/integrations/gateways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

1 participant