diff --git a/AmazonPay/Client.php b/AmazonPay/Client.php index 09b57eb..8c405f6 100644 --- a/AmazonPay/Client.php +++ b/AmazonPay/Client.php @@ -779,7 +779,7 @@ public function confirmOrderReference($requestParameters = array()) 'mws_auth_token' => 'MWSAuthToken' ); - if ($requestParameters['authorization_amount'] && !$requestParameters['currency_code']) { + if (isset($requestParameters['authorization_amount']) && !isset($requestParameters['currency_code'])) { $requestParameters['currency_code'] = strtoupper($this->config['currency_code']); }