Skip to content

Commit

Permalink
Merge pull request #563 from razorpay/remove_default_inr
Browse files Browse the repository at this point in the history
PO-136 remove default currency as INR
  • Loading branch information
abdulwahidsharief authored Jun 19, 2024
2 parents bd90cb4 + 4e648e3 commit 56d4418
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions woo-razorpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,11 @@ private function getCheckoutArguments($order, $params)

$currency = $this->getOrderCurrency($order);

if (empty($currency) === false)
{
$args['currency'] = $currency;
}

// The list of valid currencies is at https://razorpay.freshdesk.com/support/solutions/articles/11000065530-what-currencies-does-razorpay-support-

$args = array_merge($args, $params);
Expand Down

0 comments on commit 56d4418

Please sign in to comment.