@@ -15,7 +15,7 @@ |
||
| 15 | 15 | class ReservationTransactionHandler implements ReservationTransactionHandlerInterface |
| 16 | 16 | { |
| 17 | 17 | const ERROR_MESSAGE_RESERVATION_TRANSACTION_NOT_SUPPORTED = |
| 18 | - 'Attempt to call reservation transaction on payment method \'%s\' ' . |
|
| 18 | + 'Attempt to call reservation transaction on payment method \'%s\' '. |
|
| 19 | 19 | 'that does not support it'; |
| 20 | 20 | |
| 21 | 21 | /** |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | class FinalizeTransactionHandler implements FinalizeTransactionHandlerInterface |
| 16 | 16 | { |
| 17 | 17 | const ERROR_MESSAGE_FINALIZE_TRANSACTION_NOT_SUPPORTED = |
| 18 | - 'Attempt to call finalize transaction on payment method \'%s\' ' . |
|
| 18 | + 'Attempt to call finalize transaction on payment method \'%s\' '. |
|
| 19 | 19 | 'that does not support it'; |
| 20 | 20 | |
| 21 | 21 | /** |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | class AuthorizeOnRegistrationTransactionHandler implements AuthorizeOnRegistrationTransactionHandlerInterface |
| 16 | 16 | { |
| 17 | 17 | const ERROR_MESSAGE_AUTHORIZE_ON_REGISTRATION_TRANSACTION_NOT_SUPPORTED = |
| 18 | - 'Attempt to call authorize on registration transaction on payment method \'%s\' ' . |
|
| 18 | + 'Attempt to call authorize on registration transaction on payment method \'%s\' '. |
|
| 19 | 19 | 'that does not support it'; |
| 20 | 20 | /** |
| 21 | 21 | * @var \SprykerEco\Zed\Heidelpay\Business\Payment\Transaction\AuthorizeOnRegistrationTransactionInterface |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | class InitializeTransactionHandler implements InitializeTransactionHandlerInterface |
| 16 | 16 | { |
| 17 | 17 | const ERROR_MESSAGE_INITIALIZE_TRANSACTION_NOT_SUPPORTED = |
| 18 | - 'Attempt to call initialize transaction on payment method \'%s\' ' . |
|
| 18 | + 'Attempt to call initialize transaction on payment method \'%s\' '. |
|
| 19 | 19 | 'that does not support it'; |
| 20 | 20 | |
| 21 | 21 | /** |
@@ -217,7 +217,7 @@ |
||
| 217 | 217 | */ |
| 218 | 218 | protected function streamRedirectResponse($redirectUrl) |
| 219 | 219 | { |
| 220 | - $callback = function () use ($redirectUrl) { |
|
| 220 | + $callback = function() use ($redirectUrl) { |
|
| 221 | 221 | echo $redirectUrl; |
| 222 | 222 | }; |
| 223 | 223 | |
@@ -11,12 +11,12 @@ |
||
| 11 | 11 | { |
| 12 | 12 | public const PROVIDER_NAME = 'heidelpay'; |
| 13 | 13 | |
| 14 | - public const PAYMENT_METHOD_SOFORT = self::PROVIDER_NAME . 'Sofort'; |
|
| 15 | - public const PAYMENT_METHOD_CREDIT_CARD_SECURE = self::PROVIDER_NAME . 'CreditCardSecure'; |
|
| 16 | - public const PAYMENT_METHOD_PAYPAL_AUTHORIZE = self::PROVIDER_NAME . 'PaypalAuthorize'; |
|
| 17 | - public const PAYMENT_METHOD_PAYPAL_DEBIT = self::PROVIDER_NAME . 'PaypalDebit'; |
|
| 18 | - public const PAYMENT_METHOD_IDEAL = self::PROVIDER_NAME . 'Ideal'; |
|
| 19 | - public const PAYMENT_METHOD_EASY_CREDIT = self::PROVIDER_NAME . 'EasyCredit'; |
|
| 14 | + public const PAYMENT_METHOD_SOFORT = self::PROVIDER_NAME.'Sofort'; |
|
| 15 | + public const PAYMENT_METHOD_CREDIT_CARD_SECURE = self::PROVIDER_NAME.'CreditCardSecure'; |
|
| 16 | + public const PAYMENT_METHOD_PAYPAL_AUTHORIZE = self::PROVIDER_NAME.'PaypalAuthorize'; |
|
| 17 | + public const PAYMENT_METHOD_PAYPAL_DEBIT = self::PROVIDER_NAME.'PaypalDebit'; |
|
| 18 | + public const PAYMENT_METHOD_IDEAL = self::PROVIDER_NAME.'Ideal'; |
|
| 19 | + public const PAYMENT_METHOD_EASY_CREDIT = self::PROVIDER_NAME.'EasyCredit'; |
|
| 20 | 20 | |
| 21 | 21 | public const PAYMENT_OPTION_NEW_REGISTRATION = 'new-registration'; |
| 22 | 22 | public const PAYMENT_OPTION_EXISTING_REGISTRATION = 'existing-registration'; |