@@ -38,7 +38,7 @@ |
||
| 38 | 38 | { |
| 39 | 39 | $heidelpayNotificationCollection = $this->repository |
| 40 | 40 | ->getPaymentHeidelpayNotificationCollectionByTransactionIdAndPaymentCode( |
| 41 | - (string)$orderItem->getFkSalesOrder(), |
|
| 41 | + (string) $orderItem->getFkSalesOrder(), |
|
| 42 | 42 | static::FINALIZE_PAYMENT_CODE |
| 43 | 43 | ); |
| 44 | 44 | |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | { |
| 49 | 49 | $heidelpayNotificationCollection = $this->repository |
| 50 | 50 | ->getPaymentHeidelpayNotificationCollectionByTransactionIdAndPaymentCode( |
| 51 | - (string)$orderItem->getFkSalesOrder(), |
|
| 51 | + (string) $orderItem->getFkSalesOrder(), |
|
| 52 | 52 | static::PAID_RECEIPT_PAYMENT_CODE |
| 53 | 53 | ); |
| 54 | 54 | |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | { |
| 39 | 39 | $heidelpayNotificationCollection = $this->repository |
| 40 | 40 | ->getPaymentHeidelpayNotificationCollectionByTransactionIdAndPaymentCode( |
| 41 | - (string)$orderItem->getFkSalesOrder(), |
|
| 41 | + (string) $orderItem->getFkSalesOrder(), |
|
| 42 | 42 | static::AUTHORIZATION_PAYMENT_CODE |
| 43 | 43 | ); |
| 44 | 44 | |
@@ -38,7 +38,7 @@ |
||
| 38 | 38 | { |
| 39 | 39 | $heidelpayNotificationCollection = $this->repository |
| 40 | 40 | ->getPaymentHeidelpayNotificationCollectionByTransactionIdAndPaymentCode( |
| 41 | - (string)$orderItem->getFkSalesOrder(), |
|
| 41 | + (string) $orderItem->getFkSalesOrder(), |
|
| 42 | 42 | static::FINALIZE_PAYMENT_CODE |
| 43 | 43 | ); |
| 44 | 44 | |
@@ -13,14 +13,14 @@ |
||
| 13 | 13 | { |
| 14 | 14 | public const PROVIDER_NAME = 'heidelpay'; |
| 15 | 15 | |
| 16 | - public const PAYMENT_METHOD_SOFORT = self::PROVIDER_NAME . 'Sofort'; |
|
| 17 | - public const PAYMENT_METHOD_CREDIT_CARD_SECURE = self::PROVIDER_NAME . 'CreditCardSecure'; |
|
| 18 | - public const PAYMENT_METHOD_PAYPAL_AUTHORIZE = self::PROVIDER_NAME . 'PaypalAuthorize'; |
|
| 19 | - public const PAYMENT_METHOD_PAYPAL_DEBIT = self::PROVIDER_NAME . 'PaypalDebit'; |
|
| 20 | - public const PAYMENT_METHOD_IDEAL = self::PROVIDER_NAME . 'Ideal'; |
|
| 21 | - public const PAYMENT_METHOD_EASY_CREDIT = self::PROVIDER_NAME . 'EasyCredit'; |
|
| 22 | - public const PAYMENT_METHOD_INVOICE_SECURED_B2C = self::PROVIDER_NAME . 'InvoiceSecuredB2c'; |
|
| 23 | - public const PAYMENT_METHOD_DIRECT_DEBIT = self::PROVIDER_NAME . 'DirectDebit'; |
|
| 16 | + public const PAYMENT_METHOD_SOFORT = self::PROVIDER_NAME.'Sofort'; |
|
| 17 | + public const PAYMENT_METHOD_CREDIT_CARD_SECURE = self::PROVIDER_NAME.'CreditCardSecure'; |
|
| 18 | + public const PAYMENT_METHOD_PAYPAL_AUTHORIZE = self::PROVIDER_NAME.'PaypalAuthorize'; |
|
| 19 | + public const PAYMENT_METHOD_PAYPAL_DEBIT = self::PROVIDER_NAME.'PaypalDebit'; |
|
| 20 | + public const PAYMENT_METHOD_IDEAL = self::PROVIDER_NAME.'Ideal'; |
|
| 21 | + public const PAYMENT_METHOD_EASY_CREDIT = self::PROVIDER_NAME.'EasyCredit'; |
|
| 22 | + public const PAYMENT_METHOD_INVOICE_SECURED_B2C = self::PROVIDER_NAME.'InvoiceSecuredB2c'; |
|
| 23 | + public const PAYMENT_METHOD_DIRECT_DEBIT = self::PROVIDER_NAME.'DirectDebit'; |
|
| 24 | 24 | |
| 25 | 25 | public const PAYMENT_OPTION_NEW_REGISTRATION = 'new-registration'; |
| 26 | 26 | public const PAYMENT_OPTION_EXISTING_REGISTRATION = 'existing-registration'; |
@@ -55,12 +55,12 @@ |
||
| 55 | 55 | |
| 56 | 56 | $attributes = $xmlElement->attributes(); |
| 57 | 57 | if ($xmlElement->count() > 0 && $attributes->count() > 0) { |
| 58 | - $result['@attributes'] = ((array)$attributes)['@attributes']; |
|
| 58 | + $result['@attributes'] = ((array) $attributes)['@attributes']; |
|
| 59 | 59 | } |
| 60 | 60 | |
| 61 | 61 | foreach ($xmlElement->children() as $node) { |
| 62 | 62 | /** @var \SimpleXMLElement $node */ |
| 63 | - $result[$node->getName()] = $node->count() > 0 ? $this->simpleXmlToArray($node) : (string)$node; |
|
| 63 | + $result[$node->getName()] = $node->count() > 0 ? $this->simpleXmlToArray($node) : (string) $node; |
|
| 64 | 64 | } |
| 65 | 65 | |
| 66 | 66 | return $result; |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | class AuthorizeTransactionHandler implements AuthorizeTransactionHandlerInterface |
| 18 | 18 | { |
| 19 | 19 | public const ERROR_MESSAGE_AUTHORIZE_TRANSACTION_NOT_SUPPORTED = |
| 20 | - 'Attempt to call authorize transaction on payment method \'%s\' ' . |
|
| 20 | + 'Attempt to call authorize transaction on payment method \'%s\' '. |
|
| 21 | 21 | 'that does not support it'; |
| 22 | 22 | |
| 23 | 23 | /** |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | class AuthorizeOnRegistrationTransactionHandler implements AuthorizeOnRegistrationTransactionHandlerInterface |
| 17 | 17 | { |
| 18 | 18 | public const ERROR_MESSAGE_AUTHORIZE_ON_REGISTRATION_TRANSACTION_NOT_SUPPORTED = |
| 19 | - 'Attempt to call authorize on registration transaction on payment method \'%s\' ' . |
|
| 19 | + 'Attempt to call authorize on registration transaction on payment method \'%s\' '. |
|
| 20 | 20 | 'that does not support it'; |
| 21 | 21 | |
| 22 | 22 | /** |