#mvnsur

1 messages ยท Page 1 of 1 (latest)

bronze bearBOT
craggy forge
#

Hello! I'm not sure what you mean by that - are you referring to metadata?

neon vine
#

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

craggy forge
#

This is the Stripe Checkout page, right?

neon vine
#

yes

craggy forge
#

Yeah so you can definitely set your own picture

neon vine
#

Even video ?

craggy forge
neon vine
#

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

craggy forge
#

OH! I see - you want a custom field that your customer can provide an image URL, or something like that?

neon vine
#

yes

#

but instead of url I want him to browse this pic from his gallery

craggy forge
#

We don't offer a way to upload images through a Checkout Session - best option would be an image URL

neon vine
#

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 ?

craggy forge
#

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)

neon vine
#

ow ok I see

#

I have some questions about API can you help me with that ?

craggy forge
#

Yup!

neon vine
#

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

craggy forge
#

Really, that has the best explanation of all the steps you'd need to build this

neon vine
#

I cannot find the passage where it talks about automation

craggy forge
#

What do you mean by that?

#

You mean the custom fields (like for an image URL)?

neon vine
#

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

craggy forge
#

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

neon vine
#

But I cannot find where it says automation

craggy forge
#

None of our docs will mention "automation" - the expectation is that you build this with your own server

bronze bearBOT
neon vine
#

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 ....

craggy forge
#

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

neon vine
#

Yes that's why we need checkoutsession

neon vine
#

it means that I can choose what information I want from Stripe and to get for example a specific notification for that ?

soft prawn
#

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.

neon vine
#

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

soft prawn
#

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.

neon vine
#

with the example is okay but the catalog is very large 5000 products...

soft prawn
#

Okay. Can you tell me more about the specific piece that's blocking you so I can help you move forward?

neon vine
#

Can I use the webhook event to print shipping labels automatically once the clients pays?

soft prawn
#

You can write code to do that, yep.

neon vine
#

it is possible to write a code that creates a pdf/excel with orders info every time I reach 10 orders ?

soft prawn
#

Yes.

neon vine
#

Thank you very much Rubes and Karbi

#

Have a good time ๐Ÿ˜‰