vorweg meine WE-Version: 6.1.0.3 SVN:2706
ich habe mal wieder eine Frage zum Shop-Modul
Ich habe den Shop jetzt soweit fertig, dass am Ende des Bestellprozesses (ohne registrierte User, aber in der KV gespeichert) die Zahlung via PayPal erfolgen soll.
Ich habe mich bei der Template-Erstellung an das WE-Shop-Demo gehalten, jedoch werden beim Aufruf des Paypal-WE-Tags keine Session-Informationen an die Paypal URL (https://www.sandbox.paypal.com/cgi-bin/webscr) angehangen und es kommt zur Fehlermeldung "Your shopping cart is empty."
Ich übergebe die Bestellinformationen vom Template "shopping-order.tmpl" an das Template "payment-paypal.tmpl" Beide Templates nutzen das gleiche Master-Template in dem gleich zu Beginn steht:
Code: Alles auswählen
<we:sessionStart /><we:createShop shopname="shop" /><we:addDelShopItem shopname="shop" />
Code: Alles auswählen
<we:ifShopNotEmpty shopname="shop">
<we:repeatShopItem shopname="shop">
<strong class="price"><we:calculate sum="totalArticlePrice" num_format="german"><we:showShopItemNumber shopname="shop" type="print" num_format="german" />*<we:field type="float" name="price" num_format="german" /></we:calculate> €</strong>
</we:repeatShopItem shopname="shop">
</we:ifShopNotEmpty shopname="shop">
Code: Alles auswählen
<we:calculate sum="totalArticlePriceNet" num_format="german">(<we:field type="float" name="price" num_format="german" />/1,<we:shopVat id="1" />)*<we:showShopItemNumber shopname="shop" type="print" num_format="german" /></we:calculate>
<we:shipping sum="totalArticlePriceNet" num_format="german" type="gros" />
Falls jemand einen Hinweis oder eine Idee hat wäre ich sehr dankbar!
Grüße, Andreas