Adyen / adyen-node-api-library

Adyen API Library for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG]Shopper country is not shown in customer area despite been passed in payment request

daviddamilola opened this issue · comments

Describe the bug
Shopper country is not shown in customer area despite been passed in payment request, the documentation says countryCode field should be passed for the shopper country

To Reproduce
request log is

{
   "merchantAccount" : "*****",
   "storePaymentMethod" : false,
   "browserInfo" : {
      "userAgent" : "Mozilla\/5.0 (iPhone; CPU iPhone OS 17_1_2 like Mac OS X) AppleWebKit\/605.1.15 (KHTML, like Gecko) Mobile\/15E148"
   },
   "amount" : {
      "value" : 7690,
      "currency" : "EUR"
   },
   "paymentMethod" : {
      "encryptedSecurityCode" : "***...(575)",
      "type" : "******",
      "threeDS2SdkVersion" : "*****",
      "storedPaymentMethodId" : "****************",
      "checkoutAttemptId" : "*****************************************************************************************************************"
   },
   "returnUrl" : "****************",
   "shopperReference" : "************************************",
   "shopperInteraction" : "ContAuth",
   "recurringProcessingModel" : "CardOnFile",
   "lineItems" : [
      {
         "amountExcludingTax" : 6900,
         "color" : "1C",
         "quantity" : 1,
         "description" : "Script Embroidery Sweatshirt Dark Navy \/ White "
      }
   ],
   "shopperEmail" : "***************",
   "shopperName" : {
      "firstName" : "****",
      "lastName" : "**"
   },
   "countryCode" : "DE",
   "channel" : "iOS",
   "reference" : "b0fff723-0200-4a78-838f-f0d967cfe194",
   "additionalData" : {
      "allow3DS2" : "true",
      "recurringProcessingModel" : "**********",
      "metadata.ctProjectKey" : "****************",
      "reference" : "************************************",
      "lineItems" : [
         {
            "id" : "************************************",
            "color" : "**",
            "colorDescription" : "*****************",
            "name" : "**********************************************",
            "productId" : "************************************",
            "productKey" : "",
            "productSlug" : "************************************************",
            "quantity" : "*",
            "scu" : "**********",
            "size" : "**",
            "inStock" : "true",
            "totalPrice" : {
               "currencyCode" : "***",
               "centAmount" : "****"
            },
            "totalPriceWithoutDiscount" : {
               "centAmount" : "****",
               "currencyCode" : "***"
            },
            "images" : [
               {
                  "url" : "**********************************************************",
                  "alt" : "*************",
                  "width" : "****",
                  "height" : "****"
               },
               {
                  "url" : "**********************************************************",
                  "alt" : "*************",
                  "width" : "****",
                  "height" : "****"
               },
               {
                  "url" : "**********************************************************",
                  "alt" : "*************",
                  "width" : "****",
                  "height" : "****"
               },
               {
                  "url" : "*******************************************************",
                  "alt" : "*************",
                  "width" : "***",
                  "height" : "***"
               },
               {
                  "url" : "**********************************************************",
                  "alt" : "*************",
                  "width" : "****",
                  "height" : "****"
               },
               {
                  "url" : "**********************************************************",
                  "alt" : "*************",
                  "width" : "****",
                  "height" : "****"
               },
               {
                  "url" : "**********************************************************",
                  "alt" : "*************",
                  "width" : "****",
                  "height" : "****"
               }
            ]
         }
      ],
      "shopperEmail" : "***************",
      "shopperName" : {
         "firstName" : "****",
         "lastName" : "**"
      },
      "countryCode" : "**"
   },
   "applicationInfo" : {
      "adyenLibrary" : {
         "name" : "adyen-node-api-library",
         "version" : "13.1.3"
      }
   }
}

Expected behavior
country should be part of shopper details in the dashboard here
Screenshot 2024-01-05 at 15 02 02

Screenshots
Screenshot 2024-01-05 at 15 02 02

Desktop (please complete the following information):

  • OS: [e.g. Windows, Mac, Linux]
  • Node Version: [e.g. 8.1.2]
  • NPM Version: [e.g. 6.7]

checkout api