Live demos, code walkthroughs, and interviews for developers. Learn how to build web and mobile applications to accept payments, send payouts, and manage your business online with Stripe.
Code of conduct: stripe.com/legal/developer-code-of-conduct
great video, but I guess I missed something. How come that the request is running multiple times with an if statement. I would expect a 'while loop' instead of an 'if statement' in the Tests script. Can you explain?
Hey Rob-these are unique to each account and instance meaning you aren't able to use the information in the video. Please take a look at this guide for more information: docs.stripe.com/webhooks/signature#check-the-endpoint-secret.
Hey there-good question! Apple Pay would only be available in Safari on Mac OS, as well as iOS. You can find more information on this as well here: docs.stripe.com/apple-pay?platform=react-native
Thank you very much for your very good teaching. I have a question, can the Apple button be displayed only in Safari browsers and in Mac systems, or will it be displayed in the Chrome browser in Windows?
@StripeDev Is BNPL will not work for us because we have usage-based prices. The scheduler is good but is it possible for us to create the subscription using one yearly per-seat price and one yearly usage-based price, do not charge the payment method (credit card), allow the subscription to go to 'Active' status without charging anything and then after that create the sub scheduler to charge the user based on the payment frequency (monthly, quarterly, half-yearly) they selected?
Hi Mohamad! Thanks for reaching out. So there's a lot to unpack here, which we're happy to help you with. Can we ask you to reach out to us over email here support.stripe.com/questions/contact-stripe-support or our chat at stripe.com/go/developer-chat? Looking forward to continuing the conversation.
The region or country on any Stripe account cannot be changed once it's been set. You would need to close the account and create a new one with the correct region. If you're using a Stripe Express account, you'll need to reach out to the platform's support team that the account is linked with to request this.
how can i add stripe card payment method first without paying then show added card in my app and when i want to pay i will choose from one of those cards
Hi there-you can override Stripe's default logic of sorting payment methods by relevance and set your preferred order using the paymentMethodOrder option.
Nice tutorial 🎉 *but in your screen/ this video, why gpay and applepay buttons are not being shown at checkout payment element where you have enabled these ON in your stripe dashboard?* Anyone please help
We would still need you to contact our support team. We have no way to review your current integration or set up from here. We're more than happy to get this looked into and answer that query through support.stripe.com. Thanks.
Nice tutorial 🎉 One thing I am not getting I can see you have enabled gpay and Apple Pay in your stripe dashboard But the gpay and Apple Pay buttons are not being displayed in your stripe checkout element But others like card and some others showing Any one can help
Hello Developers, I have tried several payment methods, followed the process and the same error occurs: ERROR Error code: Failed ERROR Error message: The provided key 'pk_test_*********************************************************************************************CiaOFS' does not have access to account '' (or that account does not exist). Application access may have been revoked. Please note that I am in test mode before going into production. Thank you.
Great video ! If i want to collect the amount instead of using a fix one in the paymentIntent , how can i do so ? Because i want the user to type or select from a dropdown the amount he wants to give . Thanks !
Hey there-great question! You should create a UI control on the page for amount input, and send the amount to your backend so that you can create a PaymentIntent with that amount.
@@StripeDev ok i understand but i wanted to grab all of those information(card details,amount,description text) together and make one request to the server to make the payment , so if that it's not possible i will consider your approach . thanks
Crazy disappointed! Might be good for ecom but for agencies it’s the worst. I just want to create a simple german invoice. Not possible. Can’t change the language, no deposit feature, can’t costumize the header. No tutorials on yt. Really bad
Hi Tim-you do not need to change the language because the invoice will automatically display the customers language based on their browser settings. This can be found here: support.stripe.com/questions/language-recognition-for-invoices-with-stripe-billing. We also have more customisable options through the API here: docs.stripe.com/invoicing/customize.
@@StripeDevSorry about the language complaint. But nothing is really costumizable. Why can’t you just make an option where i have a template with variables. Like many others do. I can’t position anything. I want the adress details but not an extra field with the „sent to“, just the „bill to“ field. And why is at my company info just my phone number. It should be my adress and not that big, just small i little above the client information. I mean that’s all basic stuff. Really disappointed as i said. Haven’t looked into the api docu but I won’t code anything just to do that simple stuff which every other platform is able to do eeeeaaasily. I mean come on.
Hi there-good question! Yes, tap to pay in iPhone is available for use via Stripe Terminal in America, England and Australia. You can read more about it here: stripe.com/in/terminal/tap-to-pay-on-iphone. Let us know if this helps!
For most online businesses you don't know ahead of time where your sales will originate. So do you need to register with every jurisdiction in the world before you start selling? How do you suggest handling this issue?
If you're using Stripe Tax, it should automatically collect tax based on your customer's location. You can see how this works here: docs.stripe.com/tax/calculating
@@StripeDev That is not the question. Correct me if I am wrong, but the documentation indicates that Stripe Tax calculates tax for locations where you have a registration. If you are just starting out, you do not know where your customers will come from. Will Stripe track your sales by location even if you do not have any registrations and let you know when you are approaching the threshold nexus that requires registration?
You would be responsible for identifying any regions where you would have tax obligations and registering with those regions, though there is a beta that you can sign up for to have Stripe register for you instead, and you'll find more details on all of this here: docs.stripe.com/tax/registering
@@StripeDev Will Stripe track sales by location and notify me when I am approaching or exceeded a location's threshold nexus so that I can register that location? To do this does Stripe Tax need to be active? If so, then it seems you need at least one registration? To set up tax, Stripe is insisting that I enter a registration. Please read this question carefully so we don't go in circles. Thanks!
Locations is not an option for me, so it stops there. I have two physical terminals I bought through account and no way to get them activated and useable.
01:34 when I try to add a new price to my existing product it dont show the option of customer choose price as you show in the video.actually I want to collect recurring donations I want a fix price and the custom price but i dont know how to add change amount button under the fix price.please help
Hey there! You'll want to make sure your restricted keys are up to date and valid-take a look at our doc here for more info: docs.stripe.com/stripe-cli/keys.
Hello Sir, I have a question about the custom_fields. How can I show the custom_fields data in the invoice? please let me know, it will help me a lot. Thanks in advance. by the way I am using next js (API)
@@StripeDev ok so when you call our webhook, i call the stripe api to update the custom field on the invoice but the invoice is locked because it s finalized. so now i guess i need to remove the "invoice_creation.enabled" when i create the checkout sessiion in the firts place. but can i create an draft invoice on a payment later on? (then i can update it and finalize it). which routes will i use? thanks
Hi Miko-it sounds like you need to stop the Stripe Billing engine from automatically finalizing, reattempting payments on, sending reminders for, or automatically reconciling invoices so you can edit it before finalization. If that's the case, you'll want to make sure you pass auto_advance=false.
I have stripe account. Verified. But i am not able to enable issuing. i already submit request to sale team for active issuing. but i am not received any reply or message
Can we transfer money directly to some random account if not can we transfer money between connect account if that also not then can we say collect money from one connected account and transfer to another connected account
"Hey, I am using a Stripe payment link in different places like websites and Instagram. My question is how I can track these payments to see where they are coming from. Is it possible to see the source directly in the Stripe dashboard? Thanks."
No sorry. A payment link once generated can be used anywhere, they're not platform specific so you won't see where it is. You would need to manage this separately.
I didn't see the user needing to login during the onboarding, yet I am experiencing that flow with my implementation. Can you confirm if the user needed to login before starting onboarding?
@@StripeDev Sure. The first screen the user sees when they are redirected to the onboarding flow (hosted by Stripe) shows "Get started with Stripe" and asks for an email address. Then next screen asks for a password. I didn't see that in your demo. I was wondering if you encountered the same experience or was able to get around the user having to create an account and sign in. Make sense?
@@StripeDev Thanks - creating the account was understood. But the redirect forced the user to log in. I was able to get around that by turning off the built in external account collection (banking info) - that disabled the stripe auth popup.
@@StripeDev Hi! I mean this video assumes that I develop my iOS app through the use of SwiftUI through struct and etc.. But SwiftUI is relatively new and my team and I are accustomed to developing iOS apps through storyboard. While the programming language is still swift, the codes will be quite different. Do you also have tutorials on how to implement something similar through storyboard? Hopefully this clarification is clear?
Got it! If you're asking about UIKit support, yes we support it. You can find the example code for UIKit in our integration guide docs.stripe.com/payments/accept-a-payment?platform=ios&uikit-swiftui=uikit