zaus/forms-3rdparty-integration

Multisite problem

Opened this issue · 0 comments

Hi,
i have a multisite installation and i send email to a service similar to Mailchimp.

For the first site all works fine, but for the other subsite (i user subfolder isntallations and domain mapping) the sistem return me a correct but incomplete response and the data will not send.

Attach here the email DEBUG
Thanks best regards

FIRST SITE
*** Service ***
Array
(
[name] => MailUp
[url] => http://f8g8i.s92.it/frontend/xmlSubscribe.aspx
[forms] => Array
(
[0] => cf7_138
[1] => cf7_980
[2] => cf7_1000
)

[success] =>
[failure] =>
[timeout] => 10
[mapping] => Array
(
[0] => Array
(
[lbl] => conferma
[src] => accettodem
[3rd] => accettodem
)

[1] => Array
(
[lbl] => The email address
[src] => your-email
[3rd] => email
)

[2] => Array
(
[val] => 1
[lbl] => Lista
[src] => 1
[3rd] => list
)

[3] => Array
(
[val] => 1
[lbl] => Gruppo
[src] => 54
[3rd] => group
)

)

)

*** Post (Form) ***
http://www.zonzini.it/wp-json/contact-form-7/v1/contact-forms/980/feedback
Array
(
[_wpcf7] => 980
[_wpcf7_version] => 4.8
[_wpcf7_locale] => it_IT
[_wpcf7_unit_tag] => wpcf7-f980-p978-o1
[_wpcf7_container_post] => 978
[your-email] => sdfgdfg@045web.it
[accettodem] => Array
(
[0] => Acconsento al trattamento dei dati secondo la
)

)

*** Post (to Service) ***
Array
(
[timeout] => 10
[body] => Array
(
[accettodem] => Acconsento al trattamento dei dati secondo la
[email] => sdfgdfg@045web.it
[list] => 1
[group] => 54
)

)

*** Response ***
WP_HTTP_Requests_Response Object
(
[response:protected] => Requests_Response Object
(
[body] => Attenzione. Controllare la propria casella sdfgdfg@045web.it e confermare l’iscrizione.

[raw] => HTTP/1.1 200 OK
Date: Mon, 12 Jun 2017 16:11:47 GMT
Server: PWS/8.2.1.6.3
X-Px: nc h0-s4004.p1-mxp ( h0-s4003.p1-mxp), nc h0-s4003.p1-mxp ( origin)
Cache-Control: private
Content-Length: 89
Content-Type: text/html; charset=utf-8
X-AspNet-Version: 4.0.30319
Access-Control-Allow-Origin: *
X-Powered-By: ASP.NET
Connection: close

Attenzione. Controllare la propria casella sdfgdfg@045web.it e confermare l’iscrizione.

[headers] => Requests_Response_Headers Object
(
[data:protected] => Array
(
[date] => Array
(
[0] => Mon, 12 Jun 2017 16:11:47 GMT
)

[server] => Array
(
[0] => PWS/8.2.1.6.3
)

[x-px] => Array
(
[0] => nc h0-s4004.p1-mxp ( h0-s4003.p1-mxp), nc h0-s4003.p1-mxp ( origin)
)

[cache-control] => Array
(
[0] => private
)

[content-length] => Array
(
[0] => 89
)

[content-type] => Array
(
[0] => text/html; charset=utf-8
)

[x-aspnet-version] => Array
(
[0] => 4.0.30319
)

[access-control-allow-origin] => Array
(
[0] => *
)

[x-powered-by] => Array
(
[0] => ASP.NET
)

)

)

[status_code] => 200
[protocol_version] => 1.1
[success] => 1
[redirects] => 0
[url] => Requests_IRI Object
(
[scheme:protected] => http
[iuserinfo:protected] =>
[ihost:protected] => f8g8i.s92.it
[port:protected] =>
[ipath:protected] => /frontend/xmlSubscribe.aspx
[iquery:protected] =>
[ifragment:protected] =>
[normalization:protected] => Array
(
[acap] => Array
(
[port] => 674
)

[dict] => Array
(
[port] => 2628
)

[file] => Array
(
[ihost] => localhost
)

[http] => Array
(
[port] => 80
)

[https] => Array
(
[port] => 443
)

)

)

[history] => Array
(
)

[cookies] => Requests_Cookie_Jar Object
(
[cookies:protected] => Array
(
)

)

)

[filename:protected] =>
[data] =>
[headers] =>
[status] =>
)

SUBSITE
*** Service ***
Array
(
[name] => Service 1
[url] => http://f8g8i.s92.it/frontend/xmlSubscribe.aspx
[forms] => Array
(
[0] => cf7_138
[1] => cf7_1167
)

[success] =>
[failure] =>
[timeout] => 10
[mapping] => Array
(
[0] => Array
(
[lbl] => The email address
[src] => your-email
[3rd] => email
)

[1] => Array
(
[val] => 1
[lbl] => Lista
[src] => 9
[3rd] => list
)

[2] => Array
(
[val] => 1
[lbl] => Gruppo
[src] => 68
[3rd] => group
)

)

)

*** Post (Form) ***
http://www.zonzini.us/wp-json/contact-form-7/v1/contact-forms/1167/feedback
Array
(
[_wpcf7] => 1167
[_wpcf7_version] => 4.8
[_wpcf7_locale] => en_US
[_wpcf7_unit_tag] => wpcf7-f1167-p1168-o1
[_wpcf7_container_post] => 1168
[your-email] => poifa@045web.it
[privacy] => Array
(
[0] => I agree to the use of my personal data according to the
)

)

*** Post (to Service) ***
Array
(
[timeout] => 10
[body] => Array
(
[email] => poifa@045web.it
[list] => 9
[group] => 68
)

[response_bypass] => Array
(
[body] => OKAY
[response] => Array
(
[code] => 200
)

)

)

*** Response ***
Array
(
[body] => OKAY
[response] => Array
(
[code] => 200
)

)