Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Pass the Stripe Source in the order meta instead of in a post parameter #470
At the moment the process_payment function checks if the $_POST['stripe_source'] parameter is set, but we could store the stripe_source in a meta field of the order, and check if that is set instead. This way, plugins could simply call the process_payment function in a standard way without the need of setting additional post parameters for this plugin to work.