#viljam_best-practices
1 messages Β· Page 1 of 1 (latest)
π 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/1422249576349302836
π 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.
- viljam_best-practices, 2 days ago, 17 messages
in the test env it just stays in this screen
Hi π
So you are saying you never get redirected from this page back to your app?
Is your app a mobile app (iOS and/or Android) or a web app running on a mobile browser?
no we are using initpaymentsheet with returnURL: "order-it://stripe-redirect",
Okay so you are using our Payment Sheet element to trigger Mobile Pay. Can you share the code you use to initialize the payment sheet?
sure
const { error } = await initPaymentSheet({
setupIntentClientSecret: clientSecretIntent,
customerId: customerId,
merchantDisplayName: ${RegisteredName} (via Order It),
customerEphemeralKeySecret: ephemeralKey,
paymentIntentClientSecret: clientSecret,
style: "alwaysDark",
merchantCountryCode: "FI",
applePay: {
merchantCountryCode: "FI",
},
googlePay: {
merchantCountryCode: "FI",
currencyCode: "EUR",
label: RegisteredName,
amount: totalAmount,
buttonType: "Pay",
},
appearance: {
shapes: {
borderRadius: 10,
},
font: {
scale: 1.15,
},
colors: {
primary: "#FFBF00",
background: "#0A0A0A",
text: "#333333",
},
},
defaultBillingDetails: {
address: {
country: "FI",
},
},
returnURL: "order-it://stripe-redirect",
});
Hmmm... okay I'm trying to repro
I cannot get a React Native application to launch on my machine
I think I will have to ask you to write in to us so we can do some deeper digging
Are you okay with creating a support case that will be routed directly to my team?
yeah sure
Hello @turbid pine, we have sent you a direct message, please check it at https://discord.com/channels/@me/1422273976662491238
- πThe message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
Could you please submit and let me know so I can make sure we get it handled quickly
yeah done