feat(payment): enhance payment flow with new pay endpoint and POST redirect method

This commit is contained in:
hamed
2026-07-02 12:19:43 +03:30
parent 02c34bac8e
commit 1e342a695f
5 changed files with 129 additions and 19 deletions
+2 -1
View File
@@ -38,7 +38,7 @@ security:
security: false
payment_callback:
pattern: ^/api/v1/(payment|subscription-payment)/callback/
pattern: ^/api/v1/(payment/(callback|pay)/|subscription-payment/callback/)
stateless: true
security: false
@@ -74,6 +74,7 @@ security:
- { path: ^/oauth/token/refresh$, roles: PUBLIC_ACCESS }
- { path: ^/session/token, roles: PUBLIC_ACCESS }
- { path: ^/api/v1/payment/callback/, roles: PUBLIC_ACCESS }
- { path: ^/api/v1/payment/pay/, roles: PUBLIC_ACCESS }
- { path: ^/api/v1/subscription-payment/callback/, roles: PUBLIC_ACCESS }
- { path: ^/api/v1/categorys/, roles: PUBLIC_ACCESS }
- { path: ^/api/v1/doctors$, roles: PUBLIC_ACCESS }