dbxapp 4.1.3
CMS, Shop, Workflows und modulare Geschäftsanwendungen
Loading...
Searching...
No Matches
shop_integrity_test.php File Reference

Go to the source code of this file.

Functions

if(!is_string( $repo)||!is_string( $service)) if(strpos($repo, 'AND trash=0 AND stock >=')===false||strpos($repo, 'stock=stock - ')===false) if(substr_count( $repo, "begin(\$this->dd('shopOrder'))")< 3||strpos( $repo, 'order_item_insert_failed')===false||strpos( $repo, 'order_history_insert_failed')===false) if(strpos($repo, 'channel_import_lock_failed')===false||strpos($repo, 'Zweite Idempotenzpruefung nach dem serialisierenden Channel-Lock.')===false) if(strpos( $repo, 'private decorateProducts(array $rows):array')===false||strpos( $repo, 'return $this->decorateProducts( $rows);')===false||strpos( $repo, 'foreach( $this->decorateProducts(is_array( $rows) ? $rows :array()) as $row)')===false) if (strpos($service, 'private function shopTemplateFields(string $template):array')===false||strpos($service, ' $this->productTemplateData($product, $channel, false, $this->shopTemplateFields($template))')===false||strpos($service, ' $this->productTemplateData(' . "\n" . ' $product,' . "\n" . ' $channel,' . "\n" . ' true,')===false)

Variables

 $root = dirname(__DIR__)
 $repo = file_get_contents($root . '/include/dbxShopRepository.class.php')
 $service = file_get_contents($root . '/include/dbxShopService.class.php')
 $fail
 $allImages
if(strpos($allImages, ' $productById=$this->rowsById')===false||strpos($allImages, ' $groupById=$this->rowsById')===false||strpos($allImages, '->select1(') !==false) if(strpos( $repo, 'claimOrderPayment')===false||strpos( $repo, "'payment_status' => 'processing'")===false||strpos( $repo, '(int) $db->_update_count !==1')===false) if(strpos($repo, 'isStalePaymentProcessing')===false||strpos($repo, 'payment_processing_retry_seconds')===false||strpos($repo, "' AND update_date = '")===false) if(strpos( $service, "providerReturnOrder('paypal'")===false||strpos( $service, "providerReturnOrder('amazon_pay'")===false||strpos( $service, 'validateCapture(')===false||strpos( $service, 'validateCompletion(')===false) if(strpos($service, 'checkoutRequestOrder($requestId)')===false||strpos($service, 'rememberCheckoutRequest($requestId, $order)')===false) $paypalCancel
 $amazonCancel
if(strpos( $paypalCancel, 'updateOrderPayment') !==false||strpos( $amazonCancel, 'updateOrderPayment') !==false) if (strpos( $service, "if (\$secret === '')")===false||strpos( $service, 'Webhook-Authentifizierung ist nicht konfiguriert.')===false||strpos( $service, "\$_GET['secret']") !==false)

Function Documentation

◆ if()

if(!is_string($repo)||!is_string($service)) if(strpos( $repo, 'AND trash=0 AND stock >=')===false||strpos( $repo, 'stock=stock - ')===false) if(substr_count($repo, "begin(\$this->dd('shopOrder'))")< 3||strpos($repo, 'order_item_insert_failed')===false||strpos($repo, 'order_history_insert_failed')===false) if(strpos( $repo, 'channel_import_lock_failed')===false||strpos( $repo, 'Zweite Idempotenzpruefung nach dem serialisierenden Channel-Lock.')===false) if(strpos($repo, 'private decorateProducts(array $rows):array')===false||strpos($repo, 'return $this->decorateProducts($rows);')===false||strpos($repo, 'foreach($this->decorateProducts(is_array($rows) ? $rows :array()) as $row)')===false) if ( )

Definition at line 33 of file shop_integrity_test.php.

References $fail, and $service.

Variable Documentation

◆ $allImages

$allImages
Initial value:
= preg_match('/public function allImages\\(\\): array \\{([\\s\\S]*?)\\n \\}/', $repo, $match)
? $match[1]
: ''

Definition at line 38 of file shop_integrity_test.php.

◆ $amazonCancel

$amazonCancel
Initial value:
= preg_match('/public function amazonPayCancel\\(\\): string \\{([\\s\\S]*?)\\n \\}/', $service, $match)
? $match[1]
: ''

Definition at line 70 of file shop_integrity_test.php.

◆ $fail

$fail
Initial value:
= static function (string $message, int $code): void {
fwrite(STDERR, "FAIL: $message\n");
exit($code);
}
exit
Definition index.php:146

Definition at line 7 of file shop_integrity_test.php.

Referenced by if().

◆ $paypalCancel

if(strpos( $allImages, ' $productById=$this->rowsById')===false||strpos( $allImages, ' $groupById=$this->rowsById')===false||strpos( $allImages, '->select1(') !==false) if(strpos($repo, 'claimOrderPayment')===false||strpos($repo, "'payment_status' => 'processing'")===false||strpos($repo, '(int) $db->_update_count !==1')===false) if(strpos( $repo, 'isStalePaymentProcessing')===false||strpos( $repo, 'payment_processing_retry_seconds')===false||strpos( $repo, "' AND update_date = '")===false) if(strpos($service, "providerReturnOrder('paypal'")===false||strpos($service, "providerReturnOrder('amazon_pay'")===false||strpos($service, 'validateCapture(')===false||strpos($service, 'validateCompletion(')===false) if (strpos( $service, 'checkoutRequestOrder( $requestId)')===false||strpos( $service, 'rememberCheckoutRequest( $requestId, $order)')===false) $paypalCancel
Initial value:
= preg_match('/public function paypalCancel\\(\\): string \\{([\\s\\S]*?)\\n \\}/', $service, $match)
? $match[1]
: ''

Definition at line 67 of file shop_integrity_test.php.

◆ $repo

$repo = file_get_contents($root . '/include/dbxShopRepository.class.php')

Definition at line 4 of file shop_integrity_test.php.

◆ $root

$root = dirname(__DIR__)

Definition at line 3 of file shop_integrity_test.php.

◆ $service

$service = file_get_contents($root . '/include/dbxShopService.class.php')

Definition at line 5 of file shop_integrity_test.php.

◆ if

if(strpos($paypalCancel, 'updateOrderPayment') !==false||strpos($amazonCancel, 'updateOrderPayment') !==false) if(strpos($service, "if (\$secret === '')")===false||strpos($service, 'Webhook-Authentifizierung ist nicht konfiguriert.')===false||strpos($service, "\$_GET['secret']") !==false) ( strpos( $service, "if (\$secret === '')") = == false || strpos($service, 'Webhook-Authentifizierung ist nicht konfiguriert.') === false || strpos($service, "\$_GET['secret']") !== false)

Definition at line 77 of file shop_integrity_test.php.