From ddca8ec0f7fd25a8c45635d1b4478e6d514261a7 Mon Sep 17 00:00:00 2001 From: wuchunlei Date: Thu, 16 Jan 2025 16:11:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=AD=A3=E5=BC=8F=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=AF=86=E9=92=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/peanut/modules/pay/stripe/StripeConfig.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/com/peanut/modules/pay/stripe/StripeConfig.java b/src/main/java/com/peanut/modules/pay/stripe/StripeConfig.java index 2ffcc59..b012fac 100644 --- a/src/main/java/com/peanut/modules/pay/stripe/StripeConfig.java +++ b/src/main/java/com/peanut/modules/pay/stripe/StripeConfig.java @@ -22,9 +22,14 @@ import java.nio.charset.StandardCharsets; @Slf4j public class StripeConfig { + + //sandbox private String apiKey = "sk_test_51QgdjVPKgQFCEmmSh73AmFpze4tU6bIbjXrcmN9RMwYOuMMKAwRvP6OAHdLZMwCbQDWka3iqrZMj0JpyFzpe6w5o00Val258i6"; private String endpointSecret = "whsec_nLR7C84EILXloWGc8wD9WZd4fTAscm5z"; //4242 4242 4242 4242 + //live + //private String apiKey = "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"; + //private String endpointSecret = "whsec_Aq1APres9QxNVyw3dChb8WIkXBlaCLrt"; public Session createOrder(BuyOrder buyOrder,String successUrl,String cancelUrl){ try{