Skip to content

Commit 27d13af

Browse files
authored
Update agreement.md
edited callback table for agreements
1 parent 5762e59 commit 27d13af

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

docs/subscriptions/agreement.md

+7-8
Original file line numberDiff line numberDiff line change
@@ -178,14 +178,13 @@ When the **Agreement's** status changes from *Pending* we will do a callback to
178178

179179
The table below shows possible *status*, *status_text* and *status_code* values depending on the **Agreement** status changes.
180180

181-
|New Status|Condition|URL| Callback *status* | Callback *status_text* |Callback *status_code*|
182-
|----------|---------|---|-------------------|------------------------|----------------------|
183-
|Accepted |_User swiped to accept the Agreement_ |*success-callback* |Active | |0|
184-
|Rejected |_User rejected agreement in the APP_ |*cancel-callback* |Rejected|Agreement rejected by user|40000|
185-
|Expired |_User did not do anything during the agreement timeout period._|*cancel-callback* |Expired |Pending agreement expired|40001|
186-
|Canceled |_User canceled an Active agreement_ |*cancel-callback* |Canceled|Agreement canceled by user|40002|
187-
|Canceled |_Merchant canceled an Active or Pending agreement_ |*cancel-callback* |Canceled|Agreement canceled by merchant|40003|
188-
|Canceled |_System canceled an Active agreement because user was Deleted_ |*cancel-callback* |Canceled|Agreement canceled by system|40004|
181+
| Status | Status code | Status text |
182+
|--------------|------------------|-----------------------------------------------|
183+
| Accepted | 0 | The agreement has been accepted. |
184+
| Expired | 40001 | Pending agreement expired. |
185+
| Rejected | 40000 | Rejected by user. |
186+
| Canceled | 40002 | The agreement was canceled by the user. |
187+
| Canceled | 40003 | The agreement was canceled by the merchant. |
189188

190189
You do not get a callback that tells you specifically if/when the user closes the landing page with the timer.
191190

0 commit comments

Comments
 (0)