#learner-setupintent

1 messages · Page 1 of 1 (latest)

tight jacinth
#

Hi! Can you share the SetupIntent ID (seti_xxx)?

spare dust
#

seti_1KoRDOHu60OFvhieZ6YxgFjo

tight jacinth
#

From our end it was successfully created, but never confirmed.

#

Do you have a URL where I could reproduce this?

spare dust
#

Sorry, It's behind VPN.

tight jacinth
#

If it was working in test mode, it should also work in live mode. If it isn't, there may be some configuration issue on your end. Could the VPN be the issue?

spare dust
#

I think VPN may not be the issue as for local dev env we need to be connected to VPN as well. So a 404 being reported in this case for https://api.stripe.com/v1/setup_intents/seti_1KoRDOHu60OFvhieZ6YxgFjo/confirm would mean that the request was blocked to be sent to Stripe from our server?

tight jacinth
#

Can you share the code that generate the 404 error?

spare dust
tight jacinth
#

Thanks, but can you share the actual code?

spare dust
#
        payment_method: {
          card: cardNumberElement!,
          billing_details: {
            name: `${givenNameOnCard} ${familyNameOnCard}`,
            address: {
              postal_code: billingZIP,
            },
          },
        },
      });```
#

would this do? or would you need the entire implementation?

tight jacinth
#

Thanks, that looks correct to me. Give me a few minutes to think about this.

#

Can you double check that you are using the correct API keys?

#

Check that the frontend keys and the backend keys match the ones in your dashboard.

#

Yes I can see on our end that you are using different API keys to create the SetupIntent and to confirm it, which cannot work. So you need to double check all your API keys.