Commit graph

107 commits

Author SHA1 Message Date
Emili Castells Guasch
e63e747f66 Add return type 2024-11-04 16:34:29 +01:00
Emili Castells Guasch
1a5003770f Add checkout location programmatically when remove in button locations for apple and google pay 2024-11-04 16:19:01 +01:00
Emili Castells
9f3e8a0723
Merge pull request #2714 from woocommerce/PCP-3347-rework-location-settings
Use basic redirect gateway when checkout smart buttons disabled
2024-10-24 11:10:43 +02:00
Alex P.
faeee86ab3
Fix apple/google pay block 2024-10-21 17:38:55 +03:00
Alex P.
0e957e739d
Remove Google Pay for subscriptions 2024-10-21 09:49:31 +03:00
Alex P.
f85df4718a
Retrieve shop currency later to avoid early caching in service 2024-10-03 10:10:50 +03:00
Alex P.
b3d457d64a
Remove unused 2024-10-03 10:00:10 +03:00
Philipp Stracker
975660d905
🐛 Hide shipping options for non-physical products 2024-09-20 16:52:28 +02:00
Philipp Stracker
a665529b78
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-googlepay/resources/js/GooglepayButton.js
2024-09-06 15:35:27 +02:00
Philipp Stracker
c7b118bac5
Merge pull request #2509 from woocommerce/PCP-3503-use-svg-for-apm-gateway-icons
Use SVG for APM gateway icons (3503)
2024-09-06 14:52:22 +02:00
Philipp Stracker
87e8aed779
Merge pull request #2525 from woocommerce/PCP-3525-google-pay-shipping-callback-active-for-virtual-product
Google Pay billing data without shipping callback (3525)
2024-09-06 14:50:29 +02:00
Philipp Stracker
d370f70d86
🔀 Merge branch 'trunk' 2024-09-03 18:45:51 +02:00
Philipp Stracker
e54ceb9a65
🔀 Merge branch 'trunk' 2024-09-03 17:36:28 +02:00
Philipp Stracker
7509f914ab
Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-admin-notices/src/AdminNotices.php
#	modules/ppcp-local-alternative-payment-methods/src/LocalAlternativePaymentMethodsModule.php
#	modules/ppcp-paylater-configurator/src/PayLaterConfiguratorModule.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
2024-08-30 15:16:20 +02:00
Emili Castells Guasch
888d9126f5 Add logger to Apple Pay and Google Pay gateways 2024-08-29 11:38:40 +02:00
Philipp Stracker
07c73985e3
Always load GooglePay scripts on checkout page 2024-08-27 12:32:53 +02:00
Philipp Stracker
3e0a44ca1f
🚧 Enqueue missing script for billing data logic
When PayLater is disabled and we're in "continuation" context, then the new billing data logic is not working: The relevant JS script is not enqueued.
2024-08-26 18:22:42 +02:00
Philipp Stracker
fa5cbde67e
🔀 Merge branch 'trunk’ 2024-08-26 14:54:59 +02:00
Moritz Meißelbach
789d979c80
Merge branch 'refs/heads/trunk' into modularity-module-migration
# Conflicts:
#	modules/ppcp-applepay/src/ApplepayModule.php
#	modules/ppcp-compat/src/CompatModule.php
2024-08-23 15:50:49 +02:00
Moritz Meißelbach
4d9f23e315
Merge branch 'refs/heads/trunk' into modularity-module-migration
# Conflicts:
#	composer.lock
#	modules/ppcp-axo/src/AxoModule.php
#	modules/ppcp-blocks/src/BlocksModule.php
#	modules/ppcp-compat/src/CompatModule.php
#	modules/ppcp-googlepay/src/GooglepayModule.php
#	modules/ppcp-order-tracking/src/OrderTrackingModule.php
#	modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php
2024-08-23 14:25:36 +02:00
Philipp Stracker
fe39793e9a
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-googlepay/resources/js/GooglepayButton.js
2024-08-22 12:04:13 +02:00
Emili Castells
ffc389ebda
Merge pull request #2511 from woocommerce/PCP-3317-implement-ap-ms-via-orders-api
Implement country based APMs via Orders API (3317)
2024-08-22 11:52:12 +02:00
Emili Castells Guasch
3dc3026c29 Add refunds support for bancontact gateway and fix tests 2024-08-20 12:43:25 +02:00
Philipp Stracker
3b92eaac81
Store shipping cost in the DTO 2024-08-13 19:31:51 +02:00
Philipp Stracker
b380350a75
Include numeric shipping cost in ShippingOptions 2024-08-13 15:10:42 +02:00
George Burduli
9fbc28506f
Update Google Pay icon with SVG 2024-08-13 11:41:32 +04:00
Philipp Stracker
429568fbd9
🔥 Minor cleanup 2024-08-07 14:48:36 +02:00
Philipp Stracker
31867b17d6
🔀 Merge branch 'trunk'
# Conflicts:
#	modules/ppcp-googlepay/resources/js/GooglepayButton.js
2024-08-07 14:30:12 +02:00
Philipp Stracker
fc805a4369
♻️ Move most of the display logic to base class
The PaymentButton base class now handles display logic that is shared between different APMs
2024-08-06 17:45:53 +02:00
Philipp Stracker
8286085f59
♻️ Apply latest JS structure from ApplePay Gateway
- Partially addresses the known display bug
- Simplifies maintainance between both gateways
- Reduces component-internal redundancies
2024-07-29 21:16:53 +02:00
George Burduli
548c0082eb
Add China to GPay support, simplify country-currency matrix 2024-07-29 13:11:54 +04: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
86e0007ae6 Add gateway icon, title and description 2024-07-22 12:53:41 +02:00
Emili Castells Guasch
e547d7e097 Show button in PayPal gateway if Google Pay gateway is disabled 2024-07-17 16:39:53 +02:00
Emili Castells Guasch
40805c1a13 Add googlepay button to pay for order page 2024-07-17 15:16:58 +02:00
Emili Castells Guasch
db4787a360 Remove temp leftovers 2024-07-16 17:57:33 +02:00
Emili Castells Guasch
335f680344 Extract logic from gateway to modules 2024-07-16 17:51:02 +02:00
Emili Castells Guasch
c941430b7d Show googlepay button conditionally 2024-07-16 16:45:32 +02:00
Emili Castells Guasch
895cd5c4c1 Return payment method if it exist 2024-07-16 16:00:11 +02:00
Emili Castells Guasch
e70891d359 Add googlepay wc gateway 2024-07-16 14:17:12 +02:00
Emili Castells Guasch
82f46baa16 Add button method for checkout context 2024-07-15 18:42:44 +02:00
Emili Castells Guasch
473b286de0 Do not display googlepay button inside smart buttons in classic checkout if goolepay button is enabled 2024-07-15 16:13:12 +02:00
Emili Castells Guasch
f8ed3328a8 Dispaly googlepay payment method only if googlepay button is enabled 2024-07-15 15:56:35 +02:00
Emili Castells Guasch
b173ca1f75 Add WC gateway 2024-07-15 13:06:00 +02:00
Daniel Dudzic
e1bdc64248
Google Pay: Fix issuse with data.paymentSource being undefined and the shipping allowed boolean being hardcoded 2024-07-03 12:29:29 +02:00
Philipp Stracker
6ee4a40e18
🎨 Remove unnecessary condition 2024-06-12 15:47:31 +02:00
Philipp Stracker
f3f6765ac3
🐛 Hide disabled APM buttons in Standard Payments 2024-06-12 15:45:54 +02:00
Philipp Stracker
d69fb5bc70
🐛 Load button preview JS on ACDC settings page
Renamed the DI service name; this service is only used in two places (APM modules), which were also updated.
2024-06-05 18:05:06 +02:00
Pedro Silva
392d27f08b
Merge remote-tracking branch 'origin/trunk' into modularity-module-migration
# Conflicts:
#	modules/ppcp-admin-notices/src/AdminNotices.php
#	modules/ppcp-save-payment-methods/src/SavePaymentMethodsModule.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
#	modules/ppcp-wc-subscriptions/src/WcSubscriptionsModule.php
#	tests/PHPUnit/WcSubscriptions/RenewalHandlerTest.php
2024-03-27 18:42:21 +00:00
Pedro Silva
4a98c01883
Fix checking of ApplePay and GooglePay product status capabilities 2024-02-14 11:20:49 +00:00