Files
place4bees.com/backend/apps/backend
torbinus 794322d346 Online bezahlen an der Kasse, Storno- und Erstattungsmails
Normale Bestellungen gingen bisher nur auf Rechnung. Jetzt gibt es
"Online bezahlen" über Mollie (Karte, Sofortüberweisung, Überweisung),
gebaut wie die Abo-Kasse: Die Kasse legt die Zahlung an, der Webhook
schließt den Warenkorb ab, sobald Mollie bestätigt. Die Rückkehrseite
/bestellung/zahlung wartet darauf und leitet zur Dankeseite — oder sagt
bei Abbruch, dass nichts abgebucht wurde und der Warenkorb noch da ist.

Abschluss für Abo und Bestellung gemeinsam in lib/mollie-bestellung.ts,
neu mit Betragsprüfung: Passt der bezahlte Betrag nicht mehr zum
Warenkorb, wird nichts abgeschlossen.

Erstattungen: Die Mollie-Zahlung steht an der Bestellung. Erstattung im
Admin und Storno (dort ohne payment.refunded) gleichen mit Mollie ab und
buchen nur die Differenz zurück — gerechnet über amountRemaining, weil
amountRefunded eine frische Erstattung noch nicht zeigt.

Neue Mails: Storno, Erstattung, Abo-Abbuchung fehlgeschlagen, Abo
pausiert. Scheitert eine Abo-Abbuchung, wird die unbezahlte Lieferung
storniert, in drei Tagen neu versucht und nach drei Fehlversuchen
pausiert.

Im Testmodus durchgespielt: Kauf mit Karte (Bestellung, Label, Mails),
Abbruch, Teilerstattung 2,80 € im Admin, Storno mit Resterstattung
5,49 €, gescheiterte Folgezahlung nachgestellt.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-26 11:51:34 +01:00
..
2026-10-12 15:14:19 +02:00
2026-07-06 13:37:08 +02:00
2026-07-06 13:37:08 +02:00
2026-07-06 13:37:08 +02:00
2026-07-06 13:37:08 +02:00
2026-07-06 13:37:08 +02:00
2026-09-17 16:02:51 +02:00
2026-07-06 13:37:08 +02:00
2026-07-06 13:37:08 +02:00

Medusa logo

Medusa

Documentation | Website

Building blocks for digital commerce

PRs welcome! Product Hunt Discord Chat Follow @medusajs

Compatibility

This starter is compatible with versions >= 2 of @medusajs/medusa.

Getting Started

Visit the Quickstart Guide to set up a server.

Visit the Docs to learn more about our system requirements.

What is Medusa

Medusa is a set of commerce modules and tools that allow you to build rich, reliable, and performant commerce applications without reinventing core commerce logic. The modules can be customized and used to build advanced ecommerce stores, marketplaces, or any product that needs foundational commerce primitives. All modules are open-source and freely available on npm.

Learn more about Medusa’s architecture and commerce modules in the Docs.

Community & Contributions

The community and core team are available in GitHub Discussions, where you can ask for support, discuss roadmap, and share ideas.

Join our Discord server to meet other community members.

Other channels