src/Action/CaptureAction.php 1 location
|
@@ 51-56 (lines=6) @@
|
48 |
|
$details['OrderResultURL'] = $targetUrl; |
49 |
|
} |
50 |
|
|
51 |
|
if (empty($details['ReturnURL']) === true) { |
52 |
|
$notifyToken = $this->tokenFactory->createNotifyToken( |
53 |
|
$token->getGatewayName(), $token->getDetails() |
54 |
|
); |
55 |
|
$details['ReturnURL'] = $notifyToken->getTargetUrl(); |
56 |
|
} |
57 |
|
$this->gateway->execute(new CreateTransaction($details)); |
58 |
|
} |
59 |
|
|
src/Action/CaptureLogisticsAction.php 1 location
|
@@ 60-65 (lines=6) @@
|
57 |
|
return; |
58 |
|
} |
59 |
|
|
60 |
|
if (empty($details['ServerReplyURL']) === true) { |
61 |
|
$notifyToken = $this->tokenFactory->createNotifyToken( |
62 |
|
$token->getGatewayName(), $token->getDetails() |
63 |
|
); |
64 |
|
$details['ServerReplyURL'] = $notifyToken->getTargetUrl(); |
65 |
|
} |
66 |
|
|
67 |
|
if (empty($details['LogisticsC2CReplyURL']) === true) { |
68 |
|
$details['LogisticsC2CReplyURL'] = $details['ServerReplyURL']; |