Skip to content

Commit 98e1fde

Browse files
committed
Merge pull request #1 from kdclabs/kdclabs-patch-1
Updated the 'amount' string
2 parents 456d993 + abf0de5 commit 98e1fde

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/gateways/callback/razorpay.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151

5252
try {
5353
$url = 'https://api.razorpay.com/v1/payments/'.$razorpay_payment_id.'/capture';
54-
$fields_string="amount=$amount";
54+
$fields_string="amount=$converted_amount";
5555

5656
//cURL Request
5757
$ch = curl_init();
@@ -112,4 +112,4 @@
112112
}
113113

114114
header( "Location: ".$GATEWAY['systemurl']."/viewinvoice.php?id=" . $merchant_order_id );
115-
?>
115+
?>

0 commit comments

Comments
 (0)