• Resolved bravetenebrous

    (@bravetenebrous)


    Receiving error that says form not valid, please fix errors when trying to pay with the paypal addin

    {“type”:”form”,”data”:{“fields”:[{“id”:”radio-1″,”element_id”:”radio-1″,”form_id”:”wrapper-8282-1767″,”parent_group”:””,”type”:”radio”,”options”:[{“label”:”Tier 1 – $500+ (Large t-shirt logo, race website advertisement, social media posts)”,”value”:”opt-1″,”key”:”7851-2559″,”error”:””,”calculation”:”500.00″},{“label”:”Tier 2 – $250 (Medium t-shirt logo, race website advertisement, social media posts)”,”value”:”opt-2″,”key”:”8153-2641″,”error”:””,”calculation”:”250.00″},{“label”:”Tier 3 – $100 (Smaill t-shirt logo, race website advertisement, social media posts)”,”value”:”opt-3″,”limit”:””,”default”:””,”key”:”2990-5382″,”error”:””,”calculation”:”1.00″}],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-8282-1767″,”hidden_behavior”:”zero”,”value_type”:”radio”,”field_label”:”Select your Sponsorship Tier:”,”layout”:”vertical”,”options_bulk_editor”:”Tier 1 – $500+ (Large t-shirt logo, race website advertisement, social media posts);opt-1; 0\nTier 2 – $250 (Medium t-shirt logo, race website advertisement, social media posts);opt-2; 0\nTier 3 – $100 (Smaill t-shirt logo, race website advertisement, social media posts);opt-3; 0″,”calculations”:”true”,”options_expanded”:”1″},{“id”:”text-1″,”element_id”:”text-1″,”form_id”:”wrapper-7278-6381″,”parent_group”:””,”type”:”text”,”options”:[],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-7278-6381″,”input_type”:”line”,”limit_type”:”characters”,”field_label”:”Company Name:”,”placeholder”:”E.g. text placeholder”},{“id”:”name-1″,”element_id”:”name-1″,”form_id”:”wrapper-9273-4487″,”parent_group”:””,”type”:”name”,”options”:[],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-9273-4487″,”field_label”:”Company Contact Name:”,”placeholder”:”E.g. John Doe”,”prefix_label”:”Prefix”,”fname_label”:”First Name”,”fname_placeholder”:”E.g. John”,”mname_label”:”Middle Name”,”mname_placeholder”:”E.g. Smith”,”lname_label”:”Last Name”,”lname_placeholder”:”E.g. Doe”,”prefix”:”true”,”fname”:”true”,”mname”:”true”,”lname”:”true”,”required_message”:”Name is required.”,”prefix_required_message”:”Prefix is required.”,”fname_required_message”:”First Name is required.”,”mname_required_message”:”Middle Name is required.”,”lname_required_message”:”Last Name is required.”,”layout_columns”:”2″},{“id”:”phone-1″,”element_id”:”phone-1″,”form_id”:”wrapper-8475-1728″,”parent_group”:””,”type”:”phone”,”options”:[],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-8475-1728″,”required”:””,”limit”:”10″,”limit_type”:”characters”,”validation”:”none”,”field_label”:”Phone Number:”,”placeholder”:”E.g. +1 300 400 5000″},{“id”:”email-1″,”element_id”:”email-1″,”form_id”:”wrapper-1752-2280″,”parent_group”:””,”type”:”email”,”options”:[],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-1752-2280″,”validation”:””,”placeholder”:”E.g. john@doe.com”,”field_label”:”Email Address:”},{“id”:”url-1″,”element_id”:”url-1″,”form_id”:”wrapper-5927-4890″,”parent_group”:””,”type”:”url”,”options”:[],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-5927-4890″,”field_label”:”Company Website:”,”placeholder”:”E.g. http://www.example.com”},{“id”:”textarea-1″,”element_id”:”textarea-1″,”form_id”:”wrapper-9596-3982″,”parent_group”:””,”type”:”textarea”,”options”:[],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-9596-3982″,”input_type”:”line”,”limit_type”:”characters”,”field_label”:”Short Description if you want it included on social media posts and website”,”placeholder”:”E.g. text placeholder\nYou can add new line”},{“id”:”upload-1″,”element_id”:”upload-1″,”form_id”:”wrapper-7177-7734″,”parent_group”:””,”type”:”upload”,”options”:[],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-7177-7734″,”field_label”:”Upload logo”,”filetypes”:[“all-image”,”all-video”,”all-document”,”all-audio”,”all-archive”,”all-text”,”all-spreadsheet”,”all-interactive”,”jpg|jpeg|jpe”,”gif”,”png”,”bmp”,”tiff|tif”,”webp”,”ico”,”heic”,”asf|asx”,”wmv”,”wmx”,”wm”,”avi”,”divx”,”flv”,”mov|qt”,”mpeg|mpg|mpe”,”mp4|m4v”,”ogv”,”webm”,”mkv”,”3gp|3gpp”,”3g2|3gp2″,”txt|asc|c|cc|h|srt”,”csv”,”tsv”,”ics”,”rtx”,”css”,”htm|html”,”vtt”,”dfxp”,”mp3|m4a|m4b”,”aac”,”ra|ram”,”wav”,”ogg|oga”,”flac”,”mid|midi”,”wma”,”wax”,”mka”,”rtf”,”js”,”pdf”,”class”,”tar”,”zip”,”gz|gzip”,”rar”,”7z”,”psd”,”xcf”,”doc”,”pot|pps|ppt”,”wri”,”xla|xls|xlt|xlw”,”mdb”,”mpp”,”docx”,”docm”,”dotx”,”dotm”,”xlsx”,”xlsm”,”xlsb”,”xltx”,”xltm”,”xlam”,”pptx”,”pptm”,”ppsx”,”ppsm”,”potx”,”potm”,”ppam”,”sldx”,”sldm”,”onetoc|onetoc2|onetmp|onepkg”,”oxps”,”xps”,”odt”,”odp”,”ods”,”odg”,”odc”,”odb”,”odf”,”wp|wpd”,”key”,”numbers”,”pages”],”file-type”:”single”,”file-limit”:”unlimited”,”upload-limit”:”8″,”filesize”:”MB”},{“id”:”checkbox-2″,”element_id”:”checkbox-2″,”form_id”:”wrapper-3972-4086″,”parent_group”:””,”type”:”checkbox”,”options”:[{“label”:”Paypal”,”value”:”one”,”key”:”6996-1462″,”error”:””},{“label”:”Givebutter”,”value”:”two”,”key”:”1421-8575″,”error”:””},{“label”:”Check to PO Box 455, Bristol, IL 60512″,”value”:”Check-to-PO-Box-455,-Bristol,-IL-60512″,”limit”:””,”default”:””,”key”:”6697-4245″,”error”:””}],”cols”:”12″,”conditions”:[],”wrapper_id”:”wrapper-3972-4086″,”hidden_behavior”:”zero”,”value_type”:”checkbox”,”field_label”:”Please indicate payment option here”,”layout”:”vertical”,”options_bulk_editor”:”Paypal;one; 0\nGivebutter;two; 0\nCheck to PO Box 455, Bristol, IL 60512;Check-to-PO-Box-455,-Bristol,-IL-60512; 0″},{“id”:”calculation-1″,”element_id”:”calculation-1″,”form_id”:”wrapper-6175-8020″,”parent_group”:””,”type”:”calculation”,”options”:[],”cols”:”12″,”conditions”:[{“element_id”:”radio-1″,”rule”:”is”,”value”:”one”},{“element_id”:”radio-1″,”rule”:”is”,”value”:”two”},{“element_id”:”radio-1″,”rule”:”is”,”value”:”Option-3″},{“element_id”:”radio-1″,”rule”:”is”,”value”:””}],”wrapper_id”:”wrapper-6175-8020″,”hidden_behavior”:”zero”,”field_label”:”Sponsorship Tier Selected:”,”formula”:”{radio-1}”,”condition_action”:”hide”,”condition_rule”:”any”},{“id”:”paypal-1″,”element_id”:”paypal-1″,”form_id”:”wrapper-6868-9020″,”parent_group”:””,”type”:”paypal”,”options”:[],”cols”:”12″,”conditions”:[{“element_id”:”checkbox-2″,”rule”:”is”,”value”:”one”},{“element_id”:”radio-1″,”rule”:”is_not”,”value”:””},{“element_id”:”checkbox-2″,”rule”:”is”,”value”:”one”}],”wrapper_id”:”wrapper-6868-9020″,”mode”:”live”,”currency”:”USD”,”amount_type”:”variable”,”label”:”checkout”,”color”:”gold”,”shape”:”rect”,”layout”:”vertical”,”tagline”:”true”,”locale”:”en_US”,”debug_mode”:”disable”,”height”:”40″,”amount”:”500.00″,”condition_rule”:”all”,”variable”:”calculation-1″},{“id”:”textarea-2″,”element_id”:”textarea-2″,”form_id”:”wrapper-3972-1718″,”parent_group”:””,”type”:”textarea”,”options”:[],”cols”:”12″,”conditions”:[{“element_id”:”radio-1″,”rule”:”is”,”value”:””},{“element_id”:”checkbox-2″,”rule”:”is”,”value”:”one”}],”wrapper_id”:”wrapper-3972-1718″,”input_type”:”line”,”limit_type”:”characters”,”field_label”:”Sponsorship Tier Selection is Required”,”placeholder”:”It looks as though you selected PayPal but did not pick a Sponsorship Tier, a sponsorship tier is required to complete a PayPal payment selection. Thank you.”}],”settings”:{“pagination-header”:”nav”,”paginationData”:{“pagination-header-design”:”show”,”pagination-header”:”nav”},”formName”:”Sponsorship Form”,”version”:”1.28.0″,”form-border-style”:”none”,”form-padding”:””,”form-border”:””,”fields-style”:”open”,”field-image-size”:”custom”,”validation”:”on_submit”,”akismet-protection”:”1″,”form-style”:”default”,”enable-ajax”:”true”,”autoclose”:”true”,”submission-indicator”:”show”,”indicator-label”:”Submitting…”,”form-type”:”default”,”submission-behaviour”:”behaviour-hide”,”thankyou-message”:”Thank you for contacting us, we will be in touch shortly.”,”submitData”:{“custom-submit-text”:”Send Message”,”custom-invalid-form-message”:”Error: Your form is not valid, please fix the errors!”},”validation-inline”:”1″,”form-expire”:”no_expire”,”form-padding-top”:”0″,”form-padding-right”:”0″,”form-padding-bottom”:”0″,”form-padding-left”:”0″,”form-border-width”:”0″,”form-border-radius”:”0″,”cform-label-font-family”:”Roboto”,”cform-label-custom-family”:””,”cform-label-font-size”:”16″,”cform-label-font-weight”:”bold”,”cform-title-font-family”:”Roboto”,”cform-title-custom-family”:””,”cform-title-font-size”:”45″,”cform-title-font-weight”:”normal”,”cform-title-text-align”:”left”,”cform-subtitle-font-family”:”Roboto”,”cform-subtitle-custom-font”:””,”cform-subtitle-font-size”:”18″,”cform-subtitle-font-weight”:”normal”,”cform-subtitle-text-align”:”left”,”cform-input-font-family”:”Roboto”,”cform-input-custom-font”:””,”cform-input-font-size”:”16″,”cform-input-font-weight”:”500″,”cform-radio-font-family”:”Roboto”,”cform-radio-custom-font”:””,”cform-radio-font-size”:”16″,”cform-radio-font-weight”:”500″,”cform-select-font-family”:”Roboto”,”cform-select-custom-family”:””,”cform-select-font-size”:”16″,”cform-select-font-weight”:”500″,”cform-multiselect-font-family”:”Roboto”,”cform-multiselect-custom-font”:””,”cform-multiselect-font-size”:”16″,”cform-multiselect-font-weight”:”normal”,”cform-dropdown-font-family”:”Roboto”,”cform-dropdown-custom-font”:””,”cform-dropdown-font-size”:”16″,”cform-dropdown-font-weight”:”500″,”cform-calendar-font-family”:”Roboto”,”cform-calendar-custom-font”:””,”cform-calendar-font-size”:”13″,”cform-calendar-font-weight”:”normal”,”cform-button-font-family”:”Roboto”,”cform-button-custom-font”:””,”cform-button-font-size”:”16″,”cform-button-font-weight”:”500″,”cform-timeline-font-family”:”Roboto”,”cform-timeline-custom-font”:””,”cform-timeline-font-size”:”12″,”cform-timeline-font-weight”:”normal”,”cform-pagination-font-family”:””,”cform-pagination-custom-font”:””,”cform-pagination-font-size”:”16″,”cform-pagination-font-weight”:”normal”,”payment_require_ssl”:”1″,”submission-file”:”delete”,”store_submissions”:”1″,”form_name”:”sponsorship-form”,”form_status”:”publish”,”cform-color-settings”:”true”,”sc_email_link”:”1″,”sc_message”:”
    Your form has been saved as draft and a resume link has been generated so you can return to the form anytime within {retention_period} days from today. Copy and save the link or enter your email address below to have the link sent to your mail.
    These fields weren’t saved to your submission draft: Paypal, Stripe, Signature, Password, Captcha, and Upload. Kindly fill them out before submitting the form.
    “,”cform-form-background”:”#72c8f3″,”cform-form-border”:”#004aad”,”dropdown-border”:”#004aad”,”button-upload-background-static”:”#004aad”,”button-submit-background-static”:”#004aad”,”form-font-family”:”custom”,”cform-response-font-size”:”16″,”cform-description-font-size”:”16″,”cform-validation-font-size”:”16″,”upload-single-button-font-size”:”16″,”dropdown-option-color-static”:”#333333″,”cform-label-color”:”#333333″,”response-loading-color”:”#333333″,”honeypot”:”1″,”notification_count”:1,”previous_status”:”publish”},”client_id”:null,”integration_conditions”:[],”behaviors”:[{“slug”:”behavior-1234-4567″,”label”:””,”autoclose-time”:”5″,”autoclose”:”true”,”newtab”:”sametab”,”thankyou-message”:”Thank you for contacting us, we will be in touch shortly.”,”email-thankyou-message”:””,”manual-thankyou-message”:””,”submission-behaviour”:”behaviour-thankyou”,”redirect-url”:””}],”notifications”:[{“slug”:”notification-1234-4567″,”label”:”Admin Email”,”email-recipients”:”default”,”recipients”:”admin@edwardssyndrome.org”,”email-subject”:”New Form Entry #{submission_id} for {form_name}”,”email-editor”:”You have a new website form submission:
    {all_fields}

    This message was sent from {site_url}.”,”email-attachment”:”true”,”type”:”default”,”conditions”:[],”from-name”:””,”form-email”:””,”replyto-email”:””,”cc-email”:””,”bcc-email”:””}]},”status”:”publish”,”version”:”1.28.0″}

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jair – WPMU DEV Support

    (@wpmudevsupport15)

    Hi @bravetenebrous,

    I hope you are doing well today!

    It seems like you’re getting a “Form not valid” error because some required fields are not being filled correctly or left empty. You should consider the following steps to debug your issue:

    1. Check all the mandatory or ‘required’ fields in your form. Make sure all the information is filled in correctly.
    2. Check the values for each field. Perhaps the data entered isn’t matching with the expected data type for that specific form field.
    3. Ensure your PayPal account is correctly linked and there are no issues with your PayPal account.
    4. This could be a plugin/theme or addon conflict. I suggest to perform full plugin/theme conflict test. Please make sure you have recent backups and perform this operation on your dev/staging site if possible.
      To learn more about a plugin conflict test, please see this guide below:
      https://wpmudev.com/docs/getting-started/getting-support/#conflict-test
    5. Turn on debug mode if it is available to get better details about the error.
      https://wpmudev.com/blog/debugging-wordpress-how-to-use-wp_debug/

    If you’ve checked everything and the problem persists, please share an export of the form with us, so that we can check further.

    You can find more info on how to export the form here : https://wpmudev.com/docs/wpmu-dev-plugins/forminator/#import-export

    After exporting, please share the code using a services such as https://pastebin.com or https://justpaste.it/ which is free to use.

    Please always make sure to use such service to share the code and don’t post the code here directly as it will most likely be unusable.

    Kind regards,
    Zafer

    Thread Starter bravetenebrous

    (@bravetenebrous)

    This can be marked as resolved. The issue was I was trying to pull the paypal value from a hidden calculated field. Once I unhide it it operated correctly. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PayPal Not working’ is closed to new replies.