#lukez_api

1 messages ยท Page 1 of 1 (latest)

covert schoonerBOT
#

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

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

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

vapid stump
tulip granite
#

aah okay, well currently I don't have a dashboard where people have a GUI - but it's planned ^^

#

Also, a bit unrelated but I can't create a new thread, I've tried to create a checkout session according to the docs but it's giving me an error Missing required param: success_url.
I thought I don't need any success url?

covert schoonerBOT
bitter needle
#

hi! I'm taking over this thread.

#

yes success_url is mandatory when creating a Checkout Session

tulip granite
#

oh, but it says "nullable" - does that only mean that it has to be given but can be null?

#

-> I tried it and it said that it cannot be an empty string (I supplied null now).

I don't have a GUI at the moment, is there any way around this?

bitter needle
tulip granite
#

hmmm

#

if I just set ui_mode: embedded ?
Will that work as well?

bitter needle
#

sure, but do you plan to use embeded Checkout?

tulip granite
#

nope

#

oh I just saw that the ui mode hosted refers to Stripe not me

bitter needle
#

then I recommend using success_url: https://www.example.com/, and you'll change it later

#

oh I just saw that the ui mode hosted refers to Stripe not me
correct

tulip granite
#

but then the customer gets redirected to example.com OMEGALUL

Well, I guess I have to make a static success page for that then

bitter needle
#

but then the customer gets redirected to example.com :OMEGALUL:
I mean you can use this for testing purposes. once you show it to customer, you have to use a real URL you own yes.

tulip granite
#

yikes. okay, thank you then ^^

tulip granite
bitter needle
#

what does that mean concretely?

tulip granite
#

well, I'm building a stripe integration for my Discord bot and I need to store the related guild and user id metadata in the checkout metadata. Is it possible to also attach metadata via the API to a pricing table?
Of would I have to embed it and not use the stripe-hosted version?

bitter needle
#

got it, but no that's not possible to set metadata when using the Pricing Table.

tulip granite
#

okayyyy... well I have to build my own then ๐Ÿ˜…

#

that something for the future ^^

#

thank you guys ^^