From 6671e028331a9e44f919976ffc30b2134f709707 Mon Sep 17 00:00:00 2001 From: Remco Tolsma <869674+remcotolsma@users.noreply.github.com> Date: Fri, 3 May 2024 11:22:47 +0200 Subject: [PATCH] Update hooks.md --- docs/hooks.md | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/docs/hooks.md b/docs/hooks.md index 4aec730..66592f6 100644 --- a/docs/hooks.md +++ b/docs/hooks.md @@ -19,32 +19,10 @@ Argument | Type | Description -------- | ---- | ----------- `$payment` | `\Pronamic\WordPress\Pay\Payments\Payment` | Payment to log. -Source: [src/Gateway.php](../src/Gateway.php), [line 364](../src/Gateway.php#L364-L373) +Source: [src/Gateway.php](../src/Gateway.php), [line 513](../src/Gateway.php#L513-L522) ## Filters -### `pronamic_pay_omnikassa_2_merchant_return_url` - -*Filters the OmniKassa 2.0 merchant return URL.* - -OmniKassa 2 requires for each order announcement a merchant return URL. -OmniKassa 2 does not allow all merchant return URL's. An order -announcement with a merchant return URL's with the TLD `.test` will -for example result in the following error: - -> merchantReturnURL is not a valid web address - -This can be very inconvenient for testing OmniKassa 2, therefor we -introduced this filter. - -**Arguments** - -Argument | Type | Description --------- | ---- | ----------- -`$merchant_return_url` | `string` | Merchant return URL. - -Source: [src/Gateway.php](../src/Gateway.php), [line 96](../src/Gateway.php#L96-L113) - ### `pronamic_pay_omnikassa_2_request_args` *Filters the OmniKassa 2.0 remote request arguments.* @@ -62,8 +40,8 @@ Argument | Type | Description -------- | ---- | ----------- `$args` | `array` | WordPress remote request arguments. -Source: [src/Client.php](../src/Client.php), [line 170](../src/Client.php#L170-L183) +Source: [src/Client.php](../src/Client.php), [line 96](../src/Client.php#L96-L109) -

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.1.0

+

Pronamic WordPress Documentor
Generated by Pronamic WordPress Documentor 1.2.0