payflow-express.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!--
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. -->
  7. <div class="payment-method" data-bind="css: {'_active': (getCode() == isChecked())}">
  8. <div class="payment-method-title field choice">
  9. <input type="radio"
  10. name="payment[method]"
  11. class="radio"
  12. data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" />
  13. <label data-bind="attr: {'for': getCode()}" class="label">
  14. <!-- PayPal Logo -->
  15. <img data-bind="attr: {src: getPaymentAcceptanceMarkSrc(), alt: $t('Acceptance Mark')}" class="payment-icon"/>
  16. <!-- PayPal Logo -->
  17. <span data-bind="text: getTitle()"></span>
  18. <a data-bind="attr: {href: getPaymentAcceptanceMarkHref()}, click: showAcceptanceWindow"
  19. class="action action-help">
  20. <!-- ko i18n: 'What is PayPal?' --><!-- /ko -->
  21. </a>
  22. </label>
  23. </div>
  24. <div class="payment-method-content">
  25. <!-- ko foreach: getRegion('messages') -->
  26. <!-- ko template: getTemplate() --><!-- /ko -->
  27. <!--/ko-->
  28. <fieldset class="fieldset" data-bind='attr: {id: "payment_form_" + getCode()}'>
  29. <div class="payment-method-note">
  30. <!-- ko i18n: 'You will be redirected to the PayPal website.' --><!-- /ko -->
  31. </div>
  32. </fieldset>
  33. <div class="checkout-agreements-block">
  34. <!-- ko foreach: $parent.getRegion('before-place-order') -->
  35. <!-- ko template: getTemplate() --><!-- /ko -->
  36. <!--/ko-->
  37. </div>
  38. <div class="actions-toolbar">
  39. <div class="primary">
  40. <button class="action primary checkout"
  41. type="submit"
  42. data-bind="click: continueToPayPal, enable: (getCode() == isChecked())"
  43. disabled>
  44. <span data-bind="i18n: 'Continue to PayPal'"></span>
  45. </button>
  46. </div>
  47. </div>
  48. </div>
  49. </div>