#jeb
1 messages · Page 1 of 1 (latest)
Hello! Incomplete payments won't go away unless they're paid. Some people use them to keep track of conversion rates and things like that.
so anytime someone opens my payment link it will automatically create a payment intent?
Typically no, unless you're on an older API version.
What API version are you using?
it's not related to an api
I'm using payment links and somehow a paymentintent was created for $50
It is related to the API version on your account though. If you go here and look at the API version section at the bottom what is your default API version set to? https://dashboard.stripe.com/developers
Yeah, so with that default API version a Payment Intent will be created each time someone opens Checkout from a Payment Link.
should I click upgrade available?
Only if you're 100% certain your integration is ready for the new API version, otherwise things will likely break.
so this new api version won't create a payment intent just by opening the link right?
Is the Payment Link for a one-time payment?
yes
👋 still around @stiff turret ?
hi yes
Yes if you upgrade then a PaymentIntent won't be created when opening the Payment Link. It will be created on Checkout completion.
But as noted, you should ensure that there is nothing else that is going to be affected before you upgrade. We list breaking changes here: https://stripe.com/docs/upgrades
Hey @stiff turret, really sorry I missed your reply earlier. Sorry for the delay!
thanks, nothing will break
now I have a ghost payment intent...anyway to delete it on your side?
id = pi_3LxZpbEQFTQlHCIZ1ib6QW6L
No way to delete it. You can cancel it via the API using https://stripe.com/docs/api/payment_intents/cancel
"message": "You cannot perform this action on PaymentIntents created by Checkout. Try expiring the Checkout Session instead. See https://stripe.com/docs/api/checkout/sessions/expire for more details.",
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Ah yeah woops
there's no way to achieve this in the dashboard, I can only do it via API? That doesn't seem right
My bad, forgot about that. So you do want to expire the Checkout Session instead using https://stripe.com/docs/api/checkout/sessions/expire
Yes, this is API only
I can't expire the checkout session
It's a payment intern
intent**
I have no clue what happened hah
Yeah you would go find the Checkout Session, which would be cs_live_a1DPYLH4mbXC4p6945BtAimmB0JpCVKbKYLA4OCmYE69ghTXtd5yvnGrKW for this paymentintent
Payment Links create Checkout Sessions
that's the cs id for this payment?
the concern is I do not know why Stripe created a ghost paymentintent just because someone opened the payment link
when we create reports for general ledger reconciliations my bookkeeper is going to be confused by these random payments that aren't real
Those aren't payments though
It is an incomplete PaymentIntent
There is no charge/payment associated with it
There is no reason for it to show up in your reconciliations
when we export the payments in stripe, those payments appear or am I not looking at the right reports?
Sorry... typo above -- those aren't payments
An incomplete PaymentIntent should not appear in any payment report, no.
Okay I think we are talking past each other then in what is a "payment report". Where exactly are you exporting from. What tab of the Dashboard?
Are you using the Reports tab?
no, I'm just looking at the payments tab on the dashboard
I'm trying to use the stripe cli to expire it, but I'm getting this error
"No such checkout session: 'cs_live_a1DPYLH4mbXC4p6945BtAimmB0JpCVKbKYLA4OCmYE69ghTXtd5yvnGrKW'; a similar object exists in live mode, but a test mode key was used to make this request."
CLI defaults to testmode. Use the live flag