Skip to content

Commit

Permalink
Merge pull request #1 from kdclabs/kdclabs-patch-1
Browse files Browse the repository at this point in the history
Updated the 'amount' string
  • Loading branch information
harshilmathur committed Oct 20, 2015
2 parents 456d993 + abf0de5 commit 98e1fde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/gateways/callback/razorpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@

try {
$url = 'https://api.razorpay.com/v1/payments/'.$razorpay_payment_id.'/capture';
$fields_string="amount=$amount";
$fields_string="amount=$converted_amount";

//cURL Request
$ch = curl_init();
Expand Down Expand Up @@ -112,4 +112,4 @@
}

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

0 comments on commit 98e1fde

Please sign in to comment.