Skip to content

Commit

Permalink
Merge pull request #35 from pronamic/34-webhook-url-tooltip-incorrect
Browse files Browse the repository at this point in the history
Update webhook URL tooltip.
  • Loading branch information
rvdsteege authored Nov 14, 2024
2 parents 3c6f00d + c479db1 commit 9472065
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/Integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,13 @@ public function get_settings_fields() {
'readonly' => true,
'section' => 'feedback',
'title' => \__( 'Webhook URL', 'pronamic_ideal' ),
'tooltip' => \__(
'The Webhook URL as sent with each transaction to receive automatic payment status updates on.',
'pronamic_ideal'
'tooltip' => \sprintf(
/* translators: %s: payment provider name */
\__(
'Copy the Webhook URL to the %s dashboard to receive automatic transaction status updates.',
'pronamic_ideal'
),
\__( 'Rabo Smart Pay', 'pronamic_ideal' )
),
'type' => 'text',
'value' => \rest_url( self::REST_ROUTE_NAMESPACE . '/webhook/' . (string) \get_the_ID() ),
Expand Down

0 comments on commit 9472065

Please sign in to comment.