google-pay / google-pay/flutter-plugin

ApplePayButton doesn't appear in production

Open
#312 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Dart
Stars
176
Forks
147
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The ApplePayButton widget is not rendering or is unresponsive in the production build of the app. This issue, identified by the App Store review team, is preventing app submission. The button functions correctly in debug and development builds.

To Reproduce
Steps to reproduce the behavior:

  1. Add ApplePayButton to your app
  2. run the app on physical device
  3. navigate to the payment screen in the production app.
  4. the ApplePayButton widget does not appear or is not responsive to taps.

Expected behavior
Expected: The native Apple Pay button should render and, when tapped, should present the payment sheet.

Screenshots

Image

flutter doctor output
Flutter (Channel stable, 3.32.6, on macOS 15.5 24F74 darwin-arm64, locale en-DZ)
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2025.1)
[✓] VS Code (version 1.102.0)
[✓] Connected device (3 available)
[✓] Network resources

Additional context
The issue is exclusive to the production environment.
The app was rejected by Apple, with the specific error: "unresponsive."
The payment flow works correctly in debug and development environments. This strongly suggests a misconfiguration related to production entitlements or certificates.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ApplePayButton integration and compare its production build behavior with the working debug and development builds on a physical device. Check the production entitlements or certificates implicated by the report; done means the native Apple Pay button renders, responds to taps, and presents the payment sheet in the production app.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter, ios
Domain
mobile, payments
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
40/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.