0 comments (0 comments)0 reactions (0 reactions)0 assignees (0 assignees)PHP28 stars (28 stars)10 forks (10 forks)user submission
help wanted
Description
考虑的一个实现的思路是可以通过前端脚本每秒一次的请求来向后端发送验证请求,确定是否支付成功,成功则刷新页面。
Contributor guide
- Tech stack
- phpjavascript
- Domain
- frontendbackend
- Issue type
- feature
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-3 hours
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- stale
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- mostly clear
- Prerequisites
- Basic JavaScriptBasic PHP
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 40
- Research direction
- The issue requests auto refresh upon payment success using frontend polling. The repository is a WordPress plugin written in PHP. To implement, first check if there is an existing endpoint to verify payment status (likely in the plugin's PHP backend). Then create a JavaScript script that polls this endpoint every second and refreshes the page when payment is confirmed. However, the repository description indicates it is no longer maintained, so the issue may be considered stale. It is recommended to ask the maintainer if this feature is still desired before implementing.