#kevin_code

1 messages Β· Page 1 of 1 (latest)

cloud mistBOT
#

πŸ‘‹ 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/1443593280473399348

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

magic nebula
#

Here is the code about the intent config, I didn't had enough characters in the first message to add the code

      intentStrategy === 'payment_intent'
        ? { amount: totalPrice, captureMethod: STRIPE_CAPTURE_METHOD[captureMethod] }
        : {};
    const intentConfiguration: IntentConfiguration = {
      mode: {
        ...intentConfigMode,
        setupFutureUsage: STRIPE_SETUP_FUTURE_USAGE[setupFutureUsage],
        currencyCode: getCurrentCurrency(),
      },
      paymentMethodTypes: supportedPaymentModes,
      confirmHandler: async (paymentMethod, shouldSavePaymentMethod, intentCreationCallback) => {
        await handleConfirmPayment({ intentCreationCallback });
      },
    };
left slate
#

hey there! πŸ‘‹ looking into this now

magic nebula
#

Thaaaanks

#

I saw the deleted message hahaha

left slate
#

np! still looking into this, thanks for bearing with us

#

do you have an example PaymentIntent ID (pi_xxx) where PayPal didn't show up?

magic nebula
#

Sorry it's MB about this, it's because I haven't added a returnURL since I was trying to only test if it works without the deeplink first 🀦

left slate
#

ah cool!

#

for the initPaymentSheet question, that is the expected behavior - a successful init doesn't need to return any additional data since the PaymentSheet is just being prepared for presentation

the other data that could/would be returned would just be any errors if the call failed

#

still looking into the first question

#

could you share an example PaymentIntent where the image/label were returned as undefined?

magic nebula
#

The thing is that I use the deferred flow

For example in React.js, I submit the form and check if the values are correct with Stripe SDK elements.submit();
And then I create either a setup intent either a payment intent


So I want to replicate the same behaviour in my React Native app and I need to know which payment the user choosed to create a payment intent with the back-end API (credit card, PayPal etc.)

#

Without that information, I can't create a payment intent through back-end API

left slate
#

I think the best thing here is for you to write in to us directly, so our team can debug asynchronously and get back to you via email

#

we'll need to reproduce the issue and do some testing

cloud mistBOT
#

Hello @magic nebula, we have sent you a direct message, please check it at https://discord.com/channels/@me/1443602278425690224

  • πŸ”—The message has instructions on how to open a direct support case with our Developer Support team, in order to help you more effectively.
magic nebula
#

Oh okay in how much time will you answer me? πŸ˜„

#

I received a confirmation e-mail so did it work?

left slate
#

yep we've received your email! we'll provide a status update today, but I can't say for sure about a resolution (depends on how tricky the issue is to debug)

magic nebula
#

Okay thank you! Just FYI, I'm using this version of the lib: "@stripe/stripe-react-native": "0.52.0"

left slate
#

cool, thanks! I'll close this thread out and reply via email πŸ™‚