laragear/transbank
Laravel integration for Transbank, Chile's payment gateway. Process Webpay Plus, Oneclick, and other Transbank transactions through a clean, fluent API with built-in support for payment confirmations, refunds, and Laravel-friendly configuration.
Architecture fit. Laragear/Transbank is a conventional Laravel package: a service provider, publishable config, facade/manager entry points, and thin gateway clients over Transbank's REST endpoints (Webpay Plus, Oneclick, Mall, Patpass depending on configuration). It slots into the service layer of a standard Laravel application without imposing its own persistence or queueing model, so it composes cleanly with existing domain code. v4.1.3 introduces no architectural change.
Integration feasibility. Low friction. Install via Composer, publish config, supply commerce code and API key/secret per environment, and register the return/commit routes. The work is dominated by Transbank onboarding (sandbox credentials, return URL registration, certification for production) rather than by the package itself.
Technical risk. Low for this release. Two changes:
Neither change alters public API surface, configuration keys, or payload shapes. This is a patch release and should be treated as such.
Key questions.
Stack fit. Composer-managed Laravel package, no native extensions, no separate runtime. It assumes a standard Laravel HTTP client and configuration pipeline, which any current Laravel application already provides.
Migration path. Greenfield adopters should install v4.1.3 directly and skip intermediate versions — nothing in this release changes the setup steps. Teams already on v4.1.2 should take it as a routine patch: bump the constraint, run composer update laragear/transbank, execute the test suite, and re-verify the create/commit/refund cycle against the Transbank sandbox before promoting.
Compatibility. Semver-safe patch. The Boost addition is additive and conditional; projects not using Boost see no behavioural difference. The HTTP method normalization is a behavioural change in the strict sense but aligns the package with the gateway's documented contract, so the practical compatibility risk is confined to custom extensions and assertion-level test fixtures.
Sequencing.
composer.json and record the prior version for rollback.Maintenance. Low ongoing effort — the package is configuration plus thin API calls, with no schema or background workers to maintain. The material risk is governance, not code: it is a single-maintainer project. The steady release cadence is reassuring, but the bus factor should be acknowledged and the version pinned rather than floating on ^4.0.
Support. Community support via GitHub issues only; there is no vendor SLA. Transbank's own support and SLAs cover the gateway, not this wrapper. Escalation paths for production payment incidents should run through Transbank directly, with the package treated as a client library we own.
Scaling. The package is stateless — it holds no connection pool, cache, or session state of its own. Throughput is bounded by the application's HTTP client configuration and Transbank's merchant rate limits and quotas, neither of which this release touches.
Failure modes. The realistic ones are unchanged: credential and token expiry, sandbox-versus-production certificate mismatch, return URL misconfiguration, and network timeouts during commit — the last being the most consequential, since a timeout after the gateway has processed the transaction creates a double-charge exposure unless the integration reconciles by buy order. Webhook replay and duplicate commit attempts warrant idempotency handling on our side. The v4.1.3 changes do not add a new runtime failure surface.
Ramp-up. A Laravel developer familiar with facades and publishable config can complete a first sandbox integration in roughly one to two days, with Transbank certification being the longer pole. The Boost compatibility marginally shortens ramp-up for teams already using Boost-assisted tooling, since the package's usage guidance becomes machine-readable — but that benefit does not accrue to teams without it, and should not be cited as justification for the upgrade on its own.
How can I help you explore Laravel packages today?