#mvnsur
1 messages ยท Page 1 of 1 (latest)
Hello! I'm not sure what you mean by that - are you referring to metadata?
Can I create a field like this on the checkout page ?
Let's say I'm selling a mug and the client wants his pic on it
This is the Stripe Checkout page, right?
yes
page from https://checkout.stripe.dev/
Preview some of the features available in our prebuilt, hosted payment page.
Yeah so you can definitely set your own picture
Even video ?
I'd recommend reading through this guide on how to integrate https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout
and when you create a product to use with Checkout you can set images https://stripe.com/docs/api/products/create#create_product-images
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I mean
The client add's the picture he want to add to his MUG
A customisation
I'm selling a mug, the client choosed the one he wants added it to the cart and from here he have to select a picture he want on it
OH! I see - you want a custom field that your customer can provide an image URL, or something like that?
We don't offer a way to upload images through a Checkout Session - best option would be an image URL
Does making checkout thru payment link offers more security ?
If my payment gateway is stripe, no matter if the payment is done thru stripe checkout or my own checkout the security is the same I'm right ?
Yeah there shouldn't be an security-specific differences from using Checkout vs PaymentLink
Really, the main difference is whether you're willing to code (PaymentLinks require no code)
Yup!
I want to create an automatic generation of checkout sessions. How it can be done ?
I mean what do I need for (servers? create a bot?)
Can you briefly tell me the steps of allowing it?
If it takes too much time for you just could you tell me what do I need to create it
It's all covered in the doc I sent you earlier https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout
Really, that has the best explanation of all the steps you'd need to build this
I cannot find the passage where it talks about automation
like here
I have a catalog of more than 5000 products and each product is unique and sold in 1 PIECE, our stock is 1 piece per product
So I need to create 5000 checkout sessions
If you wanted to use Checkout Sessions you'd build a server that would create these products/prices, manage inventory, and create the Checkout Sessions
https://stripe.com/docs/api/checkout/sessions I read this
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But I cannot find where it says automation
None of our docs will mention "automation" - the expectation is that you build this with your own server
This doc (https://stripe.com/docs/payments/accept-a-payment?platform=web&ui=checkout) specifically is what talks about what requests you need to make on your server
Okay I see
Do you have any idea of how long it can take ? Of course I understand that's too large ask question but ....
It really depends on your coding experience
If you wanted to use PaymentLinks instead that doesn't require any coding, but it may not be the best solution for you given you have 5000 products w/ only one unit a piece
Yes that's why we need checkoutsession
I'm watching this video: https://www.youtube.com/watch?v=oYSLhriIZaA&
it means that I can choose what information I want from Stripe and to get for example a specific notification for that ?
What do you mean?
You can choose to listen to different Event types, like checkout.session.completed and payment_intent.succeeded, but the data inside the Events is structured based on the objects those Events represent.
I have 10 different products, each product has one piece in stock. I want to receive a notification when I reach 5 sales, so I send the information to the relevant team and the start processing orders
You can't configure Stripe to send an Event when you reach 5 sales, but you can listen for the checkout.session.completed Event and keep track of how many are sold on your end, then send the information when your count reaches 5.
with the example is okay but the catalog is very large 5000 products...
Okay. Can you tell me more about the specific piece that's blocking you so I can help you move forward?
Can I use the webhook event to print shipping labels automatically once the clients pays?
You can write code to do that, yep.
it is possible to write a code that creates a pdf/excel with orders info every time I reach 10 orders ?
Yes.