// Initialize the payment sheet
await Stripe.instance.initPaymentSheet(
paymentSheetParameters: SetupPaymentSheetParameters(
// Main params
paymentIntentClientSecret: clientSecret,
customerId: customerId,
customerEphemeralKeySecret: ephemeralKey,
// Merchant Name
merchantDisplayName: 'Agent Duty',
style: ThemeMode.system,
applePay: const PaymentSheetApplePay(
merchantCountryCode: 'US',
),
),
);
Describe the bug
Apple pay button is not showing in physical device but working fine in simulator.
Here's code snippet.