Skip to content

Commit

Permalink
amazon Pay Fix (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pfabeck authored Oct 9, 2019
1 parent 461bb8b commit ab09540
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ab09540

Please sign in to comment.