#jeb

1 messages · Page 1 of 1 (latest)

rough whale
#

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.

stiff turret
#

so anytime someone opens my payment link it will automatically create a payment intent?

rough whale
#

Typically no, unless you're on an older API version.

#

What API version are you using?

stiff turret
#

it's not related to an api

#

I'm using payment links and somehow a paymentintent was created for $50

rough whale
#

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

stiff turret
rough whale
#

Yeah, so with that default API version a Payment Intent will be created each time someone opens Checkout from a Payment Link.

stiff turret
#

should I click upgrade available?

rough whale
#

Only if you're 100% certain your integration is ready for the new API version, otherwise things will likely break.

stiff turret
#

so this new api version won't create a payment intent just by opening the link right?

rough whale
#

Is the Payment Link for a one-time payment?

stiff turret
#

yes

fallow ether
#

👋 still around @stiff turret ?

stiff turret
#

hi yes

fallow ether
#

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

rough whale
#

Hey @stiff turret, really sorry I missed your reply earlier. Sorry for the delay!

stiff turret
#

thanks, nothing will break

#

now I have a ghost payment intent...anyway to delete it on your side?

#

id = pi_3LxZpbEQFTQlHCIZ1ib6QW6L

fallow ether
stiff turret
fallow ether
#

Ah yeah woops

stiff turret
#

there's no way to achieve this in the dashboard, I can only do it via API? That doesn't seem right

fallow ether
#

Yes, this is API only

stiff turret
#

I can't expire the checkout session

#

It's a payment intern

#

intent**

#

I have no clue what happened hah

fallow ether
#

Yeah you would go find the Checkout Session, which would be cs_live_a1DPYLH4mbXC4p6945BtAimmB0JpCVKbKYLA4OCmYE69ghTXtd5yvnGrKW for this paymentintent

#

Payment Links create Checkout Sessions

stiff turret
#

that's the cs id for this payment?

fallow ether
#

What is the concern overall with the PaymentIntent here?

#

Yes it is

stiff turret
#

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

fallow ether
#

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

stiff turret
#

when we export the payments in stripe, those payments appear or am I not looking at the right reports?

fallow ether
#

Sorry... typo above -- those aren't payments

#

An incomplete PaymentIntent should not appear in any payment report, no.

stiff turret
fallow ether
#

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?

stiff turret
#

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."

fallow ether
#

CLI defaults to testmode. Use the live flag