Description
Allows you to chain Forms 3rdparty Integration services, including the “flattened” response from the previous service request as part of the mappable submission.
Installation
- Unzip, upload plugin folder to your plugins directory (
/wp-content/plugins/
) - Make sure Forms 3rdparty Integration is installed and settings have been saved at least once.
- Activate plugin
- In the newly available section “Secondary Post” in the ‘3rdparty services’ admin, choose one or more services to perform afterwards.
- In that service, include flattened service response values like
Response/Body/SomeKey
.
FAQ
- How does it add the response values?
-
Using the provided endpoint examples
test-json-response.php
andtest-xml-response.php
, it will automatically nest XML/JSON and merge it to the original form submission like:XML
[env:Envelope/env:Body/ns1:Response/ns1:Resultstatus] => foo [env:Envelope/env:Body/ns1:Response/ns1:Result] => bar [env:Envelope/env:Body/ns1:Response/ns1:Description] => baz
JSON
[Body/Response/ResultStatus] => foo [Body/Response/Result] => bar [Body/Response/Description] => baz
Note that XML responses will include the namespace prefixes. You may then reference them in the other service using the keys.
- It doesn’t work right…
-
Drop an issue at https://github.com/zaus/forms-3rdparty-postagain
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Forms: 3rd-Party Post Again” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Forms: 3rd-Party Post Again” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
0.3
- no longer throws Exception on unknown response type because it unhelpfully breaks the page
- instead just includes the non-XML/JSON response as
#CONTENT
0.1
IT HAS BEGUN