#noor_saved-pm-reactnative

1 messages ยท Page 1 of 1 (latest)

indigo falconBOT
#

๐Ÿ‘‹ Welcome to your new thread!

โฒ๏ธ We'll be here soon! We typically respond in a few minutes, but in some cases we might need a bit more time (e.g., server's busy, you've got a complex question, etc.).

โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can 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/1253752528437379246

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

brittle veldt
#

Hi

#

how can i add this in my app react native

#

but i use with firebase

#

i dont know how for payment in app its ok but card not saved

vapid prawn
#

I'm not really sure what you're asking. Can you spend a bit of time to explain? These short single sentences are hard to gain context from

brittle veldt
#

wait

#

?

#

hello?

vapid prawn
#

What does your form look like right now?

brittle veldt
#

what you mean?

#

?

vapid prawn
#

You've already implemented this right?

#

Like, you have a fucntional payment form that you can tinker with, correct?

brittle veldt
#

Yes, but I don't know why the card is not saved

vapid prawn
#

What do you mean the card isn't saved?

brittle veldt
#

useEffect(() => { const initializePaymentSheet = async () => { try { const paymentIntent = await fetchPaymentSheetParams(); const { error } = await stripe.initPaymentSheet({ paymentIntentClientSecret: paymentIntent.paymentIntent, merchantDisplayName: 'BALAUM SHOP', }); if (!error) { console.log('Initiated payment sheet successfully'); setPaymentSheetReady(true); } else { console.error('Error in payment sheet init:', error); } } catch (error) { console.error('Error initializing payment sheet:', error); } }; initializePaymentSheet(); }, [total]);

vapid prawn
#

Are you not seeing a Payment Method pop up in the Stripe Dashboard?

brittle veldt
# brittle veldt

i meant not saved same this photo if me try open checkout again

brittle veldt
#

customre*

vapid prawn
#

Okay, so the Payment Method is being saved, but it's not showing up in your payment form. Correct?

brittle veldt
#

Nothing is saved, I think, because each new payment is created (a new customer ID).

vapid prawn
#

What do you mean nothing is saved?

brittle veldt
#

wait plz

indigo falconBOT
brittle veldt
#

i fix that later

#

for now thank you for try help me

#

have a good day

analog girder
#

You too ๐Ÿ‘‹