#noah_docs

1 messages · Page 1 of 1 (latest)

void turretBOT
#

👋 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/1430727307521167421

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

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.

upbeat berry
scarlet coral
#

hello! Sorry, I'm pretty confused over what you're struggling with. Can you share specifics?

upbeat berry
#

Hi there, yes of course

so i have gone down a couple paths with this but i am trying to make the UI as shown in video above

i just want a sheet where it will show my cart then the available playment methods

i first looked at this: https://docs.stripe.com/payments/mobile/finalize-payments-on-the-server?platform=react-native&type=setup&integration=paymentsheet-flowcontroller but this does not let me display embedded

so i found https://docs.stripe.com/payments/mobile/accept-payment-embedded?platform=react-native&type=setup

which is good except it only shows apple pay for me. no Link, not even normal Card

so i wanna know is it that the UI in the video was created where they use embeddedPaymentElementView to show just apple pay then their own card UI or am i doing something wrong to not get card UI

i followed instructions in docs exactly but still had to add applepay option to show even that:

const newElementConfig: EmbeddedPaymentElementConfiguration = {
merchantDisplayName: 'Barberflow',
returnURL: 'barberflow://stripe-redirect',
applePay: {
merchantCountryCode: 'CA',
},
};

because without that it was showing 0 options

scarlet coral
#

Can you share a screenshot of wha tyou're seeing and share your Account ID so that I can take a look at what payment methods are enabled on your account? You can find your account id by logging in to  https://dashboard.stripe.com/settings/account. It'll have the prefix acct_

upbeat berry
#

yea sure: acct_1SFUAPE8ryMvWEVu

scarlet coral
#

can you also share the intent configuration?

upbeat berry
scarlet coral
#

can you try building on Android to see if card shows as an option?

upbeat berry
#

yea sure, i havent got android stuff set up but will try now

upbeat berry
#

Hi not sure if i am doing anything wrong but as soon as i get to the stage where we would display the elements it crashes and im not sure why

does it on expo go and dev build

for ios it doesnt show in dev build but shows in expo go (i installed pods)

and for android doesnt show at all in either

#

but now seeing options?? 95804pepecrya how 😭

scarlet coral
#

You said that something isn't working, but yet you're showing that something is working in your screenshot?

upbeat berry
#

but also the payment options just stay forever loading and never allow interactions

zenith flower
#

Hey Noah! Stepping in for a bit here, could you try one small change to your IntentConfiguration.mode?
mode: { amount: 1099, currencyCode: "CAD", },

try adding in the amount and removing setupFutureUsage: 'OffSessions'. I understand that for SetupIntents, there is no need to set an amount, but i just wanted to confirm if the payment method options pop up and are able to load in such a setup

#

We were able to (somewhat) replicate the issue on our end, but we would require additional time to look into this.

Could i get you to write in to my team on this? I will be dropping you a DM on how you can do that, and we can take it from there.

If you do write in, please provide

  • The steps you have already taken
  • The relevant screenshots you shared here
void turretBOT
#

Hello @upbeat berry, we have sent you a direct message, please check it at https://discord.com/channels/@me/1430756473067278448

  • 🔗The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
upbeat berry
#

Hi Teddy, thanks for the suggestion

I tried it without setupFutureUsage: 'OffSession' and added an amount value but still did not get a loaded version of the payment options

i will write in to the team and will provide relevant steps and screenshots

also i noticed you said there is no need to set amount however it seems to be required that either or both setupFutureUsage and amount must be used for IntentConfiguration.mode, just currencyCode does not match type

just curious though, if this is not something that is working properly am i to assume the video i sent up here #1430727307521167421 message uses a different stripe implementation?

brittle whale
#

👋 Yes that video looks different. Where do you get it?

#

And yes please summarize the steps in the email. We will have someone familiar with RN and expo, and spend time to investigate

upbeat berry
#

I recorded it myself, its from the squire app

i know that the card input is <CardField />

but im not sure how they got the available payent options to show, that is all i want to do haha but have been on this for hours now

just need a UI where i can display other things while also displaying the stripe elements like in web :(

upbeat berry
scarlet coral
#

We're going to close this thread first, we'll get back to you on the ticket as soon as we have an update!