Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
TransactionSale.php
Go to the documentation of this file.
1 <?php
7 
12 {
16  protected function process(array $data)
17  {
18  $storeId = $data['store_id'] ?? null;
19  // sending store id and other additional keys are restricted by Braintree API
20  unset($data['store_id']);
21 
22  return $this->adapterFactory->create($storeId)->sale($data);
23  }
24 }