#brian-o_code

1 messages ¡ Page 1 of 1 (latest)

swift torrentBOT
#

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

📝 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.

velvet kettle
stable bronze
#

Hello

#

Can you share your full code for how you are presenting PaymentSheet here?

velvet kettle
#

hi i talked to you guys last time about this issue, ive tried on other physical devices and seem to get the same issue

stable bronze
#

Ah right

velvet kettle
#

yep one sec

stable bronze
#

You were having issues specifically with iOS 18?

velvet kettle
#

yes, but now i tested on another device on ios 17, it seems to be an issue with physical devices, im not sure if im the only one

#

it might just be me

stable bronze
#

So it is working on certain devices but not others?

velvet kettle
#

yeah i need nitro to send the file

#

ill split it up for the relevant code

#

its not working on physical devices, i only have 2 devices to test it

#

const openPaymentSheet = async (): Promise<void> => {
try {
const paymentDetails = await fetchPaymentMethod({ userUID, tokenId });
if (!paymentDetails) {
throw new Error("Could not fetch payment details.");
}

const { setupIntent, ephemeralKey, customer } = paymentDetails;

await initPaymentSheet({
  applePay: { merchantCountryCode },
  customerId: customer,
  setupIntentClientSecret: setupIntent,
  customerEphemeralKeySecret: ephemeralKey,
  merchantDisplayName,
  appearance,
  returnURL: process.env.RETURN_URL,
});

const { error } = await presentPaymentSheet();
if (error) {
  console.log("Payment sheet error:", error);
} else {
  // Success handling
}

} catch (error) {
// Error handling
}
};

stable bronze
#

Hmm okay did you reach out to our Support team like I recommended previously?

#

And it does work on simulator, correct?

velvet kettle
#

yeah it works on the simulator

so i was sent this link
https://support.stripe.com/
and here if i press on talk to support its just the chat bot unless im missing something?

stable bronze
velvet kettle
#

im logged in, under the help button gives me
dev docs
support articles
support center
share feedback

support center just takes me to the FAQ, with the chat bot, and the feedback is a text input

swift torrentBOT
stable bronze
#

You may need to just tell the chat bot that you want to send an email. Sorry -- I do think this flow changed slightly recently