#mayank.kumar.

1 messages · Page 1 of 1 (latest)

midnight loomBOT
#

Hello! We'll be with you shortly. 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.

warm vapor
#

👋 happy to help

lime violet
#

Can you please help

#

@warm vapor

Can you please help on this

warm vapor
#

yes taking a look

#

please give me a couple of minutes

lime violet
#

Sure

lime violet
#

Yes

#

I am not getting payment method in this while setting up the collectSetupIntentPaymentMethod

#

See Payment method is null

warm vapor
#

because the setup intent hasn't been confirmed

#

as you can see the status is requires_payment_method

lime violet
#

Based on document I used this :

Cancelable cancelable = Terminal.getInstance().collectSetupIntentPaymentMethod(setupIntent, true,
new MyReaderListener(),
new SetupIntentCallback() {
@Override
public void onSuccess(SetupIntent setupIntent) {
// Placeholder for confirming setupIntent
}

@Override
public void onFailure(TerminalException exception) {
  // Placeholder for handling exception
}

});

#

But it is not working

#

I got the SetupIntent from this

warm vapor
#

Use confirmSetupIntent to complete the setup.

lime violet
#

and tried to fetch details but did not see payment method

#

Ok

#

let me try

warm vapor
#

you need to confirm the setupIntent inside the onSuccess callback

lime violet
#

ok

#

Checking

midnight loomBOT