Skip to content
Snippets Groups Projects
Commit 2e69f830 authored by mattwire's avatar mattwire
Browse files

Remove receive_date element if it's not selected for fixed recur start date

parent 893b8be5
No related branches found
No related tags found
1 merge request!1246.5
...@@ -536,6 +536,10 @@ ...@@ -536,6 +536,10 @@
// Create a token when the form is submitted. // Create a token when the form is submitted.
handleCardPayment(); handleCardPayment();
if ($('#stripe-recurring-start-date').is(':hidden')) {
$('#stripe-recurring-start-date').remove();
}
return true; return true;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment