Commit graph

97 commits

Author SHA1 Message Date
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
Emili Castells Guasch
5082a0d17b Do not render PayPal subscription button if no plan is connected 2023-06-07 12:50:18 +02:00
Emili Castells Guasch
12c8edf7bc Remove unused services 2023-05-17 11:29:29 +02:00
Emili Castells Guasch
c1f97dd625 Fix constructor parameters order 2023-05-16 15:02:27 +02:00
Emili Castells Guasch
3c0e807758 Fix merge conflicts 2023-05-16 12:44:14 +02:00
Emili Castells Guasch
e5fb9b0b9d Add subscriptions api feature flag (WIP) 2023-05-15 16:18:11 +02:00
Emili Castells Guasch
69542e37f3 Add subscriptions mode tooltip description 2023-05-08 14:32:55 +02:00
Alex P
9d638a57e3
Show shipping methods in paypal if express without review 2023-04-25 15:06:24 +03:00
Alex P
8efa0e6da3
Fix pay now button
not sure if the action parameter in order creation request affects anything, but the docs say that it should match the js sdk commit parameter
2023-04-24 08:15:22 +03:00
Emili Castells Guasch
baee53e90f Fix merge conflicts 2023-03-17 09:20:51 +01:00
Emili Castells Guasch
c1d7d30f04 Fix merge conflicts 2023-02-28 11:07:03 +01:00
Alex P
5dd0931c0f
Hide cart buttons when intent changed 2023-02-15 16:50:34 +02:00
Alex P
09b6b411db
Call WC validation on free trial click 2023-02-07 15:29:53 +02:00
emilicastells
74b13e6372
Ensure subscriptions intent added only when subscription product in cart 2023-02-06 12:16:16 +01:00
emilicastells
ee425588bf
Add subscriptions mode selector 2023-02-01 16:30:39 +01:00
Alex P
79f2c9a1fa
Save checkout form before free trial redirect 2023-01-25 09:42:31 +02:00
emilicastells
72eb713fd4
Add logic to enable/disable PayPal subscriptions feature 2023-01-16 12:37:16 +01:00
emilicastells
7774a5e8b0
Integrate PayPal Subscriptions (WIP) 2023-01-05 14:53:23 +01:00
emilicastells
dd3918b146
Extract vault logic into service 2023-01-04 12:40:24 +01:00
emilicastells
8b58eb0566
Extract intent and context logic into services 2023-01-04 12:13:26 +01:00