StripePaymentGateway.php
Source file: backend/payment-modules/stripe/StripePaymentGateway.php
Module: backend-payment-modules
Size: 21 lines
SHA-256: 2b1699fdd1bbb03b8d14b9d5a8985c607ab4e667f0bb1c7298f5df8bf46a017e
Responsibility
Holds payment adapter seams; Stripe remains fail-closed until reviewed live configuration.
Declared entry points
StripePaymentGateway— source line 11.beginPayment— source line 14.
Imports and dependencies
No direct import declarations detected in this file.
Behaviour and audit locations
- Line 3:
namespace Hslg\Backend\PaymentModules\Stripe; - Line 5:
/** M7 server-side boundary for an official Stripe PHP SDK adapter. - Line 7:
* trusted from native client values. The venue's actual Stripe account - Line 11:
interface StripePaymentGateway - Line 19:
string $durableIdempotencyKey
Relationship to the system
This page is the file-level source reference, not the architecture rationale. Read the module explanation, the corresponding architecture decision and user guide before changing behaviour. Names and line locations above are extracted from this exact source version; they are reference points, not proof that an external service or a phone feature works.
Change verification
Review the entry points and errors in this file, then run the module’s associated tests, source dependency gate, history gate and documentation coverage check. If the file changes an API response, user interaction, data model, deployment or third-party dependency, revise those human explanations and disaster recovery/licensing when relevant. Do not infer actual native or external API operation from source presence.