Philipp Stracker
|
0a212edb89
|
♻️ Further streamline button-manager classes
|
2024-10-07 12:34:05 +02:00 |
|
Philipp Stracker
|
c2d5c8f3c5
|
🚧 Adjust button-manager to new workflow
|
2024-10-07 12:27:20 +02:00 |
|
Philipp Stracker
|
d5e406a563
|
🚧 Migrate button initialization to new workflow
The ContextHandlerFactory previously was used inside the ApplePayButton constructor.
|
2024-10-07 12:13:46 +02:00 |
|
Philipp Stracker
|
64b1bf3c41
|
🚧 Minor cleanup
|
2024-10-07 12:12:21 +02:00 |
|
Philipp Stracker
|
2646cf4a44
|
🚧 Add new validation & configuration methods
|
2024-10-07 12:07:19 +02:00 |
|
Philipp Stracker
|
7b2397f86b
|
🚧 Make remaining attributes private
|
2024-10-07 12:04:50 +02:00 |
|
Philipp Stracker
|
3180c2933c
|
🚧 Remove obsolete attributes
Those have moved to the parent class
|
2024-10-07 12:02:21 +02:00 |
|
Philipp Stracker
|
3c03c2ce3b
|
🚧 Add css-class to style the payment button
Used by the parent class
|
2024-10-07 12:01:26 +02:00 |
|
Philipp Stracker
|
39b9c784d4
|
🚧 Implement getters for wrapper & styles
|
2024-10-07 11:54:19 +02:00 |
|
Philipp Stracker
|
0ef461e4b2
|
🚧 Fix code style
|
2024-10-07 11:35:39 +02:00 |
|
Philipp Stracker
|
9322812caa
|
🚧 Remove #isInitialized and obsolete getter
|
2024-10-07 11:35:13 +02:00 |
|
Philipp Stracker
|
c6ed763f0f
|
🚧 Remove obsolete functions
|
2024-10-07 11:31:00 +02:00 |
|
Philipp Stracker
|
d1bb877553
|
🚧 Update the constructor
|
2024-10-07 11:00:39 +02:00 |
|
Philipp Stracker
|
eef4c80a48
|
🚧 Remove unused methods
|
2024-10-07 10:58:53 +02:00 |
|
Philipp Stracker
|
096aa4fc53
|
🚧 Extend class from PaymentButton base
|
2024-10-07 10:48:04 +02:00 |
|
Emili Castells
|
f6646e23b3
|
Merge pull request #2643 from woocommerce/PCP-3695-apple-pay-button-broken-on-product-page
Unsuccessfully payment from product page with Apple Pay button (3695)
|
2024-10-03 10:44:38 +02:00 |
|
Emili Castells
|
8592213b9a
|
Merge pull request #2464 from woocommerce/PCP-3374-google-pay-button-not-displayed-in-the-word-press-editor
Fix the Google Pay button in the block Checkout in the editor (3374)
|
2024-10-03 10:39:01 +02:00 |
|
Philipp Stracker
|
c44a9c6fc1
|
🐛 Fix ApplePay bug on product page
|
2024-09-26 15:12:33 +02:00 |
|
Philipp Stracker
|
d78201634b
|
💡 Add todo about missin refactoring
|
2024-09-06 15:24:06 +02:00 |
|
Philipp Stracker
|
a128228c86
|
🔀 Merge branch 'trunk'
# Conflicts:
# modules/ppcp-applepay/resources/js/ApplepayButton.js
# modules/ppcp-applepay/resources/js/boot-admin.js
# modules/ppcp-button/resources/js/modules/Preview/PreviewButtonManager.js
# modules/ppcp-googlepay/resources/js/GooglepayButton.js
# modules/ppcp-googlepay/resources/js/boot-admin.js
|
2024-09-06 15:19:17 +02:00 |
|
Philipp Stracker
|
8577594033
|
🐛 Remove the empty Apple Pay wrapper
|
2024-08-28 13:41:55 +02:00 |
|
Philipp Stracker
|
6c54377a6e
|
🔀 Merge branch 'trunk'
# Conflicts:
# modules/ppcp-applepay/resources/js/ApplepayButton.js
# modules/ppcp-button/resources/js/modules/ContextBootstrap/CheckoutBootstap.js
|
2024-08-22 11:29:19 +02:00 |
|
Daniel Dudzic
|
f52117c196
|
Apple Pay: Fix shipping method switching inside of the Apple Pay modal in Classic Checkout
|
2024-08-08 15:38:08 +02:00 |
|
Daniel Dudzic
|
bc58fce8a0
|
Apple Pay: Fix the shipping callback
|
2024-08-06 10:56:37 +02:00 |
|
Philipp Stracker
|
c15715a02f
|
♻️ More reliable eligibility-check
Eligibility better aligns with the ApplePay SDK logic and will not insert a hidden button anymore.
|
2024-07-26 17:28:30 +02:00 |
|
Philipp Stracker
|
cbf9bff808
|
🐛 Fix bug with undefined log() method
|
2024-07-26 17:06:42 +02:00 |
|
Daniel Dudzic
|
09ff65aba4
|
Refactor script loading to allow for adding custom namespaces
|
2024-07-26 12:39:38 +02:00 |
|
Philipp Stracker
|
75f4a6f94a
|
🎨 Fully disable debug logic via WP_DEBUG
|
2024-07-24 20:47:59 +02:00 |
|
Philipp Stracker
|
a4d3af848c
|
🩹 Hide gateway on PayNow page when ineligible
|
2024-07-24 20:13:30 +02:00 |
|
Philipp Stracker
|
354a9ff175
|
💡 Better debug logs for show/hide events
|
2024-07-24 20:13:14 +02:00 |
|
Philipp Stracker
|
cffaa7a92f
|
💄 Fix button size in stand-alone gateway
|
2024-07-24 20:03:23 +02:00 |
|
Philipp Stracker
|
f1c5b70877
|
✨ Extract payment button to own gateway
|
2024-07-24 20:02:27 +02:00 |
|
Philipp Stracker
|
4a0e410f52
|
🔧 Add missing config to eslintrc
- env.browser: Linter recognizes browser elements, like `HTMLElement`
- globals.jQuery: Library is present on all pages
|
2024-07-24 18:55:22 +02:00 |
|
Philipp Stracker
|
525b75e6a1
|
♻️ Entangle code into getters and atomic functions
|
2024-07-24 18:27:04 +02:00 |
|
Philipp Stracker
|
3bb0496123
|
✨ Hide Apple Pay gateway on ineligible devices
|
2024-07-24 15:25:00 +02:00 |
|
Philipp Stracker
|
43d7e0788f
|
♻️ Chore: Minor code cleanup
|
2024-07-24 15:19:35 +02:00 |
|
Philipp Stracker
|
f75c3610d8
|
♻️ Chore: Slightly improve the debug-log output
|
2024-07-24 14:21:26 +02:00 |
|
Philipp Stracker
|
f4abf7028e
|
♻️ Chore: Make isInitialized flag private
Reason: The button instance is added to the global document scope, this helps to protect internal component state
|
2024-07-24 14:20:40 +02:00 |
|
Philipp Stracker
|
a473459ddb
|
♻️ Minor code cleanup and documentation
|
2024-07-23 17:42:24 +02:00 |
|
Philipp Stracker
|
eb216425fb
|
🚧 New Gateway for Apple Pay
|
2024-07-23 15:59:54 +02:00 |
|
Philipp Stracker
|
4cde024320
|
♻️ Consolidate the preview button’s CSS classes
Class names are now generated by the base class. This allows to remove a method from all derived classes
|
2024-07-15 13:18:07 +02:00 |
|
Philipp Stracker
|
7f9cbd6f58
|
🐛 Fix general preview button shape
|
2024-07-15 13:16:08 +02:00 |
|
Philipp Stracker
|
2da8b516ff
|
♻️ Code organization and cleanup
- Move base classes for the preview buttons into “Preview” folder
- Remove jQuery use inside those base classes
- Extract dummy button to own class
|
2024-07-12 19:02:21 +02:00 |
|
Philipp Stracker
|
534e412524
|
♻️ Extract preview classes to own files
|
2024-07-12 17:32:59 +02:00 |
|
Emili Castells Guasch
|
11105d913b
|
Run eslint autofix
|
2024-07-12 12:58:34 +02:00 |
|
Daniel Dudzic
|
6a2c433484
|
Fix Apple Pay when shipping is disabled
|
2024-07-03 16:39:46 +02:00 |
|
Philipp Stracker
|
4c10c37782
|
♻️ Extract button-refresh logic to own helper file
- Exrtract repeat event-init logic to new helper file
- Remove the jQuery dependency
|
2024-06-26 18:16:54 +02:00 |
|
Philipp Stracker
|
5ed2f37bd4
|
✨ Listeners for custom “refresh button” event
|
2024-06-26 17:57:45 +02:00 |
|
Philipp Stracker
|
874ebbc7a0
|
🎨 Minor: Apply WP Code Style
- Consistent quote-style
- Insert missing semicolons in JS
- Fix some whitespaces
|
2024-06-12 15:31:33 +02:00 |
|
Philipp Stracker
|
cea292684b
|
🎨 Minor code structure changes
|
2024-06-12 11:27:59 +02:00 |
|