#mrelliot-setupintents

1 messages · Page 1 of 1 (latest)

spring walrusBOT
teal rune
#

Hello! How can I help?

exotic field
#

Im adding cards and i get an error of Received unknown parameter: setup_future_usage
The request id is this one: req_Uk7pXvDbd3lebl
this parameter is add to the object of the confirmCardSetup on js

teal rune
#

Can you show me what your JS code is doing?

exotic field
#
stripe.confirmCardSetup(
  clientSecret,
  {
    payment_method: {
      card: cardElement,
  
    },
                setup_future_usage: "off_session",

  }
).then(function(result) {
  
});```
teal rune
#

You should change setup_future_usage to just be usage

#

Setup Intents don't have a setup_future_usage parameter - that's specific to Payment Itnents