Skip to content

Commit

Permalink
update Result Code
Browse files Browse the repository at this point in the history
  • Loading branch information
payssion committed Mar 20, 2019
1 parent 17ed760 commit a11235e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ The return data package is PayResponse.class ,you can get it by Intent.getSerial
| getCreated | created |Int |created time|
| getDescription | description |String |description|

### 2.Result Code Note
### 2.Result Code

| Parameter name  | Description| Type | Value
| :-------------- | :---------------- | :--------- | :--------- |
| RESULT_OK   | payment success    | int| 770
| RESULT_CANCELED | Payment cancellation    | int| 771
| RESULT_ERROR | Payment exception   | int| 772
| RESULT_OK   | The payment activity is finished and the payment status is unknown | int| 770
| RESULT_CANCELED | Payment canceled    | int| 771
| RESULT_ERROR | Payment error   | int| 772


### 3.Tips
Expand Down
6 changes: 3 additions & 3 deletions md/android-studio.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,9 @@ MainActivity.this.startActivityForResult(intent, 0);

| 参数名 | 释义 | 类型 | 值
| :-------------- | :--------- | :--------- | :--------- |
| RESULT_OK   | 支付成功    | int| 770
| RESULT_CANCELED | 支付取消    | int| 771
| RESULT_ERROR | 支付异常   | int| 772
| RESULT_OK   | 正常返回,但不代表支付成功,具体支付状态以异步通知为准    | int| 770
| RESULT_CANCELED | 支付被取消    | int| 771
| RESULT_ERROR | 支付错误   | int| 772


### 3.注意事项
Expand Down

0 comments on commit a11235e

Please sign in to comment.