#Diejo-trial
1 messages · Page 1 of 1 (latest)
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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.
Hi I'm stepping in for @gilded patio as they need to go.
It looks like you've got a mismatch between the Setup Intent and the client secret you are using. Can you share the related API requests?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Hi @stoic pasture , there is
req_YI8uMUjxvDvrsj
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.
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
Okay. that is because .confirmCardPayment is only used for confirming PaymentIntents