-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from buckaroo-it/BP-3811-Apple-Pay-PaymentData…
…-missing Bp 3811 apple pay payment data missing
- Loading branch information
Showing
6 changed files
with
208 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 9 additions & 9 deletions
18
view/frontend/templates/component/payment/method/applepay.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
/** @var Escaper $escaper */ | ||
/** @var \Buckaroo\HyvaCheckout\Magewire\Checkout\Payment\Method\Applepay $magewire */ | ||
declare(strict_types=1); | ||
/** @var Escaper $escaper */ | ||
/** @var \Buckaroo\HyvaCheckout\Magewire\Checkout\Payment\Method\Applepay $magewire */ | ||
|
||
use Magento\Framework\Escaper; | ||
use Magento\Framework\Escaper; | ||
?> | ||
<form x-data="buckaroo.applePay('<?= $magewire->getJsSdkUrl() ?>')" x-init="register()" novalidate> | ||
<template x-if="canDisplay"> | ||
<button type="button" :class="getButtonClass()" @click="submit()"> | ||
<?= $escaper->escapeHtml(__('Place Order')) ?> | ||
</button> | ||
</template> | ||
<!-- <template x-if="canDisplay">--> | ||
<!-- <button type="button" :class="getButtonClass()" @click="submit">--> | ||
<!-- --><?php //= $escaper->escapeHtml(__('Place Order')) ?> | ||
<!-- </button>--> | ||
<!-- </template>--> | ||
</form> |
Oops, something went wrong.