sofort/sofortlib-php
PHP client library for the SOFORT API: initiate SOFORT Überweisung payments, Paycode/Billcode, refunds, and iDEAL. Fetch transaction details, parse XML responses, and generate iDEAL forward URLs and checksums. Includes examples and PHPUnit tests.
projectId parameter enables transaction segmentation by business unit, product line, or campaign (e.g., tracking SOFORT payments for a specific marketing promotion or seller in a marketplace). This supports:
projectIds (e.g., "BlackFriday2024" vs. "SummerSale").projectId.projectId-level performance metrics (e.g., "SOFORT under projectId X has a 15% higher authorization rate").projectId) that would require significant custom development in a bespoke solution.projectId (e.g., instant refunds for "trial" projects).projectId if associated with high-risk segments (e.g., "new_user_trial").projectIds like "DE-Regional" or "AT-Regional".projectId-level tracking for analytics, compliance, or business logic (e.g., marketplaces, multi-brand stores).projectId feature suggests the package is actively maintained (last update in 2024), reducing risk of API incompatibility.projectId is irrelevant to your use case (e.g., simple B2C store with one product line), the added complexity may not justify adoption.projectId: Verify with SOFORT’s docs that this parameter remains supported (risk is low, but worth confirming).statement_descriptor or custom metadata fields if targeting non-DACH markets."The latest update adds projectId support, letting us tag every SOFORT transaction—critical for:
projectId (e.g., ‘Summer2024’) to validate ROI before full rollout.""The 3.3.2 update adds projectId to transaction requests, enabling:
projectId: TrialPeriod.projectId to sync with existing analytics (e.g., Mixpanel, Amplitude).projectId as a standard field.
Implementation notes:projectId (e.g., $request->merge(['projectId' => 'CampaignX'])).projectId for all operations (authorize, capture, refund).projectId removal (unlikely, but confirm in 3 months).
Next steps: Spike a POC with 2–3 projectIds to measure impact before scaling."*How can I help you explore Laravel packages today?