# PayPal Plus Rechnungskauf: E-Mail Variablen

**URL:** <https://forum.shopware.com/t/paypal-plus-rechnungskauf-e-mail-variablen/58050>\
**Category:** Plugins\
**Tags:** offizielle-shopware-\
**Created:** [14. Februar 2019 um 14:20 UTC](https://forum.shopware.com/t/paypal-plus-rechnungskauf-e-mail-variablen/58050 "2019-02-14T14:20:21Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![florianliebig](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/florianliebig/32/18490_2.png) [@florianliebig](https://forum.shopware.com/u/florianliebig)\
**Post date:** [14. Februar 2019 um 14:20 UTC](https://forum.shopware.com/t/paypal-plus-rechnungskauf-e-mail-variablen/58050/1 "2019-02-14T14:20:21Z")

</div>

Hallo Zusammen,

wir möchten in der Bestellbestätigung bei PayPal Plus Rechnungskäufen (nicht den anderen PayPal Plus-Käufen) einen bestimmten Text hinzufügen.

In der s\_order\_attributes finde ich an der Stelle den String PayPalPlusInvoice:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/6/64494b27f97749400d67b38747c18543249e397b.png)

Ich würde also {if $attributes.swag\_paypal\_unified\_payment\_type == “PayPalPlusInvoice”} nutzen, um dies abzufangen.

Nun gibt mir allerdings {$attributes|print\_r} zwar aus, dass&nbsp;swag\_paypal\_unified\_payment\_type im Array $attributes existiert, allerdings mit null gefüllt ist.

&nbsp;

Kann das jemand reproduzieren, bzw ist bei anderen&nbsp;$attributes.swag\_paypal\_unified\_payment\_type gefülllt?

Gibt es ansonsten eine anderen Methode, auf den Kauf auf Rechnung zu prüfen?

Vielen Dank im Voraus

Florian Liebig

---

<div class="post-metadata">

**Author:** ![Chiemseer](https://avatars.discourse-cdn.com/v4/letter/c/96bed5/32.png) [@Chiemseer](https://forum.shopware.com/u/Chiemseer)\
**Post date:** [4. April 2019 um 18:08 UTC](https://forum.shopware.com/t/paypal-plus-rechnungskauf-e-mail-variablen/58050/2 "2019-04-04T18:08:12Z")

</div>

Hallo,  
ich stehe vor dem gleichen Problem. Jemand eine Idee?

Danke und Gruß  
Marco

---

<div class="post-metadata">

**Author:** ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)\
**Post date:** [4. April 2019 um 18:23 UTC](https://forum.shopware.com/t/paypal-plus-rechnungskauf-e-mail-variablen/58050/3 "2019-04-04T18:23:25Z")

</div>

Die Daten des Rechnungskaufs landen erst nach dem Mailversand in Shopware. Zu dem Zeitpunkt gibt es also den Inhalt des Attributes noch nicht.

&nbsp;
