# Integrations

## Payments
The gateway layer lives in `app/Services/PaymentGateway.php` with concrete Paystack, Monnify and Flutterwave adapters. Keep payment initialization server-side and only mark orders paid after server verification or a verified webhook.

## Google sign-in
`AuthController` implements authorization-code OAuth/OpenID Connect flow. Add the exact production callback URL to your Google Cloud OAuth client and populate the Google environment variables.

## Fingerprint and face recognition
Use WebAuthn/passkeys. The browser/device performs the biometric check; TechShop stores only WebAuthn public-key credentials. The database and UI foundation are included. For cryptographic attestation/assertion verification, install a maintained server WebAuthn implementation or identity provider and wire it to the `passkeys` table. Do not build custom facial recognition or store fingerprints for customer authentication.

## Text, audio and image search
Text search works locally. Voice search uses the supported browser SpeechRecognition interface when available and sends the resulting text through the same search system. Image-search storage/API endpoint is included, but semantic visual matching requires a configured vision embedding/vector provider; credentials/models are deliberately not hard-coded.

## Merchant/Google product discovery
The feed endpoint is `/feeds/products.csv`, and product pages include Product/Offer JSON-LD. Use real manufacturer GTINs and connect the feed to Google Merchant Center. Search engines determine rendering/eligibility; source code cannot guarantee a Buy button on every search.

## Social sharing and publishing
Native Web Share supports customer product/cart sharing. Automated publishing to TechShop-owned social accounts requires each platform's current API permissions and authorized access token.

## WhatsApp instant buy
Product and cart WhatsApp CTAs use `WHATSAPP_NUMBER`. For automated order messaging, add Meta WhatsApp Business Platform credentials and templates.
