Skip to content

Commit

Permalink
Merge pull request #15 from cashfree/2.0.2
Browse files Browse the repository at this point in the history
Update CashfreePayout.java
  • Loading branch information
surjeetcashfree authored Jan 22, 2025
2 parents 8fe723c + 179e6ee commit 12ded2a
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 12ded2a

Please sign in to comment.