Commit graph

116 commits

Author SHA1 Message Date
Narek Zakarian
943a0d197c
Use the 'ppcp.path-to-plugin-main-file' config 2025-07-04 19:27:13 +04:00
Narek Zakarian
0caa74c021
Refactor the code to use the new service 2025-07-04 17:10:37 +04:00
Emili Castells Guasch
1755e78533
Merge trunk 2025-06-23 10:38:47 +02:00
Alex P.
60d4ea2208
Enable server-side callback via feature flag 2025-06-20 15:14:11 +03:00
Philipp Stracker
2d7435e949
🏗️ Inject new contact-preference factory 2025-06-13 15:08:00 +02:00
Emili Castells
12df58b31c
Merge pull request #3431 from woocommerce/PCP-4655-experience-context
Use experience_context
2025-06-02 11:46:43 +02:00
Alex P.
279a3452c8
Use ExperienceContext for PayPal buttons 2025-05-29 16:37:54 +03:00
Emili Castells Guasch
fd48506ae7
Use wc country instead of new settings service 2025-05-27 15:49:39 +02:00
Daniel Dudzic
602efee944
🇲🇽 Add Mexico-specific logic for BCDC 2025-05-23 18:40:17 +02:00
Narek Zakarian
0aecc5aa32
Pass the partner attribution helper to a smart button 2025-03-21 18:09:29 +04:00
Philipp Stracker
afb7044b03
🚚 Rename configuration class
The class name does not reflect the purpose of the class
2025-03-14 16:15:31 +01:00
Philipp Stracker
d4857102fe
♻️ Apply more suitable DI service name 2025-03-14 12:18:05 +01:00
Philipp Stracker
532543f490
♻️ Use the DCCGatewayConfiguration service 2025-03-13 18:04:01 +01:00
Philipp Stracker
201f5ab20c
♻️ Implement DCCGatewayConfiguration service
Instead of fixing incorrect conditions in different files, we want to use a single source of truth for the DCC status
2025-03-12 18:31:11 +01:00
Philipp Stracker
7a106742e3
🚚 Rename environment-service 2025-02-17 18:48:38 +01:00
Philipp Stracker
fcb9ae488a
🔥 Remove unused “use” statements 2025-02-17 16:55:18 +01:00
Philipp Stracker
a3fbe6f19f
♻️ Refactor EarlyOrderHandler 2025-02-17 16:46:12 +01:00
Philipp Stracker
7d2b0694d9
♻️ Refactor conditions inside services.php 2025-02-17 16:42:47 +01:00
Philipp Stracker
90d2c77a5a
🚚 Extract Environment class to gateway module 2025-02-03 13:34:30 +01:00
Philipp Stracker
2ac074dc2b
🐛 Load SmartButton when DCC is enabled 2024-11-27 17:05:43 +01:00
Alex P.
d125c24dc0
Use basic redirect gateway when checkout smart buttons disabled 2024-10-18 09:35:02 +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.
381041138c
Allow to override the list of Pay Later supported countries 2024-08-31 14:03:04 +03:00
Emili Castells Guasch
43f4d15cea Extract disabled funding sources logic into a new class 2024-06-28 14:47:23 +02:00
Narek Zakarian
1de72ed0bf
allow skipping confirmation page for subscriptions 2024-05-21 18:41:27 +04:00
Narek Zakarian
9a55140802
Allow shipping callback with subscriptions 2024-05-20 15:29:56 +04:00
Narek Zakarian
4ab2c0ff48
Add filter to on and off the toggle 2024-05-17 18:07:06 +04:00
Narek Zakarian
5a09aba17c
Create WC order creator 2024-05-14 15:29:18 +04:00
Narek Zakarian
b7498149ad
Allow handling the shipping in PayPal 2024-05-06 18:44:24 +04:00
Emili Castells Guasch
bc0eb57460 Do not create PayPal order for free trial subscription if user has payment token 2024-04-04 16:52:08 +02:00
Emili Castells Guasch
2bf3c14feb Do not execute current free trial flow if vault v3 enabled 2024-04-03 09:59:40 +02:00
Pedro Silva
fb1ceeba76
Merge branch 'trunk' into PCP-1393-update-to-vault-v-3
# Conflicts:
#	modules/ppcp-api-client/services.php
#	modules/ppcp-wc-gateway/src/Processor/OrderProcessor.php
#	tests/PHPUnit/WcGateway/Processor/OrderProcessorTest.php
2023-11-24 11:20:15 +00:00
Emili Castells Guasch
dfccf99e71 Fix psalm 2023-11-23 14:58:11 +01:00
Emili Castells Guasch
056cb9fcc2 Fix phpunit 2023-11-23 14:53:47 +01:00
Alex P
91c6e55f3d
Replace place order text via WC_Gateway 2023-11-16 09:41:17 +02:00
Alex P
c71e312f18
Add filters for place order button mode and text replacement script 2023-11-15 09:44:26 +02:00
Emili Castells Guasch
d35f7598ed Merge branch 'trunk' into PCP-1393-update-to-vault-v-3 2023-11-02 12:10:27 +01:00
Pedro Silva
46b47dc97b
Fix lint and tests 2023-10-26 10:58:05 +01:00
Pedro Silva
3d293058fb
Add Support for product variants on ApplePay 2023-10-25 17:52:00 +01:00
Emili Castells Guasch
94674adc25 Move PayPal subscriptions api logic to its own module 2023-10-18 17:03:15 +02:00
Pedro Silva
fcaf4d495e
Merge branch 'trunk' into PCP-1877-improve-line-item-mismatch-handling 2023-08-30 17:03:31 +01:00
Pedro Silva
1a0fa269ef
Add passing data between PayPal order and WC order via transient helper.
Add order notes when ditch oor extra line occurs.
2023-08-08 15:20:40 +01:00
Emili Castells Guasch
2d0726044f Merge trunk 2023-08-03 17:20:28 +02:00
Pedro Silva
4e50d1d6ba
* Add paypal script reloading
* Add button reloading in cart and product page
* Add checking filters asynchronously
2023-07-20 08:02:15 +01:00
Pedro Silva
76804c2582
Add simulate cart endpoint 2023-07-18 15:58:15 +01:00
Emili Castells Guasch
96e434d4b0 Merge trunk 2023-07-12 11:14:23 +02:00
Alex P
2c0b436510
Remove unused service 2023-06-23 09:47:31 +03:00
Alex P
46ea7621d3
Create wc order in approval webhook if missing 2023-06-14 12:44:06 +03:00
Alex P
e29ef9c7d6
Use continuation mode when APM does not redirect back 2023-06-14 08:59:30 +03:00
Alex P
8979c9e605
Stop searching for prefix in custom IDs
we are not creating such IDs for 2 years already
2023-06-08 16:00:21 +03:00