Crowdfunding Payment-Integration: Technischer Guide für Entwickler
Wie integriert man Payments für Crowdfunding-Plattformen? Stripe Connect, Payment Pre-Authorization, Split-Payments, All-or-Nothing, PSD2/SCA. Technical Deep-Dive mit Code-Beispielen.
Die Payment-Herausforderungen bei Crowdfunding
Crowdfunding-Payments sind komplexer als Standard-E-Commerce. Drei Herausforderungen: (1) Pre-Authorization bei All-or-Nothing, (2) Split-Payments (Plattform-Provision), (3) PSD2/SCA-Compliance.
Pre-Authorization
Geld reservieren, aber erst bei Kampagnenerfolg abbuchen
Split-Payments
Plattform nimmt Provision, Rest geht automatisch an Creator
PSD2/SCA
3D-Secure für EU-Payments (Strong Customer Authentication)
Lösung: Stripe Connect ist die beste Payment-Lösung für Crowdfunding. Unterstützt Pre-Authorization, Split-Payments und SCA out-of-the-box.
TECH-STACK
Payment-Provider Vergleich für Crowdfunding
Welcher Payment-Provider eignet sich am besten für Crowdfunding-Plattformen?
| Kriterium | Stripe Connect | PayPal Marketplace | Adyen |
|---|---|---|---|
| Pre-Authorization Support | Ja (capture_method: manual) | Ja (Authorization & Capture) | Ja |
| Split-Payments / Marketplace | Ja (Application Fee) | Ja (aber komplizierter) | Ja (Split-Payments) |
| Developer Experience | Excellent (Best-in-Class API) | Gut (aber weniger flexibel) | Gut (Enterprise-fokussiert) |
| PSD2/SCA-Compliance | Ja (automatisch) | Ja | Ja |
| Fees (EU) | 1.4% + 0.25€ | 2.49% + 0.35€ | Interchange++ (komplex) |
| Payout-Speed | 2-7 Tage | 1-3 Tage | 1-2 Tage |
| Documentation | Excellent | Gut | Gut |
| Geeignet für Crowdfunding? | ✓ Empfohlen | ~ Alternative | ~ Nur für Enterprise |
IMPLEMENTATION-GUIDE
Stripe Connect Integration: Schritt für Schritt
So integrieren Sie Stripe Connect für Crowdfunding-Plattformen.
Stripe Connect Account Setup
Platform-Account bei Stripe registrieren. Account-Type: "Platform" wählen. Connected Accounts Type: "Standard" (Creator hat eigenes Stripe-Dashboard) oder "Express" (simplified für Creator). OAuth-Flow für Creator-Onboarding implementieren: Creator klickt "Connect with Stripe" → OAuth → Connected Account wird erstellt.
Payment Intent mit Pre-Authorization
Bei Pledge: Create Payment Intent with capture_method: "manual". stripe.paymentIntents.create({ amount: 10000, currency: "eur", capture_method: "manual", payment_method: pm_card_xxx, confirm: true, application_fee_amount: 500, transfer_data: { destination: connected_account_id } }). Result: Intent-Status "requires_capture" = Pre-Authorized.
SCA (3D-Secure) Flow implementieren
PSD2-Compliance: Payment muss durch 3D-Secure (Strong Customer Authentication). Stripe elements automatisch: Card-Element rendert 3DS-Modal wenn nötig. Flow: (1) Create Intent, (2) Confirm Intent (Stripe zeigt 3DS-Modal), (3) Intent-Status "succeeded" = Authorization successful. Frontend: Handle Next-Action (redirect to 3DS-Page).
Cronjob für Kampagnenende (Capture/Cancel)
Bei Kampagnenende: Automatischer Cronjob prüft ob Goal erreicht. Erfolg: intent.capture() für alle Pledges. Misserfolg: intent.cancel() für alle Pledges. Important: Error-Handling (Card declined, expired). Retry-Logic: 3x versuchen mit Delay. Bei repeated Fail: Creator & Backer informieren.
Webhook-Integration für Payment-Events
Stripe sendet Webhooks für Payment-Events: payment_intent.succeeded, payment_intent.payment_failed, payment_intent.canceled, charge.refunded. Webhook-Endpoint: POST /webhooks/stripe. Verify Signature (Security). Update Database basierend auf Event-Type. Critical: Idempotency (Events können mehrfach kommen).
CODE-EXAMPLES
Code-Beispiele: Crowdfunding Payment-Flows
Die kritischen Payment-Flows in Code:
Payment Intent (Pre-Authorization)
const intent = await stripe.paymentIntents.create({ amount: 10000, currency: "eur", capture_method: "manual", payment_method, confirm: true }); // Result: "requires_capture"
Split-Payment mit Provision
application_fee_amount: 500, // 5€ Provision, transfer_data: { destination: "acct_creator" } // 95€ gehen an Creator
Capture bei Kampagnenerfolg
if (campaign.goalReached) { await stripe.paymentIntents.capture(intentId); } else { await stripe.paymentIntents.cancel(intentId); }
Webhook für Payment-Events
app.post("/webhooks/stripe", (req, res) => { const event = stripe.webhooks.constructEvent(req.body, sig, secret); if (event.type === "payment_intent.succeeded") { updateDatabase(); } });
3D-Secure / SCA Handling
const { error, paymentIntent } = await stripe.confirmCardPayment(clientSecret); if (paymentIntent.status === "requires_action") { // 3DS-Modal wird angezeigt }
Error-Handling & Retries
try { await intent.capture(); } catch (e) { if (e.code === "card_declined") { retry(3); notifyCreator(); } }
FAQ
Häufig gestellte Fragen zur Crowdfunding Payment-Integration
Die wichtigsten technischen Fragen zu Crowdfunding-Payments beantwortet.
Wir entwickeln Crowdfunding-Plattformen mit Stripe Connect
Custom-Crowdfunding-Plattform mit Pre-Authorization, Split-Payments, PSD2-Compliance. Technisch ausgereift.
Crowdfunding-Plattform entwickeln →Wobei können wir Ihnen helfen?
Entwickeln wir gemeinsam Ihre maßgeschneiderte Digitale Lösung.
Booking-System wird geladen...