Commit graph

162 commits

Author SHA1 Message Date
Pedro Silva
cdd4a69bf5
Fix lint 2023-07-03 08:31:27 +01:00
Pedro Silva
e94316aecd
Add filter woocommerce_paypal_payments_product_button_disabled to disable PayPal buttons on single product page. 2023-07-03 08:25:35 +01:00
Emili Castells
ad30fea667
Merge pull request #1363 from woocommerce/PCP-1544-pay-order-currency
Use order currency instead of shop currency on order-pay page
2023-06-27 11:36:47 +02:00
Alex P
729251495f
Handle empty acdc fields 2023-06-06 15:33:13 +03:00
Alex P
d2a5ecf3b8
Merge branch 'trunk' into PCP-1544-pay-order-currency 2023-06-06 15:31:46 +03:00
Emili Castells Guasch
e173f39e3c Add vault true when subscription in cart 2023-05-18 16:46:25 +02:00
Emili Castells Guasch
c64d174817 Fix get_cart_contents null error 2023-05-18 10:42:18 +02:00
Emili Castells Guasch
12c8edf7bc Remove unused services 2023-05-17 11:29:29 +02:00
Emili Castells Guasch
077c23d7f1 Fix phpcs 2023-05-16 15:15:35 +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
Alex P
b7ef769aa7
Use cart/checkout styles for blocks 2023-05-10 11:26:45 +03:00
Alex P
54d8a9b5a9
Use order currency instead of shop currency on order-pay page 2023-05-10 08:05:44 +03:00
Emili Castells Guasch
48db0851ce Fix phpcs (WIP) 2023-05-02 14:28:36 +02:00
Emili Castells Guasch
eca8a3b09c Fix psalm 2023-05-02 12:35:46 +02:00
Alex P
e2e2897714
Allow only paylater, venmo apm in express block 2023-04-27 15:45:39 +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
Alex P
8f3e9c4554
Disable card button for blocks
not working well with express, cannot fill fields
2023-04-21 09:46:28 +03:00
Alex P
211c57b938
Add final review for blocks 2023-04-17 10:23:52 +03:00
Alex P
493933a1c1
Handle continuation mode in blocks 2023-04-07 15:58:59 +03:00
Alex P
bfaf05a96e
Add locations for block, do not load non-block scripts on block pages 2023-03-29 20:15:42 +03:00
Alex P
dc3fde5abf
Refactor SmartButton script loading checks 2023-03-29 20:12:39 +03:00
Emili Castells Guasch
01ab5d6003 Add subscriptions api logic to Single product (WIP) 2023-03-20 11:58:34 +01:00
Emili Castells Guasch
baee53e90f Fix merge conflicts 2023-03-17 09:20:51 +01:00
Alex P
25b13e4467
Merge branch 'trunk' into pcp-157-blocks 2023-03-14 09:24:06 +02:00
Emili Castells Guasch
098ec6f057 Merge branch 'trunk' into PCP-1462-order-pay-later 2023-03-03 10:46:50 +01:00
Emili Castells Guasch
bdc69a6fc6 Fix return subscription plan id 2023-03-02 09:11:17 +01:00
Emili Castells Guasch
c1d7d30f04 Fix merge conflicts 2023-02-28 11:07:03 +01:00
Alex P
8950b9ca13
Render pay later message before buttons on order pay page 2023-02-27 12:03:32 +02:00
Alex P
d35fdea592
Fix pay later enabling
It should be enabled only when enabled on the Pay Later tab, also we disabling we can use `paylater` instead of `credit`
2023-02-27 12:02:47 +02:00
Alex P
68b13a480b
Fix script loading logic in pay-now check 2023-02-27 11:33:22 +02:00
Alex P
38a8473e57
Remove redundant method
pay later is not available for mini-cart, and even if we add it we should not implement this check with such confusing naming (location and context)
2023-02-26 15:03:41 +02:00
Alex P
5dd0931c0f
Hide cart buttons when intent changed 2023-02-15 16:50:34 +02:00
Alex P
4ae82b704a
Make SmartButton more reusable 2023-02-15 16:03:49 +02:00
Alex P
70c48762fa
Merge branch 'trunk' into pcp-157-blocks 2023-02-15 11:38:31 +02:00
Alex P
ea3e5bbeb6
Add express checkout block (wip) 2023-02-15 10:52:25 +02:00
Emili Castells
e5c66a65a1
Merge branch 'trunk' into PCP-1430-validate-free-trial 2023-02-13 15:20:52 +01:00
emilicastells
568b809834
Move context logic to trait 2023-02-13 11:01:51 +01:00
Alex P
09b6b411db
Call WC validation on free trial click 2023-02-07 15:29:53 +02:00
emilicastells
a8616603aa
Add new vaulting setting for advanced credit card 2023-02-03 17:07:51 +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
Alex P
2012548fc2
Fix phpdoc 2023-01-11 17:45:09 +02:00
Alex P
3b2f929df1
Make SmartButton more reusable 2023-01-11 17:45:09 +02:00
emilicastells
71c1937808
Remove temporary setting for debug 2023-01-10 11:39:09 +01:00
emilicastells
6b5ed3fc80
Get subscription plan id from WC product 2023-01-10 11:32:44 +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