Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Forms: 3rd-Party Post Again

Skildring

Allows you to chain Forms 3rdparty Integration services, including the «flattened» response from the previous service request as part of the mappable submission.

Installasjon

  1. Unzip, upload plugin folder to your plugins directory (/wp-content/plugins/)
  2. Make sure Forms 3rdparty Integration is installed and settings have been saved at least once.
  3. Activate plugin
  4. In the newly available section «Secondary Post» in the «3rdparty services» admin, choose one or more services to perform afterwards.
  5. In that service, include flattened service response values like Response/Body/SomeKey.

Vanlege spm.

How does it add the response values?

Using the provided endpoint examples test-json-response.php and test-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

Omtalar

There are no reviews for this plugin.

Bidragsytarar og utviklarar

“Forms: 3rd-Party Post Again” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

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