#mtoledo2_api

1 messages ยท Page 1 of 1 (latest)

pastel cargoBOT
#

๐Ÿ‘‹ 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/1296569572459155507

๐Ÿ“ Have more to share? Add more details, code, screenshots, videos, etc. below.

late marlinBOT
green loom
#

Hi there ๐Ÿ‘‹ how are you initializing Elements? Are you using the client secret from an intent, or are you initializing before an intent is created?

covert bloom
#

initializing before an intent is created

#

but the elements is initialized with the publishable key so I'd assume that would pull my payment method configuration

green loom
covert bloom
#

pulling the default from my account

#

let me get a test site

#

Does that work for you?

green loom
#

Let me take a look

covert bloom
#

it's in test mode

#

which is where the payment method shows up but not in livemode

#

oh feel free to hit the pay with credit card link

green loom
#

Yup. I'm not seeing Link, at least not offhand. I'm seeing card, cash app, and ACH debits (us bank account). Taking a closer look.

covert bloom
#

Yep Ideally none of those show up

#

where the items don't show up

green loom
#

Are you sure you're using the key you mean to? I'm asking because the publishable key belongs to a different account than the pmc_ object you shared.

(I'm still looking to make sure I'm not mixing things up)

covert bloom
#

Yep, this is pmc_1NaqWnDMNOMDEQIUPCAXTNPL

#

So you were right sent the wrong one but it's a copy of this one

#

oh actually see those enabled noow

#

hmm

pastel cargoBOT
green loom
#

One more question (maybe not the last one though ๐Ÿ™ƒ ) what mode do you use when initializing elements?

covert bloom
#

subscription

green loom
#

Ah, we're looking at the wrong PMC then.

covert bloom
#

is that the difference?

green loom
covert bloom
#

oh that makes a ton of sense