Skip to content

Some form integrations are calling both AJAX and PHP submission handlers #887

@fpcorso

Description

@fpcorso

Describe the bug

Some of our form integrations, including CF7 and WPForms, are calling both our AJAX and PHP submission handlers resulting in duplicate processes for cookie creation and conversion counts.

Site information

Popup Maker version: 1.12.0
WordPress version: 5.5.1
PHP version: 7.4.1

Proposed Solution

We should have a method in the abstract form integration class that will check if it's an AJAX or REST call. We then use that method within each form integration to determine if we should process the form submission.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions