Skip to content

Commit 5fd688e

Browse files
Merge pull request #273 from wmortada/272-notification-url
Generate correct URL for WordPress shortcode
2 parents 68dc4d0 + fad6e85 commit 5fd688e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CRM/Core/Payment/PaymentExtended.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ protected function getReturnFailUrl($key, $participantID = NULL, $eventID = NULL
199199
* URL to notify outcome of transaction.
200200
*/
201201
protected function getNotifyUrl($allowLocalHost = FALSE) {
202-
$url = CRM_Utils_System::url(
202+
$url = CRM_Utils_System::getNotifyUrl(
203203
'civicrm/payment/ipn/' . $this->formatted_transaction_id . '/' . $this->_paymentProcessor['id'],
204204
NULL,
205205
TRUE,

0 commit comments

Comments
 (0)