#celsian

1 messages · Page 1 of 1 (latest)

stark sedgeBOT
#

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

gleaming mulch
#

A Subscription doesn't give you a Secret Key. What are you referring to?

knotty sigil
#

Sorry, ClientSecret

gleaming mulch
#

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

knotty sigil
#

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?

gleaming mulch
#

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

knotty sigil
#

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.

gleaming mulch
#

Got it, okay. So everything looks good so far. What is the DPAN issue you're referring to? Can you summarize?

knotty sigil
#

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.

gleaming mulch
#

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