Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Stripe Php Laravel Package

stripe/stripe-php

Official Stripe PHP SDK for accessing the Stripe API. Provides resource classes that map to API objects, auto-initialize from responses, and support many API versions. Install via Composer and use with PHP 7.2+.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Expand monetization features for high-risk/regulated industries:

    • Debit dispute handling: New V2.MoneyManagement.DebitDispute resource enables automated dispute resolution for payouts (critical for marketplaces, gig economy platforms).
    • Financial account statements: V2.MoneyManagement.FinancialAccountStatement supports compliance reporting (e.g., tax filings, audits) for businesses processing high-volume payouts.
    • Delegated checkout enhancements: Discounts (amount_discount, breakdown) and sale amounts (amount_sale) on DelegatedCheckout.RequestedSession improve B2B/B2C checkout personalization (e.g., bulk discounts, tiered pricing).
  • Accelerate payments innovation:

    • Private-preview features: Early access to FeeBatch/FeeEntry for dynamic fee structures (e.g., variable transaction fees, revenue-sharing models).
    • Issuing disputes: Test helpers (simulate_network_lifecycle_pre_arbitration_*) streamline fraud testing for card-issuing platforms (e.g., virtual cards, corporate spend management).
  • Global/localization improvements:

    • Payment locations: Optional country in PaymentLocation and location in PaymentIntent/SetupIntent simplify multi-currency/multi-region flows (e.g., cross-border SaaS).
    • Radar enhancements: customer and status on Radar.CustomerEvaluation enable dynamic fraud rules (e.g., real-time risk scoring for high-value transactions).
  • Roadmap alignment:

    • Stripe Connect/Marketplaces: debit_dispute support in Transaction resources aligns with payout reconciliation needs (e.g., seller disputes, chargeback automation).
    • B2B payments: payment_behavior in Subscription.resume() and payment_evaluations in PaymentAttemptRecord improve dunning/retry logic for enterprise contracts.

When to Consider This Package

Adopt when:

  • You need Stripe’s latest private-preview features (e.g., FeeBatch, DebitDispute) for beta testing or early adoption of Stripe’s roadmap.
  • Your product involves:
    • Payouts/disputes: Marketplaces, gig platforms, or SaaS with seller payouts.
    • B2B/B2C checkouts: Custom discounts, tiered pricing, or delegated payment flows.
    • Global/localized payments: Multi-currency, cross-border, or region-specific compliance (e.g., SEPA, ACH).
    • Fraud/issuing: Card issuing, virtual cards, or high-risk transaction evaluation.
  • You’re using Laravel/Symfony and want to avoid raw API calls for Stripe’s newest resources/events (e.g., FinancialAccountStatement, PaymentLocation).

Look elsewhere if:

  • You require stable, production-ready features only: This is an alpha release (v20.2.0-alpha.5); avoid for critical paths until v1.0.
  • Your use case depends on deprecated fields (e.g., check_deposit_address was removed—migrate to Stripe’s new address handling).
  • You need non-Stripe providers or custom payment logic: Use direct API calls or third-party SDKs.
  • Your PHP version is unsupported (<7.2) or your stack is non-PHP (Node.js/Python).

How to Pitch It (Stakeholders)

For Executives: *"This alpha release unlocks next-gen monetization features for our roadmap, including:

  • Automated dispute resolution for payouts (reducing manual reconciliation costs by ~40%).
  • B2B checkout personalization (discounts, tiered pricing) to boost enterprise conversions.
  • Early access to Stripe’s fee structures (e.g., dynamic revenue-sharing) for marketplaces. Tradeoff: We’re adopting alpha features—ideal for beta testing with high-risk/regulated products (e.g., payouts, issuing). For production, we’ll wait for v1.0. Budget impact: Minimal (uses existing Stripe spend); dev time saved: ~30% vs. custom API integration."*

For Engineering: *"Key upgrades in v20.2.0-alpha.5:

  • New Resources: DebitDispute, FeeBatch, FinancialAccountStatement—auto-mapped to PHP objects (e.g., DebitDispute::all()).
  • Delegated Checkout: Discounts/sale amounts now supported in RequestedSession (e.g., Session::create(['discounts' => [...]])).
  • Fraud/Issuing: Test helpers for dispute simulations (simulate_network_lifecycle_pre_arbitration_*) and Radar rule updates.
  • Breaking Change: check_deposit_address was removed—update any code using Invoice::create(['payment_setting' => [...]]). Example: Adding dispute handling for seller payouts now takes 1 day (vs. 1 week with raw API). Tradeoff: Alpha stability; monitor Stripe’s changelog for updates."*
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope