#priyanka_26911
1 messages · Page 1 of 1 (latest)
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.
- priyanka_26911, 5 days ago, 17 messages
Hello, the error seems pretty clear no?
The issuer declined this type of purchase
but it is enabled on my card
below is the code how I am creating set up intent
SetupIntentCreateParams params = SetupIntentCreateParams.builder()
.setCustomer(stripeCustomerId)
.setPaymentMethod(cardPaymentSourceInfoDbBean.getToken())
.setConfirm(true)
.setDescription("Create set-Up Intent")
.setUsage(SetupIntentCreateParams.Usage.OFF_SESSION)
.putExtraParam("return_url", returnUrl)
.setAutomaticPaymentMethods(automaticPaymentMethods)
.build();
SetupIntentCreateParams.AutomaticPaymentMethods automaticPaymentMethods = SetupIntentCreateParams.AutomaticPaymentMethods.builder().setEnabled(true).setAllowRedirects(SetupIntentCreateParams.AutomaticPaymentMethods.AllowRedirects.NEVER).build();