fix auth settings

master
Yixian 2 years ago
parent 8d241d7f21
commit e6215ea645

@ -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);
}

Loading…
Cancel
Save