#gaz_code

1 messages ยท Page 1 of 1 (latest)

crimson edgeBOT
#

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

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

urban bison
#

im trying to gracefully deal with the failed token fetch when render has spun down, but i needto wait 15 mins everytime to try, is there anyway to spin it down manually so i can do tests rapidly?

silver oasis
#

This channel is for developers and direct technical integration questions with Stripe. Is your question related to Stripe?

urban bison
#

yes

#

stripe goes to render to get the token in order to set up the payment screen

#

so it is inherently related

silver oasis
#

Stripe doesn't provide any configuration with regards to the latency of fetching a token or delay in rendering for testing

urban bison
#

ah ok, i thought there might be a way to trigger the spin down

silver oasis
#

I still don't quite understand what you meant by the render has spun down.

urban bison
silver oasis
#

Could you share more what integration you use (Payment Element, Checkout Session... etc) and which token fetching and rendering are you referring to?

#

The screenshot isn't from Stripe

urban bison
#

im making an android app which can take credit card payments with stripe

#

yeh but stripedirectly relies on this service

silver oasis
#

stripedirectly relies on this service
What service?

urban bison
#

i guess u can also host the token provider yourself but the stripe sdk suggests using this

silver oasis
#

stripe sdk suggests using this
Could you share the documentation link where this is suggested?

urban bison
#

see: We recommend deploying the backend to Render.com.

#

but yeh i guess that is out of your control

#

so no worries

#

just hoped u may know anyway

silver oasis
#

This is just the sample code that uses Render as an example. In your own integration, you can host your server with any provider of your choice

#

Which you will then have full control on the spinning up and down

urban bison
#

yes good point, ok thanks

#

i will look into hosting it myself

silver oasis
#

No problem. Happy to help ๐Ÿ˜„