Skip to content

Commit

Permalink
Update CashfreePayout.java
Browse files Browse the repository at this point in the history
  • Loading branch information
surjeetcashfree authored Jan 22, 2025
1 parent 42bd253 commit 179e6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/cashfree/CashfreePayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ enum CFEnvironment {
public PayoutWebhookEvent PayoutVerifyWebhookSignature(String signature, String rawBody, String timestamp) throws Exception {
try {
String data = timestamp + rawBody;
String secretKey = Cashfree.XClientSecret;
String secretKey = CashfreePayout.XClientSecret;
Mac sha256_HMAC = Mac.getInstance("HmacSHA256");
SecretKeySpec secret_key_spec = new SecretKeySpec(secretKey.getBytes(), "HmacSHA256");
sha256_HMAC.init(secret_key_spec);
Expand Down

0 comments on commit 179e6ee

Please sign in to comment.