Skip to content

Commit de1d81d

Browse files
Pass non-htmliszed urls to processor plugin.
This requires us to update packages to do the htmlising, so may have an impact on adding a release. Probably affected = paybox & payment express.
1 parent 1fe18e6 commit de1d81d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

CRM/Core/Payment/PaymentExtended.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,9 @@ protected function getNotifyUrl($allowLocalHost = FALSE) {
180180
$url = CRM_Utils_System::url(
181181
'civicrm/payment/ipn/' . $this->_paymentProcessor['id'],
182182
array(),
183-
TRUE
183+
TRUE,
184+
NULL,
185+
FALSE
184186
);
185187
}
186188
else {
@@ -189,7 +191,9 @@ protected function getNotifyUrl($allowLocalHost = FALSE) {
189191
array(
190192
'processor_id' => $this->_paymentProcessor['id'],
191193
),
192-
TRUE
194+
TRUE,
195+
NULL,
196+
FALSE
193197
);
194198
}
195199
return $allowLocalHost ? $url : ((stristr($url, '.')) ? $url : '');

0 commit comments

Comments
 (0)