#rossw14

1 messages · Page 1 of 1 (latest)

raw lichenBOT
magic fulcrum
#

Sounds like that Payment Intent doesn't exist! Except it does, I just checked

#

So maybe you're making API requests with the keys of the wrong account

potent finch
#

hm

#

okay, let me try and re enter the API keys and try it again, maybe a copy issue?

magic fulcrum
#

Could be!

#

That Payment Intent belongs to this account: acct_1IKKYnEfz3YuaNvv

#

If that helps

potent finch
#

where can i see if that matches?

magic fulcrum
potent finch
#

ah

#

the id is different

magic fulcrum
#

Explains it then, you must be using the wrong keys

potent finch
#

thats weird, the api keys are correct

#

even after entering they are the right ones

magic fulcrum
#

Right, but you just said you were signed into the Dashboard under a different account ID, no?

potent finch
#

yes, but the dashboard i'm signed into is the one I want to use

#

so copied over the API keys to the prestashop back end and it is still failing with the same error

magic fulcrum
#

Yes, because that pi_xxx is on a different account

#

You can't access objects like that Payment Intent on other accounts

potent finch
#

ah, this prestashop account used to be linked to another stripe payment account before

magic fulcrum
#

Probably explains it!

potent finch
#

so since it was taken over, i have re connected it to my new account, but I don think it is saving properly then

magic fulcrum
#

No, that's not the issue. The issue is that Payment Intent you shared with me pi_3Ll93HEfz3YuaNvv03bIIkB0 was created and exists on a different Stripe account

#

You can only read/mutate it with the keys of the account that owns it

potent finch
#

okay, so how do i disconnect from that account?

#

i'm using the prestashop module

magic fulcrum
#

The Payment Intent? You can't

#

It's like you selling your house/car and then still expecting to be able to access it after the sale

potent finch
#

ok, so what would I need to do now then with the new account and the prestashop site?

magic fulcrum
#

What do you mean?

potent finch
#

so that old account we don't use anymore, its for an old company, I have taken over the site and want to add stripe as a payment method

#

so went to add it and old credentials were there already, so removed them and connected the new account to it.

#

but then get this error when trying to submit a payment

magic fulcrum
#

Well you need to create a new Payment Intent, you can't 'submit' that one now you've changed API keys

potent finch
#

hm okay, but that payment intent is being sent from the stripe module

#

so does that mean i need to uninstall and re install the module so it creates new intents?

magic fulcrum
#

I don't know I'm afraid. I don't know how Prestashop works

potent finch
#

thats okay, you have been a great help anyway!

#

I will have a look now, if i'm still stuck i might come back

#

thanks!

magic fulcrum
#

np!

#

I'd recommend speaking to them