diff --git a/Components/AmazonPay/Shopware/AmazonPayPaymentResponseParser.php b/Components/AmazonPay/Shopware/AmazonPayPaymentResponseParser.php index f15775e6d..c94ca0bcd 100644 --- a/Components/AmazonPay/Shopware/AmazonPayPaymentResponseParser.php +++ b/Components/AmazonPay/Shopware/AmazonPayPaymentResponseParser.php @@ -77,7 +77,7 @@ private function addAmazonPay(Payment $payment, array $element) { $data = $this->getAmazonPayData($element['id']); - if (empty($data) || null === $this->configService->get('amazon_pay_key')) { + if (empty($data['bestit_amazon_authorization_id']) || null === $this->configService->get('amazon_pay_key')) { return; }