#harcon_harcon-reactnative-paymentmethod-allowredisplay

1 messages ยท Page 1 of 1 (latest)

open tapirBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

๐Ÿ”— This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1266044662402256947

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

steady gullBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

halcyon locust
thick onyx
#

Sorry for the late response, I did yes

#

Saved payment methods are displaying in the web PaymentElement, just not those created/added from our native app

halcyon locust
#

What do you mean? Can you share a payment method id that is displayed and one that's not? Just so I can see the differences

thick onyx
#

please bear with me

#

pm_1PgQcDGyjGYV1j4ZHPJqGJGJ

#

This is a payment method I just created on our react native app

#

I can reuse this card when I try to make a new booking on the native app

#

but when I try to make a payment on web, the above method is not listed in the PaymentElement

halcyon locust
#

Saved payment methods are displaying in the web PaymentElement
What did you mean by this though? Some payment methods are displayed in the PaymentElement? Can you share one that is?

open tapirBOT
thick onyx
#

sure one second

bright vortex
#

Hi ๐Ÿ‘‹

I'm stepping in as my colleague needs to go soon

thick onyx
#

pm_1PgTqoGyjGYV1j4ZCWkyw3DI

bright vortex
#

The Payment Method you just shared has the allow_redisplay property set. This is what allows it to show up in the Payment Element

#

But the Payment Method you shared earlier does not. This means it won't show up in the Payment Element.

thick onyx
#

ahh I see, sorry perhaps an oversight on my part. so where do I use the allow_redisplay param on native?

bright vortex
#

I don't think you can set that currently, but let me take a look

#

So if you had some sort of Checkbox in your payment flow that a user could check, you could use that trigger the update to the saved payment method on your server

thick onyx
#

Okay, so to be clear, when a payment intent is confirmed - we should access that payment method on our backend and update its properties to allow_redisplay = always. Is there a need for a checkbox? Trying to keep all payment interactions contained within the PaymentElement and native Payment Sheet respectively

bright vortex
#

Sure you don't have to use a checkbox. We just recommend allowing customers the ability to determine whether or not their payment methods are saved

thick onyx
#

okay great, can I ask is there any intention to enable the param on native going forward?

bright vortex
#

I am not aware of any work on this but that doesn't mean it's not on the roadmap

thick onyx
#

Okay, thank you for your help

bright vortex
#

Sure thing, happy to help ๐Ÿ™‚