Spaces:
Paused
Paused
|
Download README.md from bxm0121/session-link-gen: direct link, hf CLI and curl.
- Browser
- Download file 2.06 kB
-
https://huggingface.co/spaces/bxm0121/session-link-gen/resolve/main/README.md
- Command line
-
hf download hf://spaces/bxm0121/session-link-gen/README.md
-
curl -L -o README.md https://huggingface.co/spaces/bxm0121/session-link-gen/resolve/main/README.md
2.06 kB
| title: OpenAI Pay PP | |
| emoji: 🔗 | |
| colorFrom: blue | |
| colorTo: indigo | |
| sdk: docker | |
| app_port: 7860 | |
| suggested_hardware: cpu-basic | |
| # OpenAI Pay Link Panel????? | |
| ????????CDK ????iDEAL?PayPal?UPI??????????????????? PP/UPI ????????????? | |
| ## ???? | |
| - ?? Checkout ? approve ???????????? 3 ??`blocked` ???????????? 100 ???3000 ?????? | |
| - Checkout ? approve ????????? URL/SID??????????? Checkout ??? SID? | |
| - Provider ????????PayPal ?? PM ???UPI ?? IN?iDEAL ???????????? Provider ?????????? NL? | |
| - Stripe ?????PayPal/iDEAL ?????? `2025-03-31.basil`?UPI ???? `2026-06-24.dahlia`? | |
| - ?? UPI `upi_handle_redirect_or_display_qr_code`?hosted instructions ? QR PNG/SVG URL? | |
| - Stripe redirect ?????? 3 ??UPI confirm ??? 60 ?? | |
| - ?? Checkout ? `generic_decline/setup_attempt_failed` ????????? CS ????????? CS/? SID ?????? | |
| - ???? Stripe ?????????????????????? `payment_method_types_mismatch`? | |
| - ????????????????? PayPal/iDEAL/UPI ???? | |
| - CDK ???? `X-CDK` ?????????????????????????? Token/CDK/????? | |
| ????? [`docs/AUDIT.md`](docs/AUDIT.md)? | |
| ## ???? | |
| ```bash | |
| python -m venv .venv | |
| . .venv/bin/activate | |
| pip install -r requirements.txt | |
| cp .env.example .env | |
| set -a; . ./.env; set +a | |
| uvicorn app:app --host 127.0.0.1 --port 8796 | |
| ``` | |
| Windows PowerShell? | |
| ```powershell | |
| python -m venv .venv | |
| .\.venv\Scripts\Activate.ps1 | |
| pip install -r requirements.txt | |
| $env:APP_PASSWORD = "anxiaomo294" | |
| uvicorn app:app --host 127.0.0.1 --port 8796 | |
| ``` | |
| ## ?? | |
| ```bash | |
| python -m py_compile app.py | |
| python -m unittest discover -s tests -v | |
| ``` | |
| ## ?? | |
| 1. ? `.env.example` ??? root ???????? | |
| 2. ?? `deploy/openai-pay-pp.service`? | |
| 3. ????????? `deploy/zz-safe-runtime.conf`????? approve ??? | |
| 4. ?? Nginx/Caddy ?? HTTPS?Uvicorn ???????? | |
| ```bash | |
| sudo systemctl daemon-reload | |
| sudo systemctl enable --now openai-pay-pp | |
| ``` | |
| ## PP / UPI ???? | |
| - Checkout ????? 0??? Stripe init ??????????? | |
| - PayPal ????? Processor/???? SetupIntent???????? `generic_decline` ?????? | |
| - UPI ?? INR/IN PM?IN Provider ??? Stripe schema?????? hosted QR/instructions ?? | |
| - `0 ?`?`??????`?`OpenAI approve ??`?`Stripe/Provider ????`????????? | |