mercredi 4 septembre 2019

What is current approach to Laravel and Stripe Checkout for Single Payments?

I am trying to integrate stripe Checkout on my Laravel 5.3 website for some fairly basic purchase fulfillment.

I have been reading a lot lately about Laravel and Stripe Checkout for single purchases. For instance this:

https://laracasts.com/series/how-to-accept-payments-with-stripe/episodes/1

As well as

https://quickadminpanel.com/blog/stripe-payments-in-laravel-the-ultimate-guide/

In both examples from the links above, it is assumed that Stripe will not perform the purchase, but instead will send a token back to your site for you to then complete the purchase on your backend.

On the stripe site where it goes over Stripe Connect - https://stripe.com/docs/payments/checkout/one-time - I don't see any indication that Stripe payment should not be handled directly on the Stripe server.

I am thinking that maybe previous loopholes made developers feel that payment had to be on backend, but in current Stripe docs I don't see any warnings to that effect and seems that Stripe Checkout is indeed meant to handle payment, and then for you to do post payment actions on your site.

So, just curious if there is a current body of Laravel knowledge on this topic, as the links I provided above may be a bit out of date.

Thanks!

Brian



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire