|
@@ -216,7 +216,7 @@ discard block |
|
|
block discarded – undo |
|
216
|
216
|
{ |
|
217
|
217
|
$payload = [ |
|
218
|
218
|
static::KEY_SHOP_KENNUNG => $this->config->getShopIdentifier(), |
|
219
|
|
- static::KEY_BESTELL_WERT => $this->moneyPlugin->convertIntegerToDecimal((int)$quoteTransfer->getTotalsOrFail()->getGrandTotal()), |
|
|
219
|
+ static::KEY_BESTELL_WERT => $this->moneyPlugin->convertIntegerToDecimal((int) $quoteTransfer->getTotalsOrFail()->getGrandTotal()), |
|
220
|
220
|
static::KEY_INTEGRATIONS_ART => $this->config->getPaymentPageIntegrationType(), |
|
221
|
221
|
static::KEY_PERSONEN_DATEN => [ |
|
222
|
222
|
static::KEY_ANREDE => static::SALUTATION_MAPPER[$quoteTransfer->getCustomerOrFail()->getSalutation()], |
|
@@ -225,7 +225,7 @@ discard block |
|
|
block discarded – undo |
|
225
|
225
|
static::KEY_GEBURTS_DATUM => '', |
|
226
|
226
|
], |
|
227
|
227
|
static::KEY_RECHNUNGS_ADRESSE => [ |
|
228
|
|
- static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getBillingAddressOrFail()->getAddress1() . $quoteTransfer->getBillingAddressOrFail()->getAddress2(), |
|
|
228
|
+ static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getBillingAddressOrFail()->getAddress1().$quoteTransfer->getBillingAddressOrFail()->getAddress2(), |
|
229
|
229
|
static::KEY_PLZ => $quoteTransfer->getBillingAddressOrFail()->getZipCode(), |
|
230
|
230
|
static::KEY_ORT => $quoteTransfer->getBillingAddressOrFail()->getCity(), |
|
231
|
231
|
static::KEY_LAND => $quoteTransfer->getBillingAddressOrFail()->getIso2Code(), |
|
@@ -233,7 +233,7 @@ discard block |
|
|
block discarded – undo |
|
233
|
233
|
static::KEY_LIEFER_ADRESSE => [ |
|
234
|
234
|
static::KEY_VORNAME => $quoteTransfer->getShippingAddressOrFail()->getFirstName(), |
|
235
|
235
|
static::KEY_NACHNAME => $quoteTransfer->getShippingAddressOrFail()->getLastName(), |
|
236
|
|
- static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getShippingAddressOrFail()->getAddress1() . $quoteTransfer->getShippingAddressOrFail()->getAddress2(), |
|
|
236
|
+ static::KEY_STRASSE_HAUS_NR => $quoteTransfer->getShippingAddressOrFail()->getAddress1().$quoteTransfer->getShippingAddressOrFail()->getAddress2(), |
|
237
|
237
|
static::KEY_PLZ => $quoteTransfer->getShippingAddressOrFail()->getZipCode(), |
|
238
|
238
|
static::KEY_ORT => $quoteTransfer->getShippingAddressOrFail()->getCity(), |
|
239
|
239
|
static::KEY_LAND => $quoteTransfer->getShippingAddressOrFail()->getIso2Code(), |
|
@@ -346,7 +346,7 @@ discard block |
|
|
block discarded – undo |
|
346
|
346
|
foreach ($quoteTransfer->getItems() as $item) { |
|
347
|
347
|
$items[] = [ |
|
348
|
348
|
static::KEY_MENGE => $item->getQuantity(), |
|
349
|
|
- static::KEY_PREIS => $this->moneyPlugin->convertIntegerToDecimal((int)$item->getRefundableAmount()), |
|
|
349
|
+ static::KEY_PREIS => $this->moneyPlugin->convertIntegerToDecimal((int) $item->getRefundableAmount()), |
|
350
|
350
|
static::KEY_PRODUKTBEZEICHNUNG => $item->getName(), |
|
351
|
351
|
]; |
|
352
|
352
|
} |