#Diejo-trial

1 messages · Page 1 of 1 (latest)

gilded patio
#

Hi there! The client secret will be with the pending_setup_intent that is returned with the Subscription object when it is created with a trial

keen gale
#

Uncaught (in promise) IntegrationError: Invalid value for stripe.confirmCardPayment intent secret: value should be a client secret of the form ${id}secret${secret}. You specified: seti_1LGQxML3AF9f0HLFDKRGZVfs.

#

we have this error when i try pass pending_setup_intent

#

@gilded patio i need you :c

#

We need to get the clientSecret and then continue with the data capture from the ElementCard.

stoic pasture
#

Hi I'm stepping in for @gilded patio as they need to go.

keen gale
#

Hi @stoic pasture , there is
req_YI8uMUjxvDvrsj

stoic pasture
#

Okay so the issue you are having is that you are passing the Setup Intent ID directly. You need to expand the Setup Intent to retrieve client_secret property of the Setup Intent object.

keen gale
#

Uncaught (in promise) IntegrationError: Invalid value for stripe.confirmCardPayment intent secret: value should be a PaymentIntent client secret. You specified: a SetupIntent client secret.

#

@stoic pasture Now, we have this error

stoic pasture
#

Okay. that is because .confirmCardPayment is only used for confirming PaymentIntents