#prateek_mobile-upi

1 messages ยท Page 1 of 1 (latest)

split crowBOT
#

๐Ÿ‘‹ 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/1504171874635092220

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

warped crest
#

Hi @winter gale

winter gale
#

๐Ÿ‘‹ @warped crest can you share an example PaymentIntent id pi_1234 and also more details about how you integrate on mobile?

#

prateek_mobile-upi

warped crest
#

Code to create payment_intent:

const paymentMethodTypes =  ["card", "upi"] ;
const paymentIntent = await stripe.paymentIntents.create({
      amount: pricingSnapshot.amountCents,
      currency: "INR",
      customer: String(customer?.id || "").trim() || undefined,
      receipt_email: participantEmail,
      ...(paymentMethodTypes
        ? { payment_method_types: paymentMethodTypes }
        : { automatic_payment_methods: { enabled: true } }),
      metadata: {
        paymentLogId,
        experienceId,
        participantId,
        participantEmail,
        flow: "experience_registration",
        source: "android_paymentsheet"
      }
    });
#

[Stripe Mobile PI] Account diagnostics { accountId: 'acct_1RjGWtPRRlSbIbow', country: 'US', defaultCurrency: 'usd', chargesEnabled: true, detailsSubmitted: true }

#

Could you please help us identify why the UPI option is not appearing on mobile?

winter gale
#

please sahre the info I asked for first

#
  1. PaymentIntent id
  2. Exact code on mobile
warped crest
#

1: PaymentIntent diagnostics { paymentIntentId: 'pi_3TWXYJPRRlSbIbow0PW7v8kX', currency: 'inr', amount: 99000, paymentMethodTypes: [ 'card', 'upi' ], customerId: 'cus_UVYfKcejgU2Ws6' }
2: We have NodeJs backend side where we creating the paymentIntent and respond back to mobile via API

Mobile side configuration:
val configuration = PaymentSheet.Configuration.Builder(
merchantDisplayName = stripeData.merchantDisplayName.ifBlank { "Learnee" },
)
.link(
PaymentSheet.LinkConfiguration(
display = PaymentSheet.LinkConfiguration.Display.Never
)
)
.customer(customerConfig)
.allowsDelayedPaymentMethods(true)
.build()

winter gale
#

Is this iOS or Android? Which exact SDK version? How are you testing (real device, simulator, something else?)

warped crest
#

--Android
--Latest version of SDK
--Real device

winter gale
warped crest
#

It means we can't implement in mobile App now?

#

Is there a way to enable it using older version of SDKs?
basically our audience is India based so it will be very helpful if it enabled in mobile

winter gale
#

No, this feature was removed entirely for now. We're adding support for it, it's just not ready for now.

warped crest
#

Ok @winter gale Thanks for your help

winter gale
#

Sorry about the confusion here. I had no idea we removed the feature ๐Ÿ˜“
I think it had a bug and we need to rebuild it. I recommend you go back to our support team and ask for support: https://support.stripe.com/contact

#

Also: you mentioned support sent you here. They should never do that. Do you have more details? Was it on live chat or over email?

warped crest
#

Over Email