Skip to content

Commit

Permalink
Fixes get_order_key() method call
Browse files Browse the repository at this point in the history
  • Loading branch information
Nemo committed Jun 1, 2017
1 parent e1573b4 commit af3fae2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion razorpay-payments.php
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ protected function getOrderKey($order)

if (version_compare(WOOCOMMERCE_VERSION, '3.0.0', '>='))
{
return $order->get_id();
return $order->get_order_key();
}

return $order->order_key;
Expand Down

0 comments on commit af3fae2

Please sign in to comment.