Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B 7.0.x fix applecert unzer 512 #324

Merged
merged 14 commits into from
Dec 5, 2024
Merged
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- fix show multiple vouchers separately
- fix: only OK, NOT_FINISHED or CANCEL in oxorder->oxtranstatus allowed
- fix showing correct amount when cancelling in admin
- Order of credit card data input fields optimized
- Add Descriptor for PrePayment on ThankYou-Page
- remove Option "Capture Later"-Option for ApplePay

## [2.1.4] - 2023-11-23

Expand Down
9 changes: 1 addition & 8 deletions metadata.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
</ul>',
],
'thumbnail' => 'logo.svg',
'version' => '2.2.0-rc.12',
'version' => '2.2.0-rc.13',
'author' => 'OXID eSales AG',
'url' => 'https://www.oxid-esales.com',
'email' => '[email protected]',
Expand Down Expand Up @@ -226,13 +226,6 @@
'value' => '0',
'constraints' => '0|1'
],
[
'group' => 'unzerapplepay',
'name' => 'UnzerOption_oscunzer_applepay',
'type' => 'select',
'value' => '0',
'constraints' => '0|1'
],
[
'group' => 'unzerapplepay',
'name' => 'applepay_merchant_capabilities',
Expand Down
6 changes: 2 additions & 4 deletions src/Controller/Admin/AdminOrderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@

use OxidEsales\Eshop\Application\Controller\Admin\AdminDetailsController;
use OxidEsales\Eshop\Core\Registry;
use OxidSolutionCatalysts\Unzer\Core\UnzerDefinitions;
use OxidSolutionCatalysts\Unzer\Model\Order;
use OxidEsales\Eshop\Application\Model\Order;
use OxidSolutionCatalysts\Unzer\Model\Payment;
use OxidSolutionCatalysts\Unzer\Model\Order as UnzerOrder;
use OxidSolutionCatalysts\Unzer\Model\TransactionList;
use OxidSolutionCatalysts\Unzer\Service\Transaction as TransactionService;
use OxidSolutionCatalysts\Unzer\Service\Translator;
Expand Down Expand Up @@ -204,7 +202,7 @@ protected function getUnzerViewData(string $sPaymentId, string $sTypeId): void
$editObject->getFieldData('oxpaid') == '0000-00-00 00:00:00' &&
$fCharged == $unzerPayment->getAmount()->getTotal()
) {
/** @var UnzerOrder $editObject */
/** @var Order $editObject */
$editObject->markUnzerOrderAsPaid();
$this->forceReloadListFrame();
}
Expand Down
Loading
Loading