#celsian
1 messages · Page 1 of 1 (latest)
Hello celsian, we'll be with you shortly! Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
• celsian, 1 hour ago, 12 messages
A Subscription doesn't give you a Secret Key. What are you referring to?
Sorry, ClientSecret
okay, got it. So you mean you get the Client Secret from the Setup/Payment Intent you created right? Not the Subscription?
Subscriptions don't have client secrets
When I create a subscription through the Stripe API it responds with a client secret currently. I am using an older API, does it not return a client secret in the latest version?
Not that I know of. Do you have a Request ID that shows you getting the client secret from a Subscription?
Here's how you can find a request ID: https://support.stripe.com/questions/finding-the-id-for-an-api-request
Find help and support for Stripe. Our support site provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Ah ok, so I'm looking at my code right now, it's written in Golang. When we create an incomplete subscription it contains a LatestInvoice PaymentIntent which has the client secret.
So yes, we're providing a client secret from a payment intent.
Got it, okay. So everything looks good so far. What is the DPAN issue you're referring to? Can you summarize?
Apple Pay customers are able to pay on the first month without issue, an abnormally large amount of payment failures occur in the second month. If they remove the Apple Pay payment method and attach it again, they are able to pay successfully, but the process repeats the following month.
Got it. I think you would want to use setup_future_usage: 'off_session' in this case, so that the Payment Method is setup to be used again in the future when your customer is not in the payment flow: https://stripe.com/docs/api/payment_intents/update#update_payment_intent-setup_future_usage
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.