Skip to content

Commit 0c8ce86

Browse files
Use notifyUrl not returnUrl for callback
Omnipay supports a notifyUrl for callbacks and a returnUrl for the browser. This patch causes the notifyUrl to be used for callbacks by securePay
1 parent 8b10a49 commit 0c8ce86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Message/DirectPostAuthorizeRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function getData()
2222
$data['EPS_TIMESTAMP'] = gmdate('YmdHis');
2323
$data['EPS_FINGERPRINT'] = $this->generateFingerprint($data);
2424
$data['EPS_RESULTURL'] = $this->getReturnUrl();
25-
$data['EPS_CALLBACKURL'] = $this->getReturnUrl();
25+
$data['EPS_CALLBACKURL'] = $this->getNotifyUrl();
2626
$data['EPS_REDIRECT'] = 'TRUE';
2727
$data['EPS_CURRENCY'] = $this->getCurrency();
2828

0 commit comments

Comments
 (0)