#Atuls-Android

1 messages · Page 1 of 1 (latest)

ocean aurora
#

Can you clarify what you mean? What API endpoint are you trying to call, or what guide are you following?

slender bolt
#

??

ocean aurora
slender bolt
#

Let us check

nocturne patio
#

hello sir,
private void startCheckout(String clientSecretKey) { PaymentMethodCreateParams.Card card = cardMultilineWidget.getPaymentMethodCard();

    if (card != null) {
        PaymentMethod.BillingDetails billingDetails =
                new PaymentMethod.BillingDetails.Builder()
                        // ...
                        .build();
        // Create SetupIntent confirm parameters with the above
        PaymentMethodCreateParams paymentMethodParams = PaymentMethodCreateParams
                .create(card, billingDetails);
        ConfirmSetupIntentParams confirmParams = ConfirmSetupIntentParams
                .create(paymentMethodParams, clientSecretKey);
        stripe.confirmSetupIntent(this, confirmParams);
    }
}
#

I am use this code not getting any response

ocean aurora
#

Can you elaborate on what you mean? Is the code being called at all and you do/don't see an API request in your Dashboard logs?

nocturne patio
#

can you help me how to create payment method id using only card details

ocean aurora