#aliumujib
1 messages ยท Page 1 of 1 (latest)
hi there!
Despite setting the googlePlayEnabled flag to true in the Customer Sheet configuration, it doesn't seem to function as expected.
can you clarify what is the issue? are there error messages? is it it just Google Pay not appearing?
Google pay just doesn't appear, I can confirm that we have enabled it in our app's stripe dashboard
Does anyone have experience or advice on how to effectively prevent or manage the deletion of all payment methods from the customer sheet?
It's not possible to disable customers deleting their exisitng pament method in the PaymentSheet
Google pay just doesn't appear, I can confirm that we have enabled it in our app's stripe dashboard
And does the device you are using have Google Pay setup with a valid card?
Thanks for your response @frosty osprey :). I want to point our that we're using the customer sheet and not the payment sheet.
Also the device doesn't have a google pay account setup (I will enable this and retry).
Also are there any work arounds/ suggestions to ensuring customers keep at least one payment method on file? It is very important that customers have at least one payment method in our usecase. We were able to achieve this in the charges API because we had full control over the UI
oh sorry for missreading your message. not very familiar with the Customer Sheet, give me a few minutes to look into this.
๐ taking over for my colleague. Let me catch up.
just to make sure that we're on the same page, you're using the native Android SDK not the React Native one right?
Thanks @frosty osprey , Hey @wheat quest Yes, we're using the native SDK on both iOS and Android
and you have been added to the beta program right?
Yeah we have, Also after enabling google pay on the device. I can confirm that it shows up
so thanks for that ๐
perfect
as for the
Handling Deletions in Customer Sheet
issue, I think you can refer to this section https://stripe.com/docs/elements/customer-sheet?platform=android#behavior of the docs to add a custom behavior
this would allow you to add custom behavior for detaching (removing) payment methods
I haven't tested that to be honest, but I would assume you can stop the customer from removing the last PM they have using this method and display a message saying something like "Please add a new PM before removing your last one"
Right that makes sense, can we do a similar thing on iOS?
Thanks a lot @wheat quest
I will experiment with this and get back to you
yes please do, again, this is not something I've had the chance to experiment with, but it's worth playing around with