#kelvin_api

1 messages ยท Page 1 of 1 (latest)

wild hollyBOT
#

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

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

strong badge
#

Hi! Looking into this.

strong badge
#

Apologies this is taking time!

wild hollyBOT
analog wasp
#

thanks

languid ruin
#

Hi there ๐Ÿ‘‹ apologies for the delay. I'm jumping in to lend a hand, please bear with me a moment while I catch up on the context here.

#

Sorry but what PaymentMethod are you looking for exactly ?

#

Could you please share the guide you are following ?

analog wasp
#

hi

#

full story short, i'm using Payment Sheet for Vault and Forward feature, with custom flow, here is the setup:

        merchantDisplayName: 'Company',
        appearance: customAppearance,
        customerId,
        primaryButtonLabel: payLabel,
        allowsDelayedPaymentMethods: true,
        returnURL: returnUrl,
        customFlow: true,
        defaultBillingDetails: {
          address: {
            country: 'SG',
          },
        },
        intentConfiguration: {
          mode: {
            amount: price * 100,
            currencyCode: 'SG',
            captureMethod: PaymentSheet.CaptureMethod.Manual,
          },
          paymentMethodTypes: [],
          confirmHandler: confirmHandler,
        },
      })

for iOS, everything is good, payment sheet show all the methods "card, paynow, grabpay, alipay, ...", but same setup on Android only show "card" as payment method

languid ruin
#

What PaymentMethod are you getting when you remove the capture method Manual on Android ? can you share two screenshots ?

analog wasp
#

when i remove Manual change it to either "Automatic/ AutomaticAsync / empty" all methods appear

languid ruin
#

Can y ou share what are these PaymentMethods please ? just to make sure that they support manual capture or not.

#

Because not all PaymentMethods supports manual captures

analog wasp
#

for iOS it shows "Card, Paynow, Grabpay, Alipay"
for android (Manual) "Card" only
for android (Automatic) "Card, Grabpay, Alipay"

analog wasp
languid ruin
#

Grabpay and Alipay arent' supported for manual capture

#

for iOS it shows "Card, Paynow, Grabpay, Alipay"
For Ios you aren't specifying manual capture then.

#

That's why you are getting them.

analog wasp
#

i do the same setup for both

languid ruin
#

Manual capture is an API feature regardless of what SDK you are using.

languid ruin
analog wasp
#

if i remove Manual capture:

  • Android immediately show error saying my setup is Automatic, meanwhile sdk set as Manual
  • iOS doesn't yell anything
languid ruin
#

Android immediately show error saying my setup is Automatic, meanwhile sdk set as Manual
Sorry I'm not following here. Can you share more details ?

analog wasp
# languid ruin Manual capture is an API feature regardless of what SDK you are using.

yeah, for Manual capture, i would like to share more information about it, when i try to remove Manual capture on:

  • Android: Stripe yell an error saying my capture methods is not correct (should be Manual rather than Automatic)
  • iOS: Stripe accept it as normal, no error at all

on top of it,

  • Android show all methods "Card, Grabpay, Alipay" for Automatic
  • iOS show all methods "Card, Paynow, Grabpay, Alipay" for both Automatic / Manual
languid ruin
#

Android: Stripe yell an error saying my capture methods is not correct (should be Manual rather than Automatic)
Can you share a requestId or an error stacktrace ?

analog wasp
#

1 min

languid ruin
#

This request has returned 200 (successful)