feat: update payment handling in LobbyScreen and configure Stripe merchant identifiers

This commit is contained in:
2025-12-20 23:28:23 +01:00
parent 36e2cde26b
commit adefca23ca
4 changed files with 14 additions and 3 deletions

5
App.js
View File

@@ -31,7 +31,10 @@ export default function App() {
return (
<SafeAreaProvider>
<StripeProvider publishableKey={process.env.EXPO_PUBLIC_STRIPE_PUBLISHABLE_KEY || ''}>
<StripeProvider
publishableKey={process.env.EXPO_PUBLIC_STRIPE_PUBLISHABLE_KEY || ''}
merchantIdentifier={process.env.EXPO_PUBLIC_STRIPE_MERCHANT_ID || 'merchant.com.devbeni.vegasblackjack'}
>
{!token || !user ? (
<LoginScreen onLogin={login} loading={loading} />
) : selectedTable ? (