From b98be476eefbc23ac2358521a9ab31ea0032af31 Mon Sep 17 00:00:00 2001 From: Kwok He Chu <105217051+Kwok-he-Chu@users.noreply.github.com> Date: Mon, 8 Jan 2024 16:11:22 +0100 Subject: [PATCH] Fix CountryCode --- .../src/main/java/com/adyen/checkout/api/ApiController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authorisation-adjustment-example/src/main/java/com/adyen/checkout/api/ApiController.java b/authorisation-adjustment-example/src/main/java/com/adyen/checkout/api/ApiController.java index 4f74a9f..9921f60 100644 --- a/authorisation-adjustment-example/src/main/java/com/adyen/checkout/api/ApiController.java +++ b/authorisation-adjustment-example/src/main/java/com/adyen/checkout/api/ApiController.java @@ -107,8 +107,8 @@ public ResponseEntity payments(@RequestHeader String host, @Req // we strongly recommend that you the billingAddress in your request // card schemes require this for channel web, iOS, and Android implementations BillingAddress billingAddress = new BillingAddress(); - billingAddress.setCountry("Amsterdam"); - billingAddress.setCity("The Netherlands"); + billingAddress.setCountry("NL"); + billingAddress.setCity("Amsterdam"); billingAddress.setStreet("Street"); billingAddress.setHouseNumberOrName("1"); billingAddress.setStateOrProvince("North Holland");