Hey Christian-you can find video tutorials with front end steps for accepting different payment types right here in this RU-vid playlist: ru-vid.com/group/PLy1nL-pvL2M7EUdqARPiayuj5cjGMLCvM.
Yeah here's a question, where the eff does someone start!? why is the overview number 12 in the playlist? How is this 101? Stop paying people to comment, no one has looked at this playlist and gone "oh I know whats going on!"
hey, thanks for the best api docs and tutorials! I have 1 question, if i make charge via backend (with $stripe->charges->create & $stripe->paymentIntents->confirm), would i be able to safely perform some actions after payment by checking paymentIntent status? Or it is safer to use webhooks, even if client side not involved in making charges?
I cannot find the code of this example. "stripe samples create developer-office-hours tutorial" shows "reference not found" error message but "stripe samples create accept-a-payment" with "payment-element" as integration is an equivalent example. In this latter, the activation of the local webhook manager causes continuous creation of payment intents on a single submit of the primary form. Can anyone tell me what is the cause and how to solve it ? Thank you.
Thanks for this great tutorial, I created the payment using Payment Intent but it shows error that "That the customer has not entered their payment method", can you please help me how do I setup payment_method?
Hey Sachendra! Here are a few links to guides that will help you: - stripe.com/docs/apple-pay?platform=web#recurring-payments - stripe.com/docs/google-pay These show how to integrate Apple pay and Google pay and how to set up recurring payments.
Great video, as usual. I have a confusion I hope you can help me with. We have two ways to accept payment on the client side using either Card Element or the new method of using Payment Element. On the server, to create a payment intent, you can pass the payment_method_types. I could use Payment Element on the client-side and while creating a payment intent I could specify payment_method_types => ['card']?
Hey there-great question! You should be able to specify payment_method_types as "card" if you prefer, though keep in mind this is actually the default type for this parameter when it isn't otherwise specified. You can find more details on this here: stripe.com/docs/api/payment_intents/create.
Yes, as long as you intend for it to be a card transaction, then you should be able to use the same parameter for PaymentIntent. You may just not see this on examples for Card and Payment Elements since it already defaults to "card" unless otherwise specified. A key difference between Card and Payment Elements is that Card Elements can only accept card payments, where Payment Elements can accept other payment methods as well. You'll also find more details on the differences here: stripe.com/docs/payments/payment-card-element-comparison.
This tutorial is basically useless. It just tells you how to create a PaymentIntent. I can read how to do that on the docs page. What's confusing is what to do next. How do I input bank data (in case of ideal), how do i redirect the customer to his bank and how do I receive notification about a succesful (or failed) payment in the webhook? This is all very confusing to me. I also don't like being nudged into using the SDK. I'd rather write my own interface.
Hey Asif, thanks for your question. We need more information like how you created the PI, the request ID, if it was confirmed, the request ID of that confirm, etc. Mind emailing us at support@stripe.com or you can post your query on Discord here: discord.com/invite/stripe.