feat(payment): unify payment callback endpoint for all gateways and types
This commit is contained in:
@@ -33,8 +33,7 @@ class SecurityHeadersSubscriber implements EventSubscriberInterface
|
||||
$isPaymentPage =
|
||||
str_starts_with($path, '/api/v1/payment/order/')
|
||||
|| str_starts_with($path, '/api/v1/payment/pay/')
|
||||
|| str_starts_with($path, '/api/v1/payment/callback/')
|
||||
|| str_starts_with($path, '/api/v1/subscription-payment/callback/');
|
||||
|| $path === '/api/v1/payment/callback';
|
||||
|
||||
$response->headers->set(
|
||||
'Content-Security-Policy',
|
||||
|
||||
Reference in New Issue
Block a user