diff --git a/subscription-example/src/main/java/com/adyen/checkout/api/SubscriptionResource.java b/subscription-example/src/main/java/com/adyen/checkout/api/SubscriptionResource.java index 5df51346..70a4ff74 100644 --- a/subscription-example/src/main/java/com/adyen/checkout/api/SubscriptionResource.java +++ b/subscription-example/src/main/java/com/adyen/checkout/api/SubscriptionResource.java @@ -40,7 +40,7 @@ public SubscriptionResource(ApplicationProperty applicationProperty) { log.warn("ADYEN_KEY is UNDEFINED"); throw new RuntimeException("ADYEN_KEY is UNDEFINED"); } - + var client = new Client(applicationProperty.getApiKey(), Environment.TEST); this.paymentsApi = new PaymentsApi(client); } diff --git a/subscription-example/src/main/resources/templates/admin/index.html b/subscription-example/src/main/resources/templates/admin/index.html index 01c34cec..2524051e 100644 --- a/subscription-example/src/main/resources/templates/admin/index.html +++ b/subscription-example/src/main/resources/templates/admin/index.html @@ -24,14 +24,16 @@

ADMIN PANEL

- ShopperReference: shopperReference here

+ ShopperReference: shopperReference here