diff --git a/assets/js/frontend/checkout.js b/assets/js/frontend/checkout.js index bdbd5e62569..56ebd18a917 100644 --- a/assets/js/frontend/checkout.js +++ b/assets/js/frontend/checkout.js @@ -507,9 +507,8 @@ jQuery( function( $ ) { $.ajax({ type: 'POST', url: wc_checkout_params.checkout_url, - data: new FormData( this ), - contentType: false, - processData: false, + data: $form.serialize(), + dataType: 'json', success: function( result ) { // Detach the unload handler that prevents a reload / redirect wc_checkout_form.detachUnloadEventsOnSubmit();