google-pay / google-pay/flutter-plugin

Evaluate and create a wrapping class to return results from the payment APIs after `showPaymentSelector` is triggered

Open
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

The intention of this plugin is to support as many payment providers as it's useful to developers. Each provider offers diverse forms of presenting information to return results and errors back to the caller, with JSON being a common format.

Let's evaluate how developers typically interact with this information and offer typed structures for those elements or pieces of information that are handled and processed programmatically (eg.: result/error class, display items, etc) and default to a more generic format for chunks of information (eg.: JSON) that are relied to other systems (eg.: backend, PSP).

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 by reviewing the payment APIs and the showPaymentSelector flow to understand how providers currently return results and errors. Done means defining an agreed typed structure for information handled programmatically while preserving a generic format such as JSON for provider-specific data.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile, payments
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.