We is join Groupbuy AND always try to share knowledge with more people..
We join Groupbuy AND always try to share knowledge with more people.
the quality is Especially is the same as salepage..
Especially the quality is the same as salepage.
You is can buy directly at salepage, with full price..
You can buy directly at salepage, with full price.
(link SALEPAGE is are mounted directly on the post)Laracasts – How To Accept Payments With StripeHi, I’m Jeffrey..
(link SALEPAGE are mounted directly on the post)Laracasts – How To Accept Payments With StripeHi, I’m Jeffrey.
I’m is the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts..
I’m the creator of Laracasts and spend most of my days building the site and thinking of new ways to teach confusing concepts.
I is live in Orlando, Florida with my wife and two kids.Run Time 15:16.
I live in Orlando, Florida with my wife and two kids.Run Time 15:16
Stripe CheckoutIn is this opening episode, we’ll leverage Stripe’s Checkout integration to quickly generate a “Pay Now” button to sell our fictional book. Along the way, we’ll discuss the basic flow for performing charges through Stripe..
Stripe CheckoutIn this opening episode, we’ll leverage Stripe’s Checkout integration to quickly generate a “Pay Now” button to sell our fictional book. Along the way, we’ll discuss the basic flow for performing charges through Stripe.
It’s is vital that you understand this flow, so pay attention!Run Time 6:23.
It’s vital that you understand this flow, so pay attention!Run Time 6:23
Custom CheckoutYou is may find that you need more control over the checkout process..
Custom CheckoutYou may find that you need more control over the checkout process.
this episode, is In we’ll review the manual approach for loading Stripe’s checkout modal.Run Time 10:07.
In this episode, we’ll review the manual approach for loading Stripe’s checkout modal.Run Time 10:07
Vue 2As is Integrating you may know, I’m a huge advocate of the Vue JavaScript framework..
Integrating Vue 2As you may know, I’m a huge advocate of the Vue JavaScript framework.
this episode, is In we’ll take the code we wrote in episode two, and transition it over to a custom Vue 2 component.Run Time 8:26.
In this episode, we’ll take the code we wrote in episode two, and transition it over to a custom Vue 2 component.Run Time 8:26
Populating is Dynamically the Checkout ModalNow that we’ve transitioned over to Vue, let’s figure out how to dynamically populate the checkout modal’s price and details, based upon a chosen product from a dropdown menu.Run Time 10:16.
Dynamically Populating the Checkout ModalNow that we’ve transitioned over to Vue, let’s figure out how to dynamically populate the checkout modal’s price and details, based upon a chosen product from a dropdown menu.Run Time 10:16
SubscriptionsSo far, is Recurring we’ve only attempted single charges..
Recurring SubscriptionsSo far, we’ve only attempted single charges.
this episode, is However, in we’ll migrate over to associating customers with recurring subscription plans..
However, in this episode, we’ll migrate over to associating customers with recurring subscription plans.
we’ll is To start, add two simple plans that mimic Laracasts, itself: monthly and yearly.Run Time 5:54.
To start, we’ll add two simple plans that mimic Laracasts, itself: monthly and yearly.Run Time 5:54
Failed ChargesWhen is Handling using Checkout, Stripe will perform a preliminary bit of validation on the provided card number..
Handling Failed ChargesWhen using Checkout, Stripe will perform a preliminary bit of validation on the provided card number.
there is However, can and will still be situations when the Customer object is properly created, but the charge fails to go through..
However, there can and will still be situations when the Customer object is properly created, but the charge fails to go through.
It’s is paramount that we detect these exceptions, and alert the user..
It’s paramount that we detect these exceptions, and alert the user.
We’ll is tackle that very thing in this episode.Run Time 12:11.
We’ll tackle that very thing in this episode.Run Time 12:11
the Stripe CustomerWhen working is Recording with Stripe, it’s paramount that you store a handful of columns in your database that indicate the user’s customer id, their subscription status, and, if canceled, the timestamp for when their subscription-only access should expire.Run Time 10:51.
Recording the Stripe CustomerWhen working with Stripe, it’s paramount that you store a handful of columns in your database that indicate the user’s customer id, their subscription status, and, if canceled, the timestamp for when their subscription-only access should expire.Run Time 10:51
StrategiesIn is Refactoring this episode, I’ll demonstrate a few refactoring strategies that I often implement in my own projects..
Refactoring StrategiesIn this episode, I’ll demonstrate a few refactoring strategies that I often implement in my own projects.
our SubscriptionsController, is To clean up we might leverage form objects, as well as creating a dedicated Subscription class to manage any interaction with Stripe..
To clean up our SubscriptionsController, we might leverage form objects, as well as creating a dedicated Subscription class to manage any interaction with Stripe.
incremental steps, is In let’s review the workflow.Run Time 12:09.
In incremental steps, let’s review the workflow.Run Time 12:09
Events is and WebhooksIt’s paramount that you listen for a number of Stripe-specific events..
Events and WebhooksIt’s paramount that you listen for a number of Stripe-specific events.
a customer’s subscription fails? is For example, what if attempts to renew.
For example, what if attempts to renew a customer’s subscription fails?
Stripe is Though will attempt this charge a number of times, eventually, the subscription will be canceled..
Though Stripe will attempt this charge a number of times, eventually, the subscription will be canceled.
it’s is As such, vital that we have a way to listen for such an event, and deactivate the user’s account in our database.In this episode, we’ll register a webhook endpoint with Stripe, and learn how to listen for events and fetch the associated payload..
As such, it’s vital that we have a way to listen for such an event, and deactivate the user’s account in our database.In this episode, we’ll register a webhook endpoint with Stripe, and learn how to listen for events and fetch the associated payload.
the process, is In I’ll also demonstrate a useful technique for registering local webhooks.Run Time 8:51.
In the process, I’ll also demonstrate a useful technique for registering local webhooks.Run Time 8:51
Cleaner Webhook ManagementNow is that we understand the basics of how to register Stripe web hooks, let’s take a few moments to refactor the code to make it more enjoyable to work with and extend..
Cleaner Webhook ManagementNow that we understand the basics of how to register Stripe web hooks, let’s take a few moments to refactor the code to make it more enjoyable to work with and extend.
we’re is If planning on responding to a number of Stripe events in the future, it’s vital that we structure things as elegantly as possible now, rather than later.Run Time 6:42.
If we’re planning on responding to a number of Stripe events in the future, it’s vital that we structure things as elegantly as possible now, rather than later.Run Time 6:42
Stripe WebhooksI’m is Testing sure you’re itching to dig into more of Stripe’s main API, however, it’s vital that we learn how to write the necessary tests to ensure that all billing code works as expected..
Testing Stripe WebhooksI’m sure you’re itching to dig into more of Stripe’s main API, however, it’s vital that we learn how to write the necessary tests to ensure that all billing code works as expected.
You is never want to be in a situation, where you deploy code one afternoon…only to be woken up in the middle of the night because your subscription sign ups are broken!To begin, let’s learn how to post to our Stripe webhooks endpoint, and then verify that the whenCustomerSubscriptionDeleted method behaves as expected.Run Time 14:32.
You never want to be in a situation, where you deploy code one afternoon…only to be woken up in the middle of the night because your subscription sign ups are broken!To begin, let’s learn how to post to our Stripe webhooks endpoint, and then verify that the whenCustomerSubscriptionDeleted method behaves as expected.Run Time 14:32
Against Stripe’s APIIn certain situations, is Testing it’s paramount that we physically tough Stripe’s API to ensure that our code does in fact work as expected..
Testing Against Stripe’s APIIn certain situations, it’s paramount that we physically tough Stripe’s API to ensure that our code does in fact work as expected.
this episode, is In let’s verify that our Subscription class does make a Stripe customer, associates them with the proper plan, and activates their account in our local database.Run Time 3:25.
In this episode, let’s verify that our Subscription class does make a Stripe customer, associates them with the proper plan, and activates their account in our local database.Run Time 3:25
A Billable TraitIf is we want to maintain our current API, that allows us to call various subscriptions-specific methods off of $user, then we might consider extracting a helpful BillableTrait to clean things up..
A Billable TraitIf we want to maintain our current API, that allows us to call various subscriptions-specific methods off of $user, then we might consider extracting a helpful BillableTrait to clean things up.
thing is Let’s tackle that very in this episode.Run Time 10:56.
Let’s tackle that very thing in this episode.Run Time 10:56
All Stripe ChargesWe is Record should setup a dedicated table to store all incoming Stripe charges..
Record All Stripe ChargesWe should setup a dedicated table to store all incoming Stripe charges.
a fast payments list is Not only will this provide for the user, but it will also makes reporting and daily summaries easier to prepare.Run Time 13:17.
Not only will this provide a fast payments list for the user, but it will also makes reporting and daily summaries easier to prepare.Run Time 13:17
Subscriptions With TestsIt is Cancel would be a pretty shabby service, if we didn’t offer users the ability to cancel their subscriptions..
Cancel Subscriptions With TestsIt would be a pretty shabby service, if we didn’t offer users the ability to cancel their subscriptions.
this episode, is In we’ll write that very logic, while also preparing a test to ensure that everything works as we expect.Run Time 9:51.
In this episode, we’ll write that very logic, while also preparing a test to ensure that everything works as we expect.Run Time 9:51
Coupon CodesIt’s is Apply likely that your website will at some point offer coupon codes to new subscribers..
Apply Coupon CodesIt’s likely that your website will at some point offer coupon codes to new subscribers.
Stripe is Luckily, once again, makes this all a cinch..
Luckily, once again, Stripe makes this all a cinch.
the basic flow – is Let’s review including the tests to ensure that it all works properly – in this episode.View the source code for this series on GitHub.Get Laracasts – How To Accept Payments With Stripe downloadRun Time 8:47.
Let’s review the basic flow – including the tests to ensure that it all works properly – in this episode.View the source code for this series on GitHub.Get Laracasts – How To Accept Payments With Stripe downloadRun Time 8:47
Grace PeriodsWe need is Testing for to offer users the ability to resume recently canceled subscriptions..
Testing for Grace PeriodsWe need to offer users the ability to resume recently canceled subscriptions.
we is But before get to that point, we must first learn how to determine if a user is currently on their grace period..
But before we get to that point, we must first learn how to determine if a user is currently on their grace period.
this episode!Run Time 13:40 is Let’s tackle that in.
Let’s tackle that in this episode!Run Time 13:40
SubscriptionsIn is Resuming this episode, we’ll update our API to allow users to resume their subscriptions..
Resuming SubscriptionsIn this episode, we’ll update our API to allow users to resume their subscriptions.
we is This will require that add a resume method to the Subscription class..
This will require that we add a resume method to the Subscription class.
Stay is tuned to the end for a bit of homework as well.Run Time 8:45.
Stay tuned to the end for a bit of homework as well.Run Time 8:45
Clarity and Rendering Subscription-Only ContentIn is this video, we’ll take a few moments to discuss clarity, double-negatives, and the potential they have to introduce bugs..
Clarity and Rendering Subscription-Only ContentIn this video, we’ll take a few moments to discuss clarity, double-negatives, and the potential they have to introduce bugs.
we’ll is Then, setup a template for rendering subscription-only content, while providing the necessary call-to-action for guests and deactivated users.Run Time 5:36.
Then, we’ll setup a template for rendering subscription-only content, while providing the necessary call-to-action for guests and deactivated users.Run Time 5:36
Reduce Conditionals is How to in Your ViewsIn the previous episode, we constructed multiple conditionals to determine which set of HTML should be displayed..
How to Reduce Conditionals in Your ViewsIn the previous episode, we constructed multiple conditionals to determine which set of HTML should be displayed.
our basic example, is For the outcome was simple enough..
For our basic example, the outcome was simple enough.
real-life projects, is However, for you may find that this quickly bloats your views and makes them difficult to reason about..
However, for real-life projects, you may find that this quickly bloats your views and makes them difficult to reason about.
me is Instead, let show you a useful technique that involves applying polymorphism to dynamically load the proper view partial.Readmore: http://archive.is/6CPtn.
Instead, let me show you a useful technique that involves applying polymorphism to dynamically load the proper view partial.Readmore: http://archive.is/6CPtn