feat(payments): Express-Kauf aus dem Warenkorb (PayPal v2): Start ohne Bestellung, Adresse von PayPal, Kasse vorbelegt, Capture ohne zweiten Besuch

This commit is contained in:
Thomas Bartelt
2026-09-13 21:44:46 +02:00
parent e4b3f5a1ea
commit f33533b411
9 changed files with 438 additions and 4 deletions
@@ -144,8 +144,23 @@
*Um Artikel zu entfernen, Anzahl <strong>0</strong> eingeben
</div>
</div>
<div style="float:right;">
<div style="float:right; text-align:right;">
<input id="cashdesk_button" type="button" class="button" value="&gt;&gt; Zur Kasse" />
{if isset($express_providers) && $express_providers}
{foreach from=$express_providers item=xp}
{if $xp.module == 'paypal_v2'}
<div style="margin-top:10px;">
<a href="/Kasse/?payment_express_start={$xp.module}" class="button express_button express_paypal" title="Direkt mit PayPal bezahlen &ndash; Adresse kommt von PayPal, Sie pr&uuml;fen die Bestellung danach in der Kasse">
<img src="https://www.paypalobjects.com/webstatic/de_DE/i/de-pp-logo-100px.png" alt="PayPal" style="height:22px; vertical-align:middle; margin-right:6px;">Direkt bezahlen
</a>
</div>
{else}
<div style="margin-top:10px;">
<a href="/Kasse/?payment_express_start={$xp.module}" class="button express_button">Direkt mit {$xp.label|escape} bezahlen</a>
</div>
{/if}
{/foreach}
{/if}
</div>
<br style="clear:both;" />