Commit graph

84 commits

Author SHA1 Message Date
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
Pedro Silva
0eb616c94e
Refactor WooCommerce\PayPalCommerce\Internale\Pattern to WooCommerce\PayPalCommerce\Common\Pattern 2023-08-15 08:27:59 +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
837bdb0392
Add PurchaseUnitSanitizer tests
Add subtotal mismatch admin options
2023-08-07 16:12:02 +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
carmenmaymo
65858c5f42
Merge branch 'trunk' into feat/PCP-1709_soft_descriptor 2023-06-12 08:47:23 +02:00
carmenmaymo
16d0e9b6fb
Add MX and JP to ACDC PCP-1755 2023-06-02 12:56:55 +02:00
carmenmaymo
f812d043af
Add soft descriptor to PurchaseUnitFactory PCP-1709 2023-05-30 15:11:13 +02:00
Emili Castells Guasch
3c0e807758 Fix merge conflicts 2023-05-16 12:44:14 +02:00
Alex P
9d638a57e3
Show shipping methods in paypal if express without review 2023-04-25 15:06:24 +03:00
Emili Castells Guasch
6d400c7bf3 Get store currency from service 2023-04-11 11:58:11 +02:00
Emili Castells Guasch
1ed8f23efd Fix merge conflicts 2023-03-29 13:03:20 +02:00
Emili Castells Guasch
999231fd01 Refactor (WIP) 2023-03-17 16:06:26 +01:00
Alex P
9ba93c9e11
Remove unneeded extension
no reason to put it into extension, only adds confusion
2023-03-17 10:22:28 +02:00
Emili Castells Guasch
5a230a7669 Allow customer suspend and activate subscription 2023-03-06 16:41:18 +01:00
Emili Castells Guasch
b5e1f1530a Add update subscription (WIP) 2023-03-01 16:12:26 +01:00
emilicastells
1d152bd6ba
Fix merge conflicts 2023-01-23 12:15:23 +01:00
emilicastells
9055c702e7
Fix merge conflicts 2023-01-17 15:03:20 +01:00
emilicastells
3c1ad831c1
Add create product and plan endpoints 2023-01-05 15:43:32 +01:00
Alex P
2f6240bfb4
Do not send Paypal-Request-Id
The current usage is incorrect and only causes issues without solving any problems (we don't implement any way to retry requests).
2022-12-15 12:37:52 +02:00
Narek Zakarian
50e18c1518
Add FraudNet header when creating order. 2022-11-29 19:31:58 +04:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00
Alex P
c2d0a3aa69 Add an option to hide card button gateway if not needed 2022-07-26 10:58:21 +03:00
Alex P
fff2570124 Refactor shipping_preference
Extract its determination to a separate class, also remove useless CartRepository and use single PU to avoid confusion.
2022-07-05 14:37:04 +03:00
dinamiko
0a993f854d Do not check order approved status if it does not contains physical goods 2022-06-02 15:11:01 +02:00
Narek Zakarian
d148a1bf9a Adjust API client services to support fraud response. 2022-04-25 19:17:13 +04:00
Alex P
1c0df35f53 Handle free trial for paypal
Vault account without payment
2022-04-12 14:59:07 +03:00
Alex P
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03:00
dinamiko
d86fdc35ff Merge branch 'trunk' into pcp-307-fee 2022-02-23 10:06:11 +01:00
Alex P
fc89021df4 Add hook docs
phpcs rules updated
2022-02-17 18:28:59 +02:00
Alex P
a82b091bf1 Add fees breakdown to capture 2022-02-14 10:46:55 +02:00
Alex P
2ab75368b4 Add SellerReceivableBreakdown 2022-02-14 10:46:55 +02:00
Alex P
5cbd84a050 Add MoneyFactory 2022-02-14 10:46:55 +02:00
dinamiko
50e1c743f0 Handle case when filter returns null 2022-02-11 12:00:30 +01:00
dinamiko
19b6eebd3e Use get_woocommerce_currency to get shop currency 2022-02-11 10:47:36 +01:00
dinamiko
df57609350 Merge branch 'trunk' into PCP-533-multi-currency-broke 2022-02-10 15:50:20 +01:00
dinamiko
e591dff46d Fix merge conflicts 2022-02-10 09:54:18 +01:00
Narek Zakarian
533d521395 Add filters to change allowed ACDC countries 2022-02-09 18:45:25 +04:00
dinamiko
3c77f98ef2 Revert to get_woocommerce_currency and use get_option as fallback 2022-02-09 10:57:37 +01:00
dinamiko
4c71240684 Merge branch 'trunk' into pcp-370-onboarding 2022-02-07 10:23:31 +01:00
RT3
3eb065b060
Add Germany to supported ACDC countries
Adding Germany to supported ACDC countries
2022-01-31 11:26:19 -06:00
dinamiko
2c80cfa73e Merge branch 'trunk' into pcp-370-onboarding 2022-01-21 11:13:08 +01:00
Emili Castells
0fee10931a
Merge pull request #423 from woocommerce/PCP-434-allow-guest-users-to-purchase-su
Add customer id for guest users purchasing subscriptions
2022-01-20 11:18:14 +01:00