From b0db3aeab457a9a612f5dd8363a1b506479a749e Mon Sep 17 00:00:00 2001 From: Thomas Roberts <5656702+opr@users.noreply.github.com> Date: Mon, 3 Jun 2024 19:29:11 +0100 Subject: [PATCH] Update payment method integration links for improved a11y and not to point to WC Blocks repo (#47936) --- docs/code-snippets/customising-checkout-fields.md | 2 +- docs/docs-manifest.json | 6 +++--- docs/payments/payment-gateway-api.md | 2 +- plugins/woocommerce/changelog/update-documentation-links | 5 +++++ 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 plugins/woocommerce/changelog/update-documentation-links diff --git a/docs/code-snippets/customising-checkout-fields.md b/docs/code-snippets/customising-checkout-fields.md index 9b33a8b2af8..4b8aa96aee8 100644 --- a/docs/code-snippets/customising-checkout-fields.md +++ b/docs/code-snippets/customising-checkout-fields.md @@ -9,7 +9,7 @@ Custom code should be copied into your child theme's **functions.php** file. ## Note -Some parts of this document only applies to the shortcode Checkout, for adding fields to the Checkout block, [consult this document.](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md) +Some parts of this document only applies to the shortcode Checkout, for adding fields to the Checkout block, consult [the additional checkout fields documentation](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-block/additional-checkout-fields.md). ## How Are Checkout Fields Loaded to WooCommerce? diff --git a/docs/docs-manifest.json b/docs/docs-manifest.json index 705b9c6e730..b164246bed3 100644 --- a/docs/docs-manifest.json +++ b/docs/docs-manifest.json @@ -97,7 +97,7 @@ "post_title": "Customizing checkout fields using actions and filters", "tags": "code-snippet", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/code-snippets/customising-checkout-fields.md", - "hash": "3b0ce072c92206279fc6d49f3aa4cb0e4fbc2da71a2a5f0ffada81c030c397df", + "hash": "8bbfe162402e484ae89427e1aedaed4faa57555b64b5a77ca800f701524314cb", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/code-snippets/customising-checkout-fields.md", "id": "83097d3b7414557fc80dcf9f8f1a708bbdcdd884" }, @@ -666,7 +666,7 @@ "menu_title": "Payment Gateway API", "tags": "reference", "edit_url": "https://github.com/woocommerce/woocommerce/edit/trunk/docs/payments/payment-gateway-api.md", - "hash": "812b0beff6b99ca3ac54a896be7daf3c2baca79cc0ba6caa6010c5563c97bd8f", + "hash": "f199d04a262bac32d1e22eb3f8410d5c30f10fa86cbb303d4149363a44dc3562", "url": "https://raw.githubusercontent.com/woocommerce/woocommerce/trunk/docs/payments/payment-gateway-api.md", "id": "b337203996650b567f91c70306e1010d6f1ae552" } @@ -1349,5 +1349,5 @@ "categories": [] } ], - "hash": "e5d02f9138e115932f6a9e8da7c954f02d1b4ea987c6e90dbacd5cb01d027a7e" + "hash": "1579358bdc138f095c65a591f1e4e8ad32529375fff451d3f06e1deeeb035956" } \ No newline at end of file diff --git a/docs/payments/payment-gateway-api.md b/docs/payments/payment-gateway-api.md index 17b207877f7..8c9a4844718 100644 --- a/docs/payments/payment-gateway-api.md +++ b/docs/payments/payment-gateway-api.md @@ -19,7 +19,7 @@ Form and iFrame based gateways post data offsite, meaning there are less securit ## Creating a basic payment gateway -**Note:** The instructions below are for the default Checkout page. If you're looking to add a custom payment method for the new Checkout block, check out [this documentation.](https://github.com/woocommerce/woocommerce-blocks/blob/trunk/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md) +**Note:** The instructions below are for the default Checkout page. If you're looking to add a custom payment method for the new Checkout block, check out [the payment method integration documentation](https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce-blocks/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md). Payment gateways should be created as additional plugins that hook into WooCommerce. Inside the plugin, you need to create a class after plugins are loaded. Example: diff --git a/plugins/woocommerce/changelog/update-documentation-links b/plugins/woocommerce/changelog/update-documentation-links new file mode 100644 index 00000000000..fad386438a3 --- /dev/null +++ b/plugins/woocommerce/changelog/update-documentation-links @@ -0,0 +1,5 @@ +Significance: patch +Type: tweak +Comment: This is a documentation update. No changelog entry is necessary + +