google-pay / google-pay/flutter-plugin
Add More Params to Configuration String
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 176
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
I'm trying to use the package to create a deferred payment but it seems impossible. (or someone please show me how to achieve this)
Describe the solution you'd like
At first it confused me that the sample configuration lack a lot of params and I wonder how should I add deferredPaymentRequest to the configuration string. I looked into PaymentHandler.swift and found that not all the parameters available in the documentation for Apple Pay is considered in PaymentHandler.createPaymentRequest.
Describe alternatives you've considered
Maybe I would have to create my own platform code for that.
Additional context
Sorry for my bad English. It would be very helpful if we'll be able to add all the params just like native documentation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in PaymentHandler.swift at createPaymentRequest and compare its supported configuration parameters with Apple’s PKPaymentRequest documentation, especially deferredPaymentRequest. Trace how the Flutter configuration reaches the native request and identify the relevant tests or examples. Done means the requested parameters can be supplied through the plugin without custom platform code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, swift
- Domain
- mobile, payments
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100