Stellar PHP SDK API Documentation

SEP08PostActionDone extends SEP08PostActionResponse

Response indicating no further action is required after posting action fields.

This response means the approval server received sufficient information from the POST action request and the wallet can now resubmit the original transaction to the approval server for final evaluation.

Workflow after receiving this response:

  1. Call postTransaction() again with the original transaction
  2. Handle the new response (likely success or revised)

This represents the successful completion of the action_required workflow when the wallet was able to provide the requested SEP-9 fields programmatically.

HTTP Status Code: 200

Tags
see
https://github.com/stellar/stellar-protocol/blob/v1.7.4/ecosystem/sep-0008.md#following-the-action-url

SEP-0008 v1.7.4

Table of Contents

Methods

fromJson()  : SEP08PostActionResponse
Factory method to construct an action response object from JSON data.

Methods

fromJson()

Factory method to construct an action response object from JSON data.

public static fromJson(array<string|int, mixed> $json) : SEP08PostActionResponse

Parses the JSON response after posting action fields and instantiates the appropriate concrete response class based on the 'result' field value.

Result Mapping:

  • "no_further_action_required" -> SEP08PostActionDone
  • "follow_next_url" -> SEP08PostActionNextUrl
Parameters
$json : array<string|int, mixed>

Decoded JSON response from action URL

Tags
throws
SEP08InvalidPostActionResponse

If result field is missing, unknown, or required fields for the given result are missing

Return values
SEP08PostActionResponse

Concrete subclass instance based on result field


        
On this page

Search results