#ciarangames_code

1 messages · Page 1 of 1 (latest)

tranquil bobcatBOT
#

👋 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/1346574881239601182

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

supple hatch
#

Tried both in test and non-test mode

last rapids
#

Hello. I entered the bank account information on the stripe incorrectly, the money did not come to my account. can you help?

tranquil bobcatBOT
#

@last rapids looks like you're in the wrong place, this thread is for someone else's question.

Note that posting inappropriate messages in other people's threads is against the rules. No worries if this was just an honest mistake, but anyone who violates the rules multiple times will be removed from this server.

urban gorge
#

Hi, can you share the payment id from the above flow so I can further review this?

supple hatch
#

Is it the one thats like cs_live_xxxxx

urban gorge
#

Sure!

supple hatch
#

Sure thing, give me 2 secs.

#

Which stops my checkout working at all due to "Timed out waiting for client secret" and just displays

Something went wrong
Please try again or contact the merchant.

supple hatch
#

This seems to be getting triggered too

urban gorge
supple hatch
#

Okay thankyou for that, however why does google pay not show either?

#

I've never had it where it doesnt ask me to verify my domain and just accepts it straight away so this could explainn why?

urban gorge
#

Can you share the URL where I can further debug this?

supple hatch
#

Which URL would you like?

urban gorge
#

Your URL for the payment so I can replicate this on my end

supple hatch
urban gorge
#

Can you share a test login for me please?

supple hatch
urban gorge
#

Hmm, that did not work for me. Something is failling

supple hatch
#

Very strange 😦

supple hatch
urban gorge
#

I'm unsure, after I login, nothing happens

supple hatch
#

Let me investigate 2 secs

supple hatch
urban gorge
#

Click on 'Go to Checkout'?

supple hatch
#

Nope dont see google pay

urban gorge
#

Yeah, so I think the issue is on your end. You need to set a valid card on your browser's wallet in order for it to work

#

This is what I see after I add a valid card

supple hatch
#

Ah now way 🤣 I literally removed my cards this morning

urban gorge
#

Ohh

supple hatch
#

Okay thankyou so much let me try rq

urban gorge
#

Sure

tranquil bobcatBOT
urban gorge
#

@supple hatch Are you unblocked here?

supple hatch
#

Dont think so sorry i still cant get google pay to appear on your site even after adding a card

#

This is also checked

urban gorge
#

Can you re-load that page and share the screenshot again?

quiet drum
supple hatch
#

Yes, somehow!

quiet drum
#

I see it on yours too.

supple hatch
#

Let me clear cache rq

#

Nope, still not showing

supple hatch
quiet drum
#

Sure. Credentials?

supple hatch
quiet drum
#

"error": "No such price: 'price_1QnJ6JP6S3PtUcWwuCqT1fNC'; a similar object exists in test mode, but a live mode key was used to make this request."

#

Since you're testing you should have test keys in both server and client.

#

(Which doesn't seem to have happened in the client)

supple hatch
#

Ah sorry try the captain tag

#

Some of the tags still have the old keys as were not yet released

quiet drum
#

Oh haha

#

What should I pick?

supple hatch
#

Any of these

#

Any luck?

quiet drum
supple hatch
#

Is that a problem?

#

I thought google_pay and apple_pay got removed from payment_method_types

quiet drum
#

Oh huh lolz

supple hatch
#

Ah, Il try that

#

All I do is just remove my preset ones, correct?

quiet drum
#

Correct.

supple hatch
#

Okay pushed that change to the domain

#

So if you just refresh it should update

quiet drum
#

Awesome. Looking again.

quiet drum
#

Still fiddling. I'm not sure why that entire section isn't showing up.

Can you share the code you're using to create the embedded Checkout?

supple hatch
#

const session = await stripe.checkout.sessions.create({
            ui_mode: "embedded",
            line_items,
            mode: "payment",
            allow_promotion_codes: true,
            invoice_creation: {
                enabled: true,
            },
            consent_collection: {
                terms_of_service: 'required',
            },
            billing_address_collection: "required",
            permissions: {
                update: {
                    shipping_details: 'server_only',
                },
            },
            shipping_address_collection: {
                allowed_countries: allowedCountries,
            },
            return_url: `https://avtags.shop/checkout/return?session_id={CHECKOUT_SESSION_ID}`,
            automatic_tax: { enabled: true },
            metadata: {
                id: userSession?.user.sub,
                email: userSession?.user.email,
                name: userSession?.user.nickname,
            },
            customer_email: userSession?.user.email,
        });

        return NextResponse.json({ clientSecret: session.client_secret });
    } catch (error) {
        if (error instanceof Stripe.errors.StripeError) {
            return NextResponse.json(
                { error: error.message },
                { status: error.statusCode || 500 }
            );
        }

        return NextResponse.json(
            { error: 'An unexpected error occurred' },
            { status: 500 }
        );
    }

tranquil bobcatBOT
regal panther
#

Hello! I'm taking over and catching up...

supple hatch
#

No worries, APi version is 2024-12-18.acacia; checkout_server_update_beta=v1' if that helps

regal panther
#

So it looks like you're using some beta functionality, and that might be incompatible with wallets and Link. We can't help with non-public functionality here; have you tried reaching out to whomever granted you access to this beta for help?

supple hatch
#

Il try reaching out again. Initially reached out on Monday to get help with another question I had but had no response

tranquil bobcatBOT
regal panther
#

Sounds good. Sorry we can't be of more help here, but we're just not familiar with this beta. The folks who gave you access should know a lot more.

supple hatch
#

Alright, I really appreciate the dedication already put in from the team! Don’t normally get this level of support so massive kudos

regal panther
#

Happy to help as much as we can! Good luck with it!

supple hatch
#

🙏

regal panther
#

Ah, I just found some internal documentation about this and it looks like we do have Link and wallets explicitly disabled in the beta.

#

So that explains the behavior you're seeing.

supple hatch
#

No way, what are the chances 🤣

regal panther
#

Yeah... not sure if there's any kind of workaround or not, but hopefully they can reply and give you all the details.

#

That would be a completely separate flow, but if you're okay with that it might be something to explore.

supple hatch
#

Sounds like an interesting route to take, il definitely experiment

#

But thankyou so much, il feedback to the client and see what the beta testing guy says and then decide how to move forward!