#shinobiplug_ - Checkout items in event
1 messages ยท Page 1 of 1 (latest)
Hello, the easiest way to do this is to listen to the checkout.session.completed event and using the ID of the session it gets you to retrieve your Checkout Session and check its items property (or you can retrieve its line items directly) https://stripe.com/docs/api/checkout/sessions/line_items
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Of course! Not sure I understand your question at the moment. Can you tell me a bit more about what you are trying to do here?
Yes, i have a project on my own. i need the stripe api to make the checkout button work. im trying to implement it into my html and vanilla javascript code. when the user is pressing the checkout button, it should direct him to the page where he fills out the name, adress, and the total amout. after he finished this step imma need a copy of the name adress and the total amout he payed. i dont want to expose the details on my frontend code. and my second question is, if i enable stripe, can the user pay also via apple pay, bank transfer (germany), google pay or paypal?
its for my clothing store, i need also the id/ the name of the product he purchased so i can send him the right product
Hi there ๐ taking over
Do you have a Checkout button working already? If not, have you followed this?
Apple pay and bank transfers are supported, but Paypal and Stripe are entirely separate payment processors, so there are currently no integration paths for that allow you to do both at the same time. Usually people put PayPal on the same page as the Checkout button so that either one or the other is used