#toxiCity
1 messages · Page 1 of 1 (latest)
Hello! Setup Intents have a payment_method property: https://stripe.com/docs/api/setup_intents/object#setup_intent_object-payment_method
Hello no payment method was returned here
id: 'seti_1NJOjSH3FYPq447eKFSR0XyI',
object: 'setup_intent',
application: null,
automatic_payment_methods: null,
cancellation_reason: null,
client_secret: 'seti_1NJOjSH3FYPq447eKFSR0XyI_secret_O5Zt0SHL3t5Th5ovpAlq0bDHnXLqDWI',
created: 1686868414,
customer: 'cus_O5SqgQ9qvwqNnz',
description: null,
flow_directions: null,
last_setup_error: null,
latest_attempt: null,
livemode: false,
mandate: null,
metadata: {},
next_action: null,
on_behalf_of: null,
payment_method: null,
payment_method_options: {
card: {
mandate_options: null,
network: null,
request_three_d_secure: 'automatic'
}
},
payment_method_types: [ 'card' ],
single_use_mandate: null,
status: 'requires_payment_method',
usage: 'off_session'
}
That means no Payment Method has been attached to that Setup Intent yet.
That's why the status is requires_payment_method.
What are you trying to do?
Hmmm.
I have created card details from react using Elements
after submitting, that should have been attached to the setup intent no?
They used the same customer ID
yes it was confirmed from client side
Can you show me the confirmation request? Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
I don't have a dashboard access
As far as I can tell there isn't one for this Setup Intent; I'm wondering if there's a different request for a different Setup Intent or something.
You're not going to be able to get very far with debugging without Dashboard access. Why can't you access the Dashboard?
I think I found the issue
Object { code: "setup_intent_unexpected_state", doc_url: "https://stripe.com/docs/error-codes/setup-intent-unexpected-state", message: "You cannot update this SetupIntent because it has already succeeded.", … }
I am getting this
This is from the confirm_setup