Unable to display payment button after configuration completion
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 領域
- mobile-dev, payments
調査の方向性
まず、示されている GooglePayButton 設定で問題を再現し、Flutter プラグインのボタン描画パスを調査します。設定またはランタイム環境によって描画が妨げられていないか確認し、提供されたセットアップで支払いボタンが表示された時点で問題を完了とみなします。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
After operating according to usage, the payment button cannot be displayed
Expected behavior
I would like to see a payment button
Screenshots
If applicable, add screenshots to help explain your problem.
flutter doctor output
Include a copy of the output after running flutter doctor if you suspect your issue is related with structural properties in Flutter or other libraries.
Additional context
var googlePayButton = GooglePayButton(
paymentConfiguration: PaymentConfiguration.fromJsonString(defaultGooglePay),
paymentItems: [
PaymentItem(
amount: "0.01",
label: "item A",
status: PaymentItemStatus.final_price
),
PaymentItem(
amount: "0.01",
label: "item B",
status: PaymentItemStatus.final_price
)
],
width: double.infinity,
type: GooglePayButtonType.buy,
margin: const EdgeInsets.only(top: 15),
onPaymentResult: (Map<String, dynamic> result) {
debugPrint("Payment Result: $result");
},
loadingIndicator: const Center(child: CircularProgressIndicator(),),
);
const String defaultGooglePay = '''{
"provider": "google_pay",
"data": {
"environment": "TEST",
"apiVersion": 2,
"apiVersionMinor": 0,
"allowedPaymentMethods": [
{
"type": "CARD",
"tokenizationSpecification": {
"type": "PAYMENT_GATEWAY",
"parameters": {
"gateway": "example",
"gatewayMerchantId": "exampleGatewayMerchantId"
}
},
"parameters": {
"allowedCardNetworks": ["VISA", "MASTERCARD"],
"allowedAuthMethods": ["PAN_ONLY", "CRYPTOGRAM_3DS"],
"billingAddressRequired": true,
"billingAddressParameters": {
"format": "FULL",
"phoneNumberRequired": true
}
}
}
],
"merchantInfo": {
"merchantName": "Example Merchant Name"
},
"transactionInfo": {
"countryCode": "US",
"currencyCode": "USD"
}
}
}''';
- 主要言語
- Dart
- スター
- 176
- フォーク
- 146
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
google-pay/flutter-plugin のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
google-pay/flutter-plugin#331 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
google-pay/flutter-plugin#323 · コメント 2 件 · リアクション 1 件 ·
-
Apple Pay Bottom Sheet – Incorrect Failure Design Handling After Backend Call Using Apple Pay Tokenオープン
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
google-pay/flutter-plugin#322 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
google-pay/flutter-plugin#321 · コメント 2 件 · リアクション 9 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 40/100
google-pay/flutter-plugin#312 · コメント 1 件 ·
google-pay/flutter-plugin の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
immich-app/immich#31955 ·
メンテナーはふだん 1 日以内に返信
-
bug triage
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fluttercommunity/plus_plugins#3994 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] iOS: a feature drag interrupted by the system never ends, and the next pan drags the featureオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
maplibre/flutter-maplibre-gl#1053 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100