flutter_stripe
flutter_stripe copied to clipboard
Subscriptions with Apple Pay and fixed price
Is your feature request related to a problem? (please describe) I try to use apple pay for subscription. For that I would like to display apple pay button on payment sheet and when clicking on apple pay, display subscription price and recurrence.
I did succeed to display apple pay bouton for recurrence with setup intent but instead of pricing it display "amount pending".

Describe the solution you'd like
I would like setup intent to be link to the subscription to display it's selected price:

Describe alternatives you've considered need to use stripe checkout in a webview ?
Additional context My current flow:
- create setup intent backend side
- display setup sheet mobile side with presentPaymentSheet and setupIntentClientSecret
- when receive setup intent success backend side, create subscription with it
But it seems there is now way to attach subscription to setup before to present it mobile side to be able to display pricing correctly.
What is the correct way to do that ?
@dragouf sorry for some reason we missed this. this is an advanced usecase and to be honest I have no idea. I would recommend asking Stripe for support on this and we can help you when questions arise in regard to specific Flutter code.
According to my researches I find that you can’t implement it right now because it’s hard coded in stripe iOS library. Check this ticket here: https://github.com/stripe/stripe-ios/issues/1952
They answer it will be implemented so it may be reflected later in this library I guess.
however I think it’s important since it may not be legal to display “pending amount” in some countries …
We now support the newest apple pay payment methods from version 4.0.0 .
- 1