#fw-superveetz

1 messages ยท Page 1 of 1 (latest)

ionic nicheBOT
dusky siren
#

Hi! Sorry for the wait. Taking a look now

#

So it looks like you are using a test-mode API key to make that call. Are you meaning to do that? If so, have you matched the test API key that you get in the Stripe dashboard with the one you're using to make the call?

cosmic ember
#

Correct, I have confirmed the test key is the same key that appears in the stripe dashboard under the API Key section with "viewing test data" toggled ON.

For more info, we are loading stripe JS like this:

#

loadStripe('pk_test_...', {
betas: ['link_beta_2'],
apiVersion: '2020-08-27;link_beta=v1',
stripeAccount: accountId,
})

orchid axle
#

Can you share the specific setup intent you're trying to confirm?

#

eg, si_123

cosmic ember
#

One moment, you want the setup intent ID right?

#

Also, I noticed this issue happens with using Payment Intents as well, not just Setup Intent. It happens to us in sandbox / staging environments, but seems to work in prod

orchid axle
#

Is this something happening every time?

#

And yes, an example specific setup intent ID please

cosmic ember
#

It happens everytime, this is the setup intent ID: seti_1MCToTQY88Lv8OWosfYLUS47

#

order session ID if it is useful: 1670443313173030655-2a899512-895e-435f-a5e9-69218fba0926

orchid axle
#

ok thanks, checking

#

Is this available online somewhere i can test?

#

Are there any other errors surfaced in the console?

cosmic ember
#

Here is a link that you can test, but it uses Payment Intent instead of Setup Intent, the same error arises: https://commerce_sanity_test.fw-staging.tv/watch?fw_video=gMODzL

Click the Product Card at the bottom, choose an item and click "Buy Now", it will take you through the checkout process

#

If you want to test Setup Intent as well, I can provide a link in a moment

orchid axle
#

I love the cocomelon figurines as test products ๐Ÿ˜„

cosmic ember
#

hahah ๐Ÿ™‚ thanks for looking into this for us

orchid axle
#

What step in the flow does this happen?

cosmic ember
#

Once you click "Place Order", the Google Pay Dialogue should appear if you selected Gpay on the card selection page

orchid axle
#

Right, so I do that then i see my google pay cards etc fine

cosmic ember
#

If you choose a card and click "Pay", do you get the errors?

orchid axle
#

I'm trying ot configure a test acocunt to let me do that

cosmic ember
#

while signed into your Google Account ofc

orchid axle
#

OK i got that working (yea i'm in that but it wasn't showing up for my other tst account ๐Ÿคทโ€โ™‚๏ธ )

#

but now i hit the same error you showed

cosmic ember
#

ok, glad to hear it ๐Ÿ™‚

#

๐Ÿคž you may know what's going on?

orchid axle
#

THinking about that

#

OK, this is a subtle one

#

The connected account you're testing with, do you control that?

#

The issue is that this standard account is only connected to your platform in live mode -- you need a test mode connection for this flow to work

cosmic ember
#

The connected account we are testing with, we do control. Ok, awesome, thanks for these infos. I will try both options