gateway; } /** * The gateway-side transaction id (Stripe: the PaymentIntent id). * * @since 1.0.0 * * @return string */ public function transactionId(): string { return $this->transactionId; } /** * The secret the browser uses to confirm the payment client-side. * * @since 1.0.0 * * @return string */ public function clientSecret(): string { return $this->clientSecret; } /** * The gateway's publishable (browser-safe) key, when the gateway has one. * * @since 1.0.0 * * @return string|null */ public function publishableKey(): ?string { return $this->publishableKey; } /** * Return the redirect approval URL, or null for in-page gateways. * * @since 1.0.0 * * @return string|null */ public function redirectUrl(): ?string { return $this->redirectUrl; } }