Commit graph

6343 commits

Author SHA1 Message Date
Philipp Stracker
b9b13d7b05
⚰️ Remove unnecessary styles again 2024-07-24 20:42:57 +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
5df93b2dd4
💬 Improve the gateway description for admins 2024-07-24 19:42:37 +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
9f39a58f07
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-button/resources/js/modules/ContextBootstrap/CheckoutBootstap.js
#	modules/ppcp-button/resources/js/modules/Helper/CheckoutMethodState.js
2024-07-24 18:49:41 +02:00
Philipp Stracker
525b75e6a1
♻️ Entangle code into getters and atomic functions 2024-07-24 18:27:04 +02:00
Emili Castells Guasch
29e195e7f3 Ensure saved card payment use default payment flow for free trial subscriptions 2024-07-24 17:00:58 +02:00
Emili Castells Guasch
efbd36025d Add card payment token for free trial subscriptions (WIP) 2024-07-24 16:00:55 +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
Narek Zakarian
5d5dd761f8
Merge branch 'trunk' into PCP-3395-when-there-isnt-any-shipping-option-for-the-address-the-order-is-still-created-from-classic-cart 2024-07-24 16:04:32 +04:00
Narek Zakarian
4fc7883c28
Merge branch 'trunk' into PCP-3382-add-support-for-woo-commerce-bookings-when-skipping-checkout-confirmation
# Conflicts:
#	modules/ppcp-compat/services.php
#	modules/ppcp-compat/src/CompatModule.php
2024-07-24 15:19:32 +04:00
Daniel Dudzic
09ed0da25b
Merge branch 'PCP-3392-do-not-render-fastlane-when-shipping-destination-is-set-to-force-shipping-to-the-customer-billing-address' of github.com:woocommerce/woocommerce-paypal-payments into PCP-3474-fastlane-create-notice-about-potentially-incompatible-plugins 2024-07-24 12:30:32 +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
Emili Castells Guasch
112b98875b Refactor save payment method js logic 2024-07-23 15:38:07 +02:00
Emili Castells
f52b01b275
Merge pull request #2404 from woocommerce/PCP-2803-disable-standard-card-buton-when-acdc-is-active
Prevent enabling Standard Card Button when ACDC is enabled (2803)
2024-07-23 14:48:13 +02:00
Emili Castells Guasch
cf8eaba0a3 Run autofix code style 2024-07-23 14:36:22 +02:00
Emili Castells
8df5b56d8a
Merge pull request #2420 from woocommerce/PCP-2958-multiple-smart-buttons-on-the-product-page-when-using-variable-product-with-pay-pal-subscriptions-mode
Prevent displaying smart button multiple times on variable product page (2958)
2024-07-23 14:29:58 +02:00
Emili Castells
90eeecc75c
Merge pull request #2405 from woocommerce/PCP-3191-introduce-notice-for-paypal-payments-3-0-update-warning
Add notice when upgrading to plugin version >= 3.0.0 (3191)
2024-07-23 14:29:25 +02:00
Emili Castells
a608e6381a
Merge pull request #2449 from woocommerce/PCP-3253-possible-type-error-in-2-8-0
Do not override `settings` property from `AbstractPaymentMethodType` base class
2024-07-23 14:28:52 +02:00
Emili Castells
62c6ef4b14
Merge pull request #2406 from woocommerce/PCP-3304-rebrand-to-syde
Update contributor account inpsyde => syde (3304)
2024-07-23 14:28:19 +02:00
Emili Castells
a3bd284817
Merge pull request #2402 from woocommerce/PCP-3342-shipping-callback-compatibility-problem-with-name-your-price-plugin
Shipping callback compatibility with WC Name Your Price plugin
2024-07-23 14:27:51 +02:00
Narek Zakarian
d20b1b982f
Merge branch 'trunk' into PCP-3342-shipping-callback-compatibility-problem-with-name-your-price-plugin
# Conflicts:
#	modules/ppcp-button/src/Helper/WooCommerceOrderCreator.php
2024-07-23 16:15:20 +04:00
Emili Castells
f59b9532d5
Merge pull request #2431 from woocommerce/PCP-3394-the-taxes-are-included-incorrectly-for-programmatically-created-orders
Add tax configurator when programmatically creating WC orders (3394)
2024-07-23 12:57:32 +02:00
Emili Castells
2e44e11dbe
Merge pull request #2414 from woocommerce/PCP-2645-when-selecting-google-pay-as-a-payment-option-in-safari-a-developer-error-is-displayed
Google Pay: Fix the incorrect popup triggering (2645)
2024-07-23 12:57:00 +02:00
Emili Castells
b069705b0a
Merge pull request #2411 from woocommerce/PCP-3341-pay-pal-js-files-loaded-on-non-pay-pal-pages
PayPal js files loaded on non PayPal pages (3341)
2024-07-23 12:56:25 +02:00
Emili Castells
dc68a4dfde
Merge pull request #2425 from woocommerce/PCP-3378-pay-pal-declares-subscription-support-when-for-subscription-mode-is-set-disable-pay-pal-for-subscription
PayPal declares subscription support when for Subscription mode is set Disable PayPal for subscription (3378)
2024-07-23 12:55:49 +02:00
Emili Castells
555be59caf
Merge pull request #2430 from woocommerce/PCP-3320-separate-google-pay-button-for-classic-checkout
Separate Google Pay button for Classic Checkout (3320)
2024-07-23 12:55:15 +02:00
Narek Zakarian
e300ccaa0b
Set the default status to unpaid 2024-07-23 14:23:38 +04:00
Wesley Rosa
055de3d644 Merge remote-tracking branch 'origin/release/2.8.2' into trunk 2024-07-22 17:32:57 -03:00
Wesley Rosa
ffefce57b1 woorelease: Product version bump update 2024-07-22 17:09:21 -03:00
Narek Zakarian
4c030e8134
Check if item is product 2024-07-22 18:55:23 +04:00
Narek Zakarian
6df22c2444
Improve stubs for WC Bookings 2024-07-22 18:46:22 +04:00
Narek Zakarian
6a71c302b0
Check if line item is bookable 2024-07-22 18:45:57 +04:00
Emili Castells Guasch
3f02d8326a Do not override settings base class property 2024-07-22 16:25:35 +02:00
Narek Zakarian
25f229c252
Set booking status to 'unpaid' 2024-07-22 18:23:02 +04:00
Narek Zakarian
2a31189c04
Add compat layer for WC Bookings 2024-07-22 18:19:33 +04:00
Narek Zakarian
7ba58ab98a
Add service to check if WC Bookings is active 2024-07-22 18:18:52 +04:00
Narek Zakarian
2c6d84c32c
Add action to hook when WC order is created programmatically 2024-07-22 18:18:11 +04:00
Narek Zakarian
64285c66ad
include stubs for WC Bookings 2024-07-22 18:16:59 +04:00
Narek Zakarian
5adb04cb3f
Create stubs for WC Bookings 2024-07-22 18:16:42 +04:00
Emili Castells Guasch
467960f5a2 Revert webhook handling for now so psalm does not complain 2024-07-22 14:49:01 +02:00
Emili Castells Guasch
93506fe5b7 Revert webhook handling for now so psalm does not complain 2024-07-22 14:42:03 +02:00
Emili Castells Guasch
2249ebd811 Show settings tabs in googlepay gateway settings page 2024-07-22 14:35:11 +02:00