Checkout Error Submitting Gravity Form On Checkout Step
-
I added an additional tab with the info from your page below with a gravity form to submit for a step: https://www.silkypress.com/woocommerce-multi-step-checkout-pro-documentation/
/**
* Add the Step
*/
add_filter(‘wpmc_modify_steps’, ‘wpmc_add_delivery_time_step’);
if ( !function_exists(‘wpmc_add_delivery_time_step’) ) {
function wpmc_add_delivery_time_step($steps) {
$steps[‘delivery’] = array(
‘title’ => __(‘Informed Consent’),
‘position’ => 3,
‘class’ => ‘wpmc-step-delivery’,
‘sections’ => array(‘delivery’),
);
return $steps;
}
}/**
* Add content to the step
*/
add_action(‘wmsc_step_content_delivery’, ‘wmsc_step_content_delivery’);
if ( !function_exists(‘wmsc_step_content_delivery’) ) {
function wmsc_step_content_delivery() {
echo do_shortcode(“[gravityform id=2 ajax=true]”);
}
}After adding the product https://www.bloodtesting.stagingdomain.xyz/?product=blood-test to cart -> checkout…. the first step in a gravity form to submit before next step, but on form submission
“We were unable to process your order, please try again.” In red
The form does work and gets sent. I receive the email with the form but the error on the checkout occurs. How can I fix this?
- This topic was modified 5 years, 6 months ago by .
- This topic was modified 5 years, 6 months ago by .
- This topic was modified 5 years, 6 months ago by .
The page I need help with: [log in to see the link]
- The topic ‘Checkout Error Submitting Gravity Form On Checkout Step’ is closed to new replies.