Title: 创建 Refund 对象,怎么不能传商户自己的退款单号? · Issue #36 · PingPlusPlus/pingpp-java · GitHub
Open Graph Title: 创建 Refund 对象,怎么不能传商户自己的退款单号? · Issue #36 · PingPlusPlus/pingpp-java
X Title: 创建 Refund 对象,怎么不能传商户自己的退款单号? · Issue #36 · PingPlusPlus/pingpp-java
Description: 如果创建 Refund 对象超时,并不幂等,只能根据Charge分页查询获取最新的Refund对象,但是是部分退款,获取到了最新的Refund对象,还只能通过金额去判断大概是不是这个Refund对象。如果差不多先后时间,有其他业务操作也是创建了相同金额的Refund对象。 那么有可能就会存在误判,认为这个Refund对象是之前超时请求创建的。 本来先后有两个业务都退了5块钱,其中一个超时网络异常,实际并没有请求成功,但是查询了一次发现其他业务创建的Refund对象,则会...
Open Graph Description: 如果创建 Refund 对象超时,并不幂等,只能根据Charge分页查询获取最新的Refund对象,但是是部分退款,获取到了最新的Refund对象,还只能通过金额去判断大概是不是这个Refund对象。如果差不多先后时间,有其他业务操作也是创建了相同金额的Refund对象。 那么有可能就会存在误判,认为这个Refund对象是之前超时请求创建的。 本来先后有两个业务都退了5块钱,其中一个超时网络...
X Description: 如果创建 Refund 对象超时,并不幂等,只能根据Charge分页查询获取最新的Refund对象,但是是部分退款,获取到了最新的Refund对象,还只能通过金额去判断大概是不是这个Refund对象。如果差不多先后时间,有其他业务操作也是创建了相同金额的Refund对象。 那么有可能就会存在误判,认为这个Refund对象是之前超时请求创建的。 本来先后有两个业务都退了5块钱,其中一个超时网络...
Opengraph URL: https://github.com/PingPlusPlus/pingpp-java/issues/36
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"创建 Refund 对象,怎么不能传商户自己的退款单号?","articleBody":"如果创建 Refund 对象超时,并不幂等,只能根据Charge分页查询获取最新的Refund对象,但是是部分退款,获取到了最新的Refund对象,还只能通过金额去判断大概是不是这个Refund对象。如果差不多先后时间,有其他业务操作也是创建了相同金额的Refund对象。\r\n那么有可能就会存在误判,认为这个Refund对象是之前超时请求创建的。\r\n\r\n本来先后有两个业务都退了5块钱,其中一个超时网络异常,实际并没有请求成功,但是查询了一次发现其他业务创建的Refund对象,则会存在误认为自己退款成功\r\n。\r\n\r\nB-----\u003e Create Refund对象, 退款5元,创建成功。\r\nB-----\u003e Create Refund对象, 退款5元,创建失败,因为网络超时,实际ping++并没有收到请求,\r\n这边流程会根据Charge对象去查询Refund对象列表,发现刚才已经创建成功了一个Refund对象 也是退款5元,因为没有其他信息只能根据金额。\r\n不然描述description字段保存退款单号。。。","author":{"url":"https://github.com/zbz0425","@type":"Person","name":"zbz0425"},"datePublished":"2024-02-26T09:43:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/36/pingpp-java/issues/36"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bad55b9d-6806-2fa4-3631-8f29170bf63f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC5C:17A656:1E20DBD:27D7846:6A5C9344 |
| html-safe-nonce | 1689cd2e88c2468cfbfc303d2453393659c0acc7db75ed5a54c2dddc3f6a93a9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzVDOjE3QTY1NjoxRTIwREJEOjI3RDc4NDY6NkE1QzkzNDQiLCJ2aXNpdG9yX2lkIjoiNjUyNjI5OTEzMTI4Nzk5OTMwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5eceb1afbcc1f80af562b28d5620cb61568fdda399761babb68bb67eb68499f4 |
| hovercard-subject-tag | issue:2153712878 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PingPlusPlus/pingpp-java/36/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ee1fc7266fab0879f7b03028d236357afe7c40f1acc5c4a3189810ccb3cfd6ff/PingPlusPlus/pingpp-java/issues/36 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ee1fc7266fab0879f7b03028d236357afe7c40f1acc5c4a3189810ccb3cfd6ff/PingPlusPlus/pingpp-java/issues/36 |
| og:image:alt | 如果创建 Refund 对象超时,并不幂等,只能根据Charge分页查询获取最新的Refund对象,但是是部分退款,获取到了最新的Refund对象,还只能通过金额去判断大概是不是这个Refund对象。如果差不多先后时间,有其他业务操作也是创建了相同金额的Refund对象。 那么有可能就会存在误判,认为这个Refund对象是之前超时请求创建的。 本来先后有两个业务都退了5块钱,其中一个超时网络... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zbz0425 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| turbo-cache-control | no-preview |
| go-import | github.com/PingPlusPlus/pingpp-java git https://github.com/PingPlusPlus/pingpp-java.git |
| octolytics-dimension-user_id | 7113953 |
| octolytics-dimension-user_login | PingPlusPlus |
| octolytics-dimension-repository_id | 24627972 |
| octolytics-dimension-repository_nwo | PingPlusPlus/pingpp-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24627972 |
| octolytics-dimension-repository_network_root_nwo | PingPlusPlus/pingpp-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width