#gophergame

1 messages · Page 1 of 1 (latest)

night viperBOT
steady robin
#

Hi there

#

Yep this is a good place

#

Request IDs for the errors and more details would be great

honest lagoon
#

Thanks! The error is

payment_intent_unexpected_state
You cannot confirm this PaymentIntent because it's missing a payment method. You can either update the PaymentIntent with a payment method and then confirm it again, or confirm it again directly with a payment method.

#

what else can I get you?

steady robin
honest lagoon
#

Thanks! req_s8eILr426k2Erg

steady robin
#

Thanks looking

#

So it looks like you are using a WooCommerce plugin, no?

honest lagoon
#

Yes we are. I have about 8 of these that did not go through for recurring subscriptions

steady robin
#

Gotcha, in that case WooCommerce is controlling your code here and you are going to need to reach out to them about this. The issue is that there is no PaymentMethod ID being passed to the PaymentIntent even though it is attempting to be confirmed. That Customer does have a PaymentMethod attached, so all that really needs to happen is that the PaymentMethod is passed with the PaymentIntent here: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method

honest lagoon
#

Hmm.. could I have entered the keys wrong to make it not go through?

steady robin
#

No the API keys really don't have anything to do with this part. It is correctly triggering a request in livemode on your account so you are using the correct keys.

#

It has to do with the code itself.

#

Your best bet here is to reach out to WooCommerce and explain what is going on. Only they can really help you here.

honest lagoon
#

Okay thank you so much