Refactor: Rename create-pakasir-payment to create-payment

- Rename function to abstract payment provider details
- Add support for both QRIS and PayPal methods
- Update frontend to use generic create-payment function
- Remove provider-specific naming from UI/UX
- Payment provider (Pakasir) is now an implementation detail

Response format:
- QRIS: returns qr_string for in-app display, payment_url as fallback
- PayPal: returns payment_url for redirect

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
dwindown
2025-12-23 21:41:47 +07:00
parent a9f7c9b07a
commit 1a36f831cc
5 changed files with 158 additions and 126 deletions

View File

@@ -45,5 +45,5 @@ verify_jwt = false
[functions.delete-order]
verify_jwt = false
[functions.create-pakasir-payment]
[functions.create-payment]
verify_jwt = false