Commit graph

634 commits

Author SHA1 Message Date
Emili Castells Guasch
09ac019bd0 Add improvements based on PR feedback 2023-09-21 11:24:50 +02:00
Narek Zakarian
961a0fb3b9
validation for image url 2023-09-20 17:30:56 +04:00
Emili Castells
5ca0e16b5b
Merge pull request #1700 from woocommerce/PCP-1797-critical-error-when-editing-the-description-of-a-product-linked-with-a-pay-pal-subscription-to-exceed-127-characters
Error when product description linked with a PayPal subscription exceeds 127 characters (1797)
2023-09-19 14:29:25 +02:00
Emili Castells Guasch
7d17e4a892 Move vaulted subscriptions intent logic to module 2023-09-19 12:19:31 +02:00
Pedro Silva
4fd7619665
Fix undefined index notice on ppcp_create_order_request_body_data hook. 2023-09-18 11:56:28 +01:00
Emili Castells Guasch
0afae2f9ee Move prepare description method to trait for reusing 2023-09-18 09:47:30 +02:00
Emili Castells Guasch
a13da931ed Ensure subscription product description does not exceed 127 characters 2023-09-15 15:33:14 +02:00
Emili Castells
bd974a7922
Merge pull request #1646 from woocommerce/PCP-1870-billing-agreements-endpoint-called-too-frequently-for-reference-transactions-check
Billing agreements endpoint called too frequently for Reference Transactions check (1870)
2023-09-08 15:42:06 +02:00
Narek Zakarian
fa45071a5f
Don't send image_url when it is empty 2023-09-08 14:41:21 +04:00
Pedro Silva
6d137effef
Merge branch 'trunk' into PCP-881-compatibility-with-third-party-product-add-ons-plugins 2023-09-07 13:55:51 +01:00
Emili Castells
c0058f758f
Merge pull request #1624 from woocommerce/PCP-1823-transient-time
Do not use transient expiration longer than month to support memcached
2023-09-07 14:10:39 +02:00
Emili Castells
867949cce0
Merge pull request #1562 from woocommerce/PCP-1742-upgrade-tracking-integration
Upgrade tracking integration (1742)
2023-09-07 09:54:11 +02:00
Emili Castells
b07e1bb18a
Merge pull request #1649 from woocommerce/PCP-1912-include-Item-URL-Image-URL-optional-UPC-in-create-order-call
Include `url` & `image_url` in create order call (1912)
2023-09-07 09:48:18 +02:00
Pedro Silva
3a8de5f3de
Merge branch 'trunk' into PCP-881-compatibility-with-third-party-product-add-ons-plugins 2023-09-07 08:46:06 +01:00
Emili Castells Guasch
c38906da9b Convert transient vaule to boolean 2023-09-01 09:48:11 +02:00
Narek Zakarian
c0166ee9ba
Fix psalm errors 2023-08-31 17:49:08 +04:00
Narek Zakarian
f869f98ac1
Add url & image_url to Item 2023-08-31 17:40:06 +04:00
Pedro Silva
17cf2d36e3
Fix merge conflicts 2023-08-30 17:13:03 +01:00
Pedro Silva
fcaf4d495e
Merge branch 'trunk' into PCP-1877-improve-line-item-mismatch-handling 2023-08-30 17:03:31 +01:00
Emili Castells Guasch
c8e1b3cd7f Check for string instead of boolean 2023-08-30 16:58:30 +02:00
Emili Castells Guasch
1942acf67b Fix psalm 2023-08-30 16:22:23 +02:00
Emili Castells
2571d31ad8
Merge pull request #1578 from woocommerce/PCP-1512-pay-pal-fee-and-pay-pal-payout-do-not-change-on-order-if-we-do-partial-refund
PayPal fee and PayPal Payout do not change on order if we do partial refund (1512)
2023-08-30 11:05:34 +02:00
Alex P
e16a8c4ff3
Do not use transient expiration longer than month to support memcached 2023-08-25 09:01:09 +03:00
Emili Castells
0e97af9122
Merge pull request #1529 from woocommerce/PCP-1899-high-rate-of-auth-voids
High rate of auth voids on vaulted subscriptions for guest users (1899)
2023-08-17 11:28:11 +02:00
Pedro Silva
b8eed0f324
Add filters woocommerce_paypal_payments_cart_line_item_name and woocommerce_paypal_payments_order_line_item_name. 2023-08-16 11:48:56 +01:00
Pedro Silva
0eb616c94e
Refactor WooCommerce\PayPalCommerce\Internale\Pattern to WooCommerce\PayPalCommerce\Common\Pattern 2023-08-15 08:27:59 +01:00
Pedro Silva
576805a15a
Fix lint 2023-08-14 14:01:13 +01:00
Pedro Silva
1e84697883
Fix ditched_items_breakdown filter log message condition. 2023-08-14 13:40:50 +01:00
Pedro Silva
d48c2f60c6
Fix code review changes
Add ppcp_ditch_items_breakdown support
2023-08-14 12:00:40 +01:00
Pedro Silva
4338b9879c
Fix lint 2023-08-10 10:01:28 +01:00
Pedro Silva
ecb884c86c
Add SingletonDecorator
Refactor PurchaseUnitSanitizer service registration to SingletonDecorator
2023-08-10 09:46:15 +01:00
Pedro Silva
2b497182d3
Fix lint
Fix currency precision
2023-08-09 12:03:09 +01:00
Pedro Silva
bb3b8553b9
Refactor PurchaseUnitSanitizer to subtract 0.01 instead of rounding down
Refactor PurchaseUnitSanitizer to use singleton pattern
2023-08-09 11:48:49 +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
Pedro Silva
a43b93ffff
Add test cases for PurchaseUnitSanitizer 2023-08-07 18:09:25 +01:00
Pedro Silva
837bdb0392
Add PurchaseUnitSanitizer tests
Add subtotal mismatch admin options
2023-08-07 16:12:02 +01:00
Pedro Silva
a822b56102
Fix typo 2023-08-07 08:49:31 +01:00
Pedro Silva
d32aaab1af
Add updating refund fees in order 2023-08-04 17:51:32 +01:00
Pedro Silva
4027f4a77e
* Fix tests 2023-08-04 14:18:27 +01:00
Pedro Silva
ef5fc4b3d4
Add support for refunds in api response structure 2023-08-04 11:46:34 +01:00
Pedro Silva
65f89fd63e
Add api support for order endpoint to receive refunds 2023-08-03 17:57:51 +01:00
Emili Castells Guasch
2d0726044f Merge trunk 2023-08-03 17:20:28 +02:00
Emili Castells Guasch
ad95688277 Fix psalm 2023-08-03 12:47:41 +02:00
Emili Castells Guasch
a211553e4b Check if guest customer id exist in user meta when checking if payment exist on PayPal 2023-08-03 12:28:20 +02:00
Pedro Silva
c15b8ee463
Refactor purchase_item ditching behaviour to allow for extra line item with roundings. 2023-08-02 17:09:06 +01:00
Pedro Silva
77db626a92
Add discount and also handling, insurance, shipping_discount amounts to PUI total roundings 2023-07-26 09:43:06 +01:00
Emili Castells Guasch
d6c12ce29d Merge branch 'trunk' into PCP-991-v2-detach-vaulting-from-wc-subscriptions-support 2023-07-19 14:26:15 +02:00
Emili Castells
5361d4b3b2
Merge pull request #1489 from woocommerce/PCP-585-instant-payments
Send payee_preferred correctly for instant payments
2023-07-18 15:43:11 +02:00
Emili Castells
75f73ea090
Merge pull request #1427 from woocommerce/feat/PCP-1709_soft_descriptor
Include soft descriptor for card's activity
2023-07-18 15:40:04 +02:00
Emili Castells
9d906a1f4b
Merge pull request #1478 from woocommerce/PCP-895-buttons-not-working-on-single-product-page-for-woo-commerce-bookings-product
Buttons not working on single product page for WooCommerce Bookings product (895)
2023-07-18 15:36:00 +02:00