Payment Provider 403 Error on Live environment

Hello,

Im currently developing a integration with Adyen. Therefore there is a problem with policies. Adyen has a dynamic URL for each merchant in this format http://{merchant-url-prefix}-checkout-live.adyenpayments.com/checkout/v68. The problem is that i cannot declare a outbound-acess on manifest file to acess those dynamic url from aws servers. So i keep getting this error:

{"endpoint":"http://14bc048714e340cf-AdyenTechSupport-checkout-live.adyenpayments.com/checkout/v68/payments","url":"/payments","params":{},"baseURL":"http://14bc048714e340cf-AdyenTechSupport-checkout-live.adyenpayments.com/checkout/v68","timeout":10000,"data":{"code":"Forbidden","message":"Role link:adyen.payment-provider-v3@2.16.2 in adyen/staging cannot perform action POST on resource vrn:proxy:aws-us-east-1:adyen:staging:14bc048714e340cf-adyentechsupport-checkout-live.adyenpayments.com/checkout/v68/payments","source":"Vtex.Kube.Router","requestId":"9bd4321ed9674100ae68c4362428eb62"},"statusText":"Forbidden","status":403}

Those are my declarations inside policies on manifest file:

{
      "name": "outbound-access",
      "attrs": {
        "host": "*-checkout-live.adyenpayments.com",
        "path": "/*"
      }
    },
    {
      "name": "outbound-access",
      "attrs": {
        "host": "checkout-live.adyenpayments.com",
        "path": "/*"
      }
    },
    {
      "name": "outbound-access",
      "attrs": {
        "host": "*.adyenpayments.com",
        "path": "/*"
      }
    },

Is possible to declare a dynamic url outbound-acess?

1 Like

Hi, @gabriel.capanema1

When we need to declare a dynamic URL because of the VTEX accounts we use the following:
“host”: “{{account}}.vtexcommercestable.com.br”

You can try something like:
“host”: “{{dynamic}}.adyenpayments.com”

1 Like