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+.
Expand monetization features for high-risk/regulated industries:
V2.MoneyManagement.DebitDispute resource enables automated dispute resolution for payouts (critical for marketplaces, gig economy platforms).V2.MoneyManagement.FinancialAccountStatement supports compliance reporting (e.g., tax filings, audits) for businesses processing high-volume payouts.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:
FeeBatch/FeeEntry for dynamic fee structures (e.g., variable transaction fees, revenue-sharing models).simulate_network_lifecycle_pre_arbitration_*) streamline fraud testing for card-issuing platforms (e.g., virtual cards, corporate spend management).Global/localization improvements:
country in PaymentLocation and location in PaymentIntent/SetupIntent simplify multi-currency/multi-region flows (e.g., cross-border SaaS).customer and status on Radar.CustomerEvaluation enable dynamic fraud rules (e.g., real-time risk scoring for high-value transactions).Roadmap alignment:
debit_dispute support in Transaction resources aligns with payout reconciliation needs (e.g., seller disputes, chargeback automation).payment_behavior in Subscription.resume() and payment_evaluations in PaymentAttemptRecord improve dunning/retry logic for enterprise contracts.Adopt when:
FeeBatch, DebitDispute) for beta testing or early adoption of Stripe’s roadmap.FinancialAccountStatement, PaymentLocation).Look elsewhere if:
check_deposit_address was removed—migrate to Stripe’s new address handling).For Executives: *"This alpha release unlocks next-gen monetization features for our roadmap, including:
For Engineering: *"Key upgrades in v20.2.0-alpha.5:
DebitDispute, FeeBatch, FinancialAccountStatement—auto-mapped to PHP objects (e.g., DebitDispute::all()).RequestedSession (e.g., Session::create(['discounts' => [...]])).simulate_network_lifecycle_pre_arbitration_*) and Radar rule updates.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."*How can I help you explore Laravel packages today?