#lam_unexpected

1 messages ยท Page 1 of 1 (latest)

tribal falconBOT
late jacinthBOT
#

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.

tribal 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/1250291829560311808

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

night basalt
#

Hi there, I don't quite understand your question. Can you share with me some screenshots?

chilly dragon
#

OK. Im recording video. Pls wait in min

#

after using that saved card option i'd expect the second checkout should be auto fill the card info for next checkout with using the same email. It's same the web beheviour

#

that seems be the email checked out first time is not the Link payment method type

#

not created Link payment account

night basalt
chilly dragon
#

yes

#

const initialisePaymentSheet = async () => {
const {paymentIntent, customer, ephemeralKey} = await fetchPaymentSheetParams(email);
console.log(paymentIntent);
const {error} = await initPaymentSheet({
appearance: {
colors: {
primary: '#e06c75',
background: '#282c34',
componentBackground: '#abb2bf',
componentDivider: '#e5c07b',
primaryText: '#61afef',
secondaryText: '#c678dd',
componentText: '#282c34',
icon: '#e06c75',
placeholderText: '#ffffff',
}, shapes: {
borderRadius: 25,
},
}, paymentIntentClientSecret: paymentIntent,
customerId: customer,
// customerEphemeralKeySecret: ephemeralKey,
merchantDisplayName: 'Example Inc.',
allowsDelayedPaymentMethods: true, returnURL: 'stripe-example://stripe-redirect',
defaultBillingDetails: {
email
}
});

night basalt
#

And did you create a link account with that email address?

chilly dragon
#

So, Stripe does not auto created the Link account when checked the save card option on the payment sheet?

#

im expecting that when uses the save card with Link that will be auto created the Link account on the PaymentSheet

night basalt
#

Can you share with me the paymentIntent IDs?

chilly dragon
#

ok

night basalt
#

Is this the PaymentIntent shown in the first video?

chilly dragon
#

yes

night basalt
#

Can you check your code and see if email is properly set?

chilly dragon
#

Can you share me how to confirm request?

night basalt
#

I know you have put email in your code, I'd suggest you do a console.log(email) and see if the value is empty.

chilly dragon
#

ok i will hard code for the email value

#

im sure that i have provided the email

night basalt
chilly dragon
#

can you provide the your code with working as expected?

night basalt
#

Your code looks OK to me.

#

Did you save the code before running it again?

chilly dragon
#

yes

chilly dragon
#

Hello

#

Any news for me?

night basalt
#

Have you tried again after saving the code?

#

Or can you share with me the complete react-native project so that I can run and reproduce?

chilly dragon
#

ok

#

i will share

night basalt
#

Ok, discord is a public place. If your project contains sentive info, you should DM me.

chilly dragon
#

ok

#

give me your github account

#

pls use node version of >= 18.17.1

#

there are two folders for server and expo-app

#

for expo-app pls run install and run run ios for start ios

#

for server pls run npm i and npm run server for start the server

night basalt
#

Hmm, so you are running it through expo go ?

chilly dragon
#

yes

#

my project is using expo

#

but the simulator is not expo-go app. It's native

chilly dragon
night basalt
#

"run cd app && npm i in the app folder to install native app deps."

#

I don't see an app folder

chilly dragon
#

pls cd to expo-app

tribal falconBOT
night basalt
#

This is going to require a bit more investigation. Sorry to redirect you, but can you write in to https://support.stripe.com/contact/email with the sample project. We'll respond via email/ticket after looking into it further.

chilly dragon
#

ok