Commit graph

24 commits

Author SHA1 Message Date
Emili Castells
02cc1aaad8
Merge pull request #2415 from woocommerce/PCP-3362-enable-sold-individually-option-in-paypal-vaulting
Sold individually automatically disabled after changing from PayPal subscription to PayPal vaulting and adding product more then one time to cart (3362)
2024-07-15 09:47:51 +02:00
George Burduli
bd6115855f
Add check for invalid product 2024-07-12 17:15:56 +04:00
George Burduli
636b905ef0
Fix add to cart limits of non-subscription products 2024-07-12 17:07:34 +04:00
Emili Castells Guasch
11105d913b Run eslint autofix 2024-07-12 12:58:34 +02:00
Emili Castells Guasch
0bb7165273 Ensure connect subscription is sent when saving subscription product 2024-07-09 12:30:13 +02:00
Emili Castells Guasch
67074a6c9f Ensure subscriptions mode setting exist 2024-06-20 15:07:34 +02:00
Emili Castells Guasch
1d0d4d21ad Ensure subscriptions mode setting exist 2024-06-20 15:06:35 +02:00
George Burduli
924aa18ddc
Fix psalm errors 2024-06-07 11:35:48 +04:00
George Burduli
7485a1d233
Only prevent multiple subscription products in cart if PayPal Subscriptions API is active 2024-06-07 11:32:18 +04:00
George Burduli
be95c3bb85
Fix setting 'sold individually' option 2024-05-30 15:25:18 +04:00
George Burduli
07d041fe1f
Replace update_metadata() with set_sold_individually() 2024-05-29 13:42:14 +04:00
George Burduli
cc2e121e2a
Remove whitespace 2024-05-29 11:48:41 +04:00
George Burduli
28257e3e38
Move function to appropriate place 2024-05-29 11:15:44 +04:00
George Burduli
9db695af75
Disable 'Sold Individually' checkbox 2024-05-28 16:49:41 +04:00
George Burduli
47e6b8d281
Check 'sold individually' option on product save if ppcp subscription is active 2024-05-28 16:26:00 +04:00
George Burduli
cf77c37d69
Replace get_post_meta() with get_meta() for future-proofing 2024-05-28 15:57:13 +04:00
George Burduli
34acb8ce80
Fix Psalm, phpcs errors 2024-05-27 17:07:31 +04:00
George Burduli
f42814fc1d
Remove test string 2024-05-27 17:01:52 +04:00
George Burduli
9b3febfdeb
Make PayPal Subscription products unique in cart 2024-05-27 16:57:07 +04:00
Daniel Dudzic
27b8155766
Product Title: Ensure the product title in addition to the product description gets correctly sanitized and trimmed before getting sent to PayPal 2024-03-11 19:12:24 +01:00
Emili Castells Guasch
6d47656d1f Ensure woocommerce_order_actions callback could accept one single parameter 2024-02-19 11:14:42 +01:00
Pedro Silva
9e0322ba9a
Fix lint 2023-11-24 16:18:15 +00:00
Pedro Silva
f24ec78c28
Code review adjustments. 2023-11-24 15:14:09 +00:00
Emili Castells Guasch
94674adc25 Move PayPal subscriptions api logic to its own module 2023-10-18 17:03:15 +02:00