#yasmin-green_error

1 messages ¡ Page 1 of 1 (latest)

slow hamletBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1324822656519766076

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

drowsy quarry
low shale
#

Hello, one thing that sticks out to me is that pi_****_secret_**** is what we typically call a client secret, typically calls with a paymentIntent parameter are expecting the intent's ID, which is very similar to the secret but doesn't have the _secret_*** part at the end

#

Can you try again with just the ID and see if the call succeeds then?

drowsy quarry
#

Hi, thank you for your response. I have tried with just the pi_*** and that gets the same error.

low shale
#

Can you send me the ID of a request where you tried the ID and got that error? (req_123)

drowsy quarry
#

Sure, this is the req id for creating the payment intent req_7MwvqoSO6UGJIz
Then this is the retrieve one by the looks of it req_CxG40jofY1EyaU.
I don't have any logs for the collect part

#

I think what the capacitor plugin is doing is using the pi_****_secret_**** value to call retrievePaymentIntent. This succeeds, but then maybe it's calling collect with the incorrect value?

low shale