#salt
1 messages ยท Page 1 of 1 (latest)
Hi ๐ I don't think it can be offhand. What are you currently seeing in the Google/Apple Pay UIs? With them being initialized by a Setup Intent I believe the expected behavior is for them to show an amount of 0.
oh fuck, you're right. ok an how is the right flow for that?
Sorry, the right flow for what? It's expected for Setup Intents to show an amount of $0 as they aren't processing a payment, I don't believe there is currently a way to override that behavior.
i want to sell a subscription with trail periode in the react native gPay integration. if this works without payment intent it's ok for me.
What's the limitation you're running into currently? It sounds like you have a flow that uses Setup Intents to collect payment method details (a right path for collecting payment details ahead of creating a Subscription), and you're then creating the Subscription with the trial. That sounds like a reasonable and valid approach.
Yeah, but GPay doesn't show that this is a subscription, nor the trial, and, as you noticed, a price of 0
Yes, as far as I know there is no way to change that UI to indicate the Setup Intent is intended to be used for a Subscription later, they show the details of the transaction that is currently being processed.
is this possible with the PaymentSheet?
I'm pretty sure the same or similar modals will display that you can't control, but am double checking that with my team.
Thank you for your patience. What I was pointed to is that you can control what is displayed in the UI for Apple Pay via the cartItems parameter in mentioned here:
https://stripe.dev/stripe-react-native/api-reference/modules/PlatformPay.html#ApplePayBaseParams
But I'm not finding an equivalent parameter for Google Pay.
Documentation for @stripe/stripe-react-native
I have to thank you Mr. Meeseeks ๐
Any time!