#mvnsur
1 messages ยท Page 1 of 1 (latest)
-
Is there a limit of CheckoutSessions ?
-
In a archived discussion your colleague told me: "On your server, you handle the button being pressed and run code, that code can generate a Stripe CheckoutSession and redirect the customer to that in order to pay" Could you please reformulate/rephase this and add quick details/example for a better understanding
-
Do you have a demo of CheckoutSessions to see how it works ?
Note that I've already read the documentation
- No, there's no limits.
For 2) and 3), please follow this guide that will give you a better understanding of Stripe Checkout: https://stripe.com/docs/payments/accept-a-payment
- I believe they meant, when your customer wants to pay, you create a Checkout Session for them and redirect your customer to the generated URL to complete their purchase.
it is possible to schedule a call with someone with a solid experience with this topic ?
How can I find a demonstration of checkoutsession in live ?
I work at Stripe so I can answer any of your questions on this topic. My engineering team doesn't do calls, unfortunately.
If you're looking for 1x1 support you might consider contacting Stripe Support: https://support.stripe.com/?contact=true
Ok I see. Thanks Vanya. Another question
How I'm supposed to make checkoutsessions generate automatically ?
There's no existing Stripe Checkout demo, however it's relatively easy to create your own in Test mode on your Stripe account.
Your server can send requests to Stripe API, and it will return a redirect URL that you can send your customers to.
Can I add a field I will call "message" here ?
I mean let's say the client has a specific request for his order
So he want something special a comment which is important to consider for his order
Yes, there's custom_fields property: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-custom_fields
Okay got it
I will write you the scenario please tell me if it's possible
I have a website with huge catalogs of products, more than 5000 products, each product is unique and have a stock of ONE piece. Each product costs like 4/5 dollars. And every 2 days I add new products it can be 300 products at once or 500 at once or even 1000 products at once.
I want to show these products on my website with description etc in SHOP page. Okay. What I need is when someone clicks "buy" on a specific product he is redirected to stripe checkout
This scenario is possible. I'm right ?
If it is possible do I have to create a checkoutsession for each product? As I've said products are unique so do I have to create 5000 checkout sessions? What is the way I can automate it ?
Of course, this is a common scenario. You can create a Product object for each product that you have, you can also automate this with Stripe API: https://stripe.com/docs/invoicing/products-prices?dashboard-or-api=api
And then, when the customer is ready to buy, you create a Checkout Session with the selected product.
When you say "you create a Checkout Session" it will be done automatically or I have to do create it manually ?
Your backend have to send a request to Stripe API.
Sorry, when I say "you" in this case, I mean "your app".
You may be misunderstanding here, a Checkout Session is for a single payment from a single customer for a set of line items you determine at purchase time
If you want to have a re-usable link per product that you can share publicly or with many customers, Payment Links offer that functionality:
https://stripe.com/docs/payment-links
When a customer visits a payment link, a new Checkout Session just for them will be automatically created
You are right, the feature I need is the one when the client pays this link is not available anymore. So I guess it's Checkout Session
can I add an invisible note to each CheckoutSession ?
That only me will se ?
I mean custom labels
Let's say we receive 1000 orders in monday. 300 from USA, 500 from Asia, 200 from Europe. Is there a way to have a custom label for each order so we can categorize them and have a better overview to affect a person for each order ?
Yes, that's what metadata is for
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
You can set metadata are pretty much all API resources, but certainly on Checkout sessions
Great
I have no more questions for the moment related to development. I do have some questions about legal/disputes/refunds
Is there a dedicated team for that or something like that ?
For those sort of questions, please work with our support team: https://support.stripe.com/contact
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
Thank you Synthrider and Vanya thank you very very much guys
Can I save this conversation somewhere by the way ?
Our pleasure!
We're going to lock it, but you can still access it later if you save the link to the first message: https://discord.com/channels/841573134531821608/1111276042007609425
https://discord.com/channels/841573134531821608/1111276042007609425
You're very welcome, good luck with your work ๐
Thank you @ocean badge :))
I've found a demo which is good that's what I wanted https://checkout.stripe.dev/
Preview some of the features available in our prebuilt, hosted payment page.
Can I edit or delete these texts as well ?
There's support for terms & policy customization shown here:
https://stripe.com/docs/payments/checkout/customization#policies
You set this in your account dashboard settings
Can I create a separate page for each category after the slash "/" like in the pics attached. Let's say my website is WWW.POWDUR.ME and for hand made products I create a page WWW.POWDUR.ME/HANDMADE
And if so can I make the label identical to the page's name ? like in the attached screenshot here: "category"
Not currently, no. For now you can configure suing a custom domain but then the path is not customizable:
https://stripe.com/docs/payments/checkout/custom-domains
I don't get it
You mean that I can do it but at the end when the client will pay the link will be not https://checkout.stripe.com/c/pay ..... etc
but I 'll have to add my own domain
The sessions would then be https://checkout.mvnsurssite.com/c/pay...
If you optionally configured a custom domain
the rest of the experience/ UI/fields etc will remain same as before right ?
I will rephrase it.
We have a catalog with thousands of products and a few dozen of categories. A few of them: VINTAGE/HANDMADE/WOODEN/LOCALLY-MADE/.
I plan to create a separate page for each of these categories like this: https://www.mvnsurssite.com/HANDMADE/
https://www.mvnsurssite.com/VINTAGE/
https://www.mvnsurssite.com/WOODEN/
I want to show different products (again each product is unique and we only have ONE PIECE of each in stock) on each category.
And let's say the client goes to https://www.mvnsurssite.com/VINTAGE/ he pays and then I see his order on my dashboards with all info + a metadata showing the category.
Is this scenario possible ?
yes
If you're building your own payment form with Elements you can do this, but not with Checkout. After redirect the Checkout session URLs would all look similar, and not reflect the category path from your site.
You can't add a category column like that no, but if you set metadata on the customer you can change that customer column to use one of those fields clicking on the gear.