@@ -85,16 +85,16 @@ discard block |
||
85 | 85 | protected function getNotificationTypeToHandlerMap() |
86 | 86 | { |
87 | 87 | return [ |
88 | - AmazonPayConfig::IPN_REQUEST_TYPE_PAYMENT_AUTHORIZE => function (AmazonpayIpnPaymentRequestTransfer $ipnRequest) { |
|
88 | + AmazonPayConfig::IPN_REQUEST_TYPE_PAYMENT_AUTHORIZE => function(AmazonpayIpnPaymentRequestTransfer $ipnRequest) { |
|
89 | 89 | return $this->createIpnPaymentAuthorizeHandler($ipnRequest); |
90 | 90 | }, |
91 | - AmazonPayConfig::IPN_REQUEST_TYPE_PAYMENT_CAPTURE => function (AmazonpayIpnPaymentRequestTransfer $ipnRequest) { |
|
91 | + AmazonPayConfig::IPN_REQUEST_TYPE_PAYMENT_CAPTURE => function(AmazonpayIpnPaymentRequestTransfer $ipnRequest) { |
|
92 | 92 | return $this->createIpnPaymentCaptureHandler($ipnRequest); |
93 | 93 | }, |
94 | - AmazonPayConfig::IPN_REQUEST_TYPE_PAYMENT_REFUND => function (AmazonpayIpnPaymentRequestTransfer $ipnRequest) { |
|
94 | + AmazonPayConfig::IPN_REQUEST_TYPE_PAYMENT_REFUND => function(AmazonpayIpnPaymentRequestTransfer $ipnRequest) { |
|
95 | 95 | return $this->createIpnPaymentRefundHandler($ipnRequest); |
96 | 96 | }, |
97 | - AmazonPayConfig::IPN_REQUEST_TYPE_ORDER_REFERENCE_NOTIFICATION => function (AmazonpayIpnPaymentRequestTransfer $ipnRequest) { |
|
97 | + AmazonPayConfig::IPN_REQUEST_TYPE_ORDER_REFERENCE_NOTIFICATION => function(AmazonpayIpnPaymentRequestTransfer $ipnRequest) { |
|
98 | 98 | return $this->createIpnOrderReferenceHandler($ipnRequest); |
99 | 99 | }, |
100 | 100 | ]; |
@@ -106,22 +106,22 @@ discard block |
||
106 | 106 | protected function getAuthorizeHandlerMap() |
107 | 107 | { |
108 | 108 | return [ |
109 | - AmazonPayConfig::STATUS_SUSPENDED => function () { |
|
109 | + AmazonPayConfig::STATUS_SUSPENDED => function() { |
|
110 | 110 | return $this->createIpnPaymentAuthorizeSuspendedHandler(); |
111 | 111 | }, |
112 | - AmazonPayConfig::STATUS_DECLINED => function () { |
|
112 | + AmazonPayConfig::STATUS_DECLINED => function() { |
|
113 | 113 | return $this->createIpnPaymentAuthorizeDeclineHandler(); |
114 | 114 | }, |
115 | - AmazonPayConfig::STATUS_PAYMENT_METHOD_INVALID => function () { |
|
115 | + AmazonPayConfig::STATUS_PAYMENT_METHOD_INVALID => function() { |
|
116 | 116 | return $this->createIpnPaymentAuthorizeSuspendedHandler(); |
117 | 117 | }, |
118 | - AmazonPayConfig::STATUS_OPEN => function () { |
|
118 | + AmazonPayConfig::STATUS_OPEN => function() { |
|
119 | 119 | return $this->createIpnPaymentAuthorizeOpenHandler(); |
120 | 120 | }, |
121 | - AmazonPayConfig::STATUS_CLOSED => function () { |
|
121 | + AmazonPayConfig::STATUS_CLOSED => function() { |
|
122 | 122 | return $this->createIpnPaymentAuthorizeClosedHandler(); |
123 | 123 | }, |
124 | - AmazonPayConfig::STATUS_EXPIRED => function () { |
|
124 | + AmazonPayConfig::STATUS_EXPIRED => function() { |
|
125 | 125 | return $this->createIpnPaymentAuthorizeClosedHandler(); |
126 | 126 | }, |
127 | 127 | ]; |
@@ -193,13 +193,13 @@ discard block |
||
193 | 193 | protected function getCaptureHandlerMap() |
194 | 194 | { |
195 | 195 | return [ |
196 | - AmazonPayConfig::STATUS_DECLINED => function () { |
|
196 | + AmazonPayConfig::STATUS_DECLINED => function() { |
|
197 | 197 | return $this->createIpnPaymentCaptureDeclineHandler(); |
198 | 198 | }, |
199 | - AmazonPayConfig::STATUS_COMPLETED => function () { |
|
199 | + AmazonPayConfig::STATUS_COMPLETED => function() { |
|
200 | 200 | return $this->createIpnPaymentCaptureCompletedHandler(); |
201 | 201 | }, |
202 | - AmazonPayConfig::STATUS_CLOSED => function () { |
|
202 | + AmazonPayConfig::STATUS_CLOSED => function() { |
|
203 | 203 | return $this->createIpnEmptyHandler(); |
204 | 204 | }, |
205 | 205 | ]; |
@@ -255,10 +255,10 @@ discard block |
||
255 | 255 | protected function getRefundHandlerMap() |
256 | 256 | { |
257 | 257 | return [ |
258 | - AmazonPayConfig::STATUS_DECLINED => function () { |
|
258 | + AmazonPayConfig::STATUS_DECLINED => function() { |
|
259 | 259 | return $this->createIpnPaymentRefundDeclineHandler(); |
260 | 260 | }, |
261 | - AmazonPayConfig::STATUS_COMPLETED => function () { |
|
261 | + AmazonPayConfig::STATUS_COMPLETED => function() { |
|
262 | 262 | return $this->createIpnPaymentRefundCompletedHandler(); |
263 | 263 | }, |
264 | 264 | ]; |
@@ -307,25 +307,25 @@ discard block |
||
307 | 307 | protected function getOrderReferenceHandlerMap() |
308 | 308 | { |
309 | 309 | return [ |
310 | - AmazonPayConfig::STATUS_OPEN => function () { |
|
310 | + AmazonPayConfig::STATUS_OPEN => function() { |
|
311 | 311 | return $this->createIpnOrderReferenceOpenHandler(); |
312 | 312 | }, |
313 | - AmazonPayConfig::STATUS_AMAZON_CLOSED => function () { |
|
313 | + AmazonPayConfig::STATUS_AMAZON_CLOSED => function() { |
|
314 | 314 | return $this->createIpnOrderReferenceClosedHandler(); |
315 | 315 | }, |
316 | - AmazonPayConfig::STATUS_EXPIRED => function () { |
|
316 | + AmazonPayConfig::STATUS_EXPIRED => function() { |
|
317 | 317 | return $this->createIpnEmptyHandler(); |
318 | 318 | }, |
319 | - AmazonPayConfig::STATUS_CLOSED => function () { |
|
319 | + AmazonPayConfig::STATUS_CLOSED => function() { |
|
320 | 320 | return $this->createIpnEmptyHandler(); |
321 | 321 | }, |
322 | - AmazonPayConfig::STATUS_PAYMENT_METHOD_INVALID => function () { |
|
322 | + AmazonPayConfig::STATUS_PAYMENT_METHOD_INVALID => function() { |
|
323 | 323 | return $this->createIpnOrderReferenceSuspendedHandler(); |
324 | 324 | }, |
325 | - AmazonPayConfig::STATUS_SUSPENDED => function () { |
|
325 | + AmazonPayConfig::STATUS_SUSPENDED => function() { |
|
326 | 326 | return $this->createIpnOrderReferenceSuspendedHandler(); |
327 | 327 | }, |
328 | - AmazonPayConfig::STATUS_CANCELLED => function () { |
|
328 | + AmazonPayConfig::STATUS_CANCELLED => function() { |
|
329 | 329 | return $this->createIpnOrderReferenceCancelledHandler(); |
330 | 330 | }, |
331 | 331 | ]; |