From e6215ea645178fe8c31b8eba23831933ac18091d Mon Sep 17 00:00:00 2001 From: Yixian Date: Thu, 5 May 2022 16:43:06 +0800 Subject: [PATCH] fix auth settings --- .../auth/domain/application/ShopifyMerchantAuthApplication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/shopify/auth/domain/application/ShopifyMerchantAuthApplication.java b/src/main/java/au/com/royalpay/payment/manage/shopify/auth/domain/application/ShopifyMerchantAuthApplication.java index fc0eb098b..df0ec94ac 100644 --- a/src/main/java/au/com/royalpay/payment/manage/shopify/auth/domain/application/ShopifyMerchantAuthApplication.java +++ b/src/main/java/au/com/royalpay/payment/manage/shopify/auth/domain/application/ShopifyMerchantAuthApplication.java @@ -104,7 +104,7 @@ public class ShopifyMerchantAuthApplication { throw new BadRequestException("Payment app setting error"); } - String redirectUrl = String.format(PAYMENT_SETTING_URL, shop, authProvider.getNewestAuthConfig().getClientSecret()); + String redirectUrl = String.format(PAYMENT_SETTING_URL, shop, authProvider.getNewestAuthConfig().getClientId()); return accessToken.setRedirectUrl(redirectUrl); }