#cashiersprit - PaymentIntent status

1 messages ยท Page 1 of 1 (latest)

wicked carbon
#

Hi there! Taking a look

wicked carbon
pallid helm
#

no, client does not in put anything to payment element form, at sub card info form straight go back to overview page to update price then go to sub card info form again, submit form, the status is requires_payment_method

#
amount: 2100
amount_details: {tip: {โ€ฆ}}
automatic_payment_methods: {enabled: true}
canceled_at: null
cancellation_reason: null
capture_method: "automatic"
client_secret: "pi_3LW4BX4M9E4kTTfW1GzjdUSZ_secret_xGdZ7RrJVMWMhq0opsVMfMluB"
confirmation_method: "automatic"
created: 1660335023
currency: "usd"
description: null
id: "pi_3LW4BX4M9E4kTTfW1GzjdUSZ"
last_payment_error: null
livemode: false
next_action: null
object: "payment_intent"
payment_method: null
payment_method_types: ['card']
processing: null
receipt_email: null
secret_key_confirmation: "required"
setup_future_usage: null
shipping: null
source: null
status: "requires_payment_method"
[[Prototype]]: Object
#

is the above info useful to you? can you check which step is missing?

#

btw, this is paymentInent from const {paymentIntent, error} = await (this.stripe as any).updatePaymentIntent({ elements: this.stripeElements });. the error is null

wicked carbon
#

this would come after you've updated the PaymentIntent with the customer's changes after they went back to the overview page

pallid helm
#

this is an edge case happened when user go back to update price and then to submit form

#

confirm paymentintent is the last step. but the issue I described above is a very early step, happened at updatePaymentIntent step

#

basically, stripe side seems did not receive customer submitted card info, if I understand requires_payment_method correctly ๐Ÿ˜‰

wicked carbon
#

could you share the PaymentIntent ID for that example edge case?

#

I have to head out but my colleague @bold wharf will stick around

pallid helm
bold wharf
#

๐Ÿ‘‹ give me a minute to catch up and i'll take a look

bold wharf
#

Hmmm... this is definitely strange. Are you seeing any errors/anything in the console or network logs when you call updatePaymentIntent?

pallid helm
#

I did not see any particular special thing. I think at your side, you can check payment intent status, right? can you tell me why payment intent id: "pi_3LW4BX4M9E4kTTfW1GzjdUSZ"status is not changed after client submit card info?

#

did you receive card info?

bold wharf
#

Well the issue here is that I see the update request, but no card information in the request

pallid helm
#

en, strange, so you mean actually we submitted updatePaymentIntent action, but no card info was included, like card number, expire date, and cvc, nothing is included?

bold wharf
#

Do you potentially have a test side that replicates this issue that I could try out?

pallid helm
#

that's a lot.

#

so far so good