New answers tagged paypal
Not sure how I ran into this question one year later, but since it is unanswered... Instead of self-submitting the form and then redirecting to Paypal, you can instead have the paypal url as your form's action, but use Ajax to save the form data before the form is submitted to Paypal. You can also use the Ajax response to prepare the form before submission, ...
I think the reason no one has answered AND the reason I haven't figured it out for myself -- woocommerce wants you to pay at least $79 to bypass the checkout page with one of their extensions. http://www.woothemes.com/products/paypal-express/
Try adding this to the top of your script: require('/path/to/httpdocs/wp-blog-header.php'); global $wpdb; Then you can run queries using: $sql = "Your SQL Query Here"; $wpdb->get_results($sql)
Top 50 recent answers are included