#spourdas_api

1 messages ยท Page 1 of 1 (latest)

meager swanBOT
#

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

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

junior anvil
#

Hi there, can you share more details? If you're referencing a specific demo, could you share the link to it here?

nocturne summit
junior anvil
#

Do you have a Checkout Session ID you can share?

junior anvil
#

how come it wont accept US phone numbers
Just to be clear, you're saying the Checkout Session doesn't ask for phone numbers at all, correct?

nocturne summit
#

You see the phone field above the "Pay" button?

junior anvil
#

The phone number field you see is specifically for Link. Are you hoping you use Link here or are you just looking to collect customer phone numbers for later use?

nocturne summit
#

Ok. Thanks for explaining that. I thought it was part of the payment process.

junior anvil
nocturne summit
#

thank you very much

junior anvil
#

If you do want to use Link, you should be able to use an Australia phone number. We'll automatically add the country code (+61 in this case) so no need to type it in. Australia phone numbers should be in the right format though

nocturne summit
#

That explains the Australian flag there ๐Ÿ™‚

nocturne summit
#

I have another problem now. My "Accepted a Payment" demos are not finding their css files all of a sudden? any ideas?

junior anvil
#

You'll need to provide much more information. Were the files moved to another local folder? Did you change the pointer to these files in your code?

nocturne summit
#

I was trying to keep the three types of "Accept a Payment" sites all on my computer. I downloaded the first one and renamed the directory to accept-a-payment-element and it showed everything file

#

fine

#

next, I downloaded the custom Accept a Payment and renamed the folder to accept-a-payment-custom. The css formatting stopped working

#

After that, I delelted the two directories and i tried "Accept-a-Payment" in the custom mode and the css still does not come up

junior anvil
#

I downloaded the custom Accept a Payment and renamed the folder to accept-a-payment-custom. The css formatting stopped working
Do you have the link you used to download this?

nocturne summit
#

C:\Users\spour\Documents\Stripe>stripe samples create accept-a-payment

#

I do the above

junior anvil
#

That's your local folder. You mentioned "I downloaded the custom Accept a Payment". Where did you download this from exactly?

meager swanBOT
nocturne summit
#

well, once you download the stripe CLI, you are supposed to be able to build all these projects. That'

#

that's what I meant by download

#

This is how its coming up

#

does something timeout?

#

after a certain usage

final chasm
#

Hi there ๐Ÿ‘‹ taking over, as my colleague needs to step away

Give me a few minutes to get caught up.

#

I'm still not sure I understand what you're doing. You mentioned the Stripe CLI, but then earlier in the thread it looks like you downloaded a project folder for a Stripe Demo. Can you summarize the issue briefly and explain what you've tried so far?

nocturne summit
#

ya. i am running through the demos

#

they all use CLI

final chasm
#

Can you be more specific about what you're trying to do? Please spend a bit more time drafting a reply. It's difficult to understand context with short non-descriptive sentences

nocturne summit
#

The instructions says to download CLI

#

I did

#

I use the CLI to create these sub-directories: stripe samples create accept-a-payment

#

I go into the sub directory

#

I go into the server sub directory

#

i do mvn pakcage

#

package

#

then, java -cp target/sample-jar-with-dependencies.jar com.stripe.sample.Server

#

I bring up the page: localhost:4242

#

Look at the screen shot above in the thread

#

it looks like its missing some CSS

final chasm
#

Are all the integrations working as expected outside of the styling?

nocturne summit
#

y

final chasm
#

I'm not even sure what the styling is supposed to look like for this to be honest. It looks like at least the fonts are coming through. Is there a reason you need the demo to look a certain way?

#

Like, it's entirely possible that this is what it's supposed to look like since it's a demo

nocturne summit
#

may be. I just started all this today. thanks for all your help. I will start looking at vidoes tomorrow.

final chasm
#

No worries! I just wanted to make sure I understood. Let us know if you run into any issues building your won integration!