I'm seeking to make a Django REST view which creates a PaymentIntent object for Stripe and ship the buyer the client-secret. That is the code for this handler in javascript, how would It appearance for a Django View? : import Stripe from "stripe"; const stripe = …...
Read more