wp-pronamic-pay icon indicating copy to clipboard operation
wp-pronamic-pay copied to clipboard

WordPress REST API endpoints for gateways, payment methods and extensions

Open remcotolsma opened this issue 3 years ago • 1 comments

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 https://github.com/pronamic/wp-pronamic-pay/issues/154.

remcotolsma avatar Sep 01 '21 14:09 remcotolsma

In https://github.com/pronamic/wp-pronamic-pay/issues/231#issuecomment-933495899 and https://github.com/pronamic/wp-pay-core/commit/67175912057a65d7e9d47cf7e25147dd83a67a27 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.

remcotolsma avatar Oct 05 '21 10:10 remcotolsma