Stripe Payment: Save token and customer and make payment later from token
Instead of saving the token itself, I recommend creating a customer and saving your customer ID. You can then charge your customer at any time in the future. See our documentation on saving card details for later. In javscript file how we handle stripeResponseHandler and function stripeResponseHandler(status, response). You will need to create a function … Read more