feat(payment): unify payment callback endpoint for all gateways and types
This commit is contained in:
@@ -42,7 +42,7 @@ security:
|
||||
security: false
|
||||
|
||||
payment_callback:
|
||||
pattern: ^/api/v1/(payment/(callback|pay|order)/|subscription-payment/callback/)
|
||||
pattern: ^/api/v1/payment/(callback|pay/|order/)
|
||||
stateless: true
|
||||
security: false
|
||||
|
||||
@@ -85,10 +85,9 @@ security:
|
||||
- { path: ^/oauth/token$, roles: PUBLIC_ACCESS }
|
||||
- { 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/callback, roles: PUBLIC_ACCESS }
|
||||
- { path: ^/api/v1/payment/pay/, roles: PUBLIC_ACCESS }
|
||||
- { path: ^/api/v1/payment/order/, 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 }
|
||||
- path: '^/api/v1/doctor/[^/]+$'
|
||||
|
||||
Reference in New Issue
Block a user