Skip to content

Commit

Permalink
Merge pull request #7 from eileenmcnaughton/eileenmcnaughton-patch-1
Browse files Browse the repository at this point in the history
Use notifyUrl not returnUrl for callback
  • Loading branch information
delatbabel committed Apr 12, 2016
2 parents 75a0ee8 + dc7545d commit a7b1b55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/DirectPostAuthorizeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public function getData()
$data['EPS_TIMESTAMP'] = gmdate('YmdHis');
$data['EPS_FINGERPRINT'] = $this->generateFingerprint($data);
$data['EPS_RESULTURL'] = $this->getReturnUrl();
$data['EPS_CALLBACKURL'] = $this->getReturnUrl();
$data['EPS_CALLBACKURL'] = $this->getNotifyUrl() ?: $this->getReturnUrl();
$data['EPS_REDIRECT'] = 'TRUE';
$data['EPS_CURRENCY'] = $this->getCurrency();

Expand Down

0 comments on commit a7b1b55

Please sign in to comment.