Commit graph

260 commits

Author SHA1 Message Date
dinamiko
6a5cc5d129 Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-16 11:04:45 +02:00
dinamiko
e4e968a823 Fix merge conflict 2022-09-14 12:22:46 +02:00
Narek Zakarian
bd3d886250 Cache the DCC status PayPal response. 2022-09-13 18:26:02 +04:00
Narek Zakarian
cbba252be7 Fix PHPunit tests 2022-09-13 16:12:28 +04:00
dinamiko
85ad002937 Fix phpunit 2022-09-02 14:09:51 +02:00
dinamiko
f5fa440f5d Update changelog, skip failing testing for now 2022-08-31 17:20:54 +02:00
Narek Zakarian
9b63ab0b91 Merge remote-tracking branch 'origin/trunk' into PCP-155-tracking-api
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
#	modules/ppcp-wc-gateway/src/Helper/PayUponInvoiceHelper.php
#	tests/PHPUnit/WcGateway/Helper/PayUponInvoiceHelperTest.php
2022-08-17 17:11:20 +04:00
Narek Zakarian
48e4590d98 fix tests 2022-08-17 15:31:38 +04:00
dinamiko
9454ca4f16 Leave it as it was for now 2022-08-16 11:06:18 +02:00
dinamiko
ce67d78011 Fix stub method 2022-08-16 11:01:13 +02:00
Narek Zakarian
10da1f8067 method to check if PUI is ready in admin screen 2022-08-12 16:50:05 +04:00
dinamiko
76a81b535b Get payer from order instead of customer 2022-08-12 10:38:42 +02:00
dinamiko
0e24b1d0f8 Add unit tests for vaulted card handler 2022-08-12 09:57:47 +02:00
dinamiko
5d8b783abb Move saved card payment logic into vaulting (WIP) 2022-08-11 14:22:12 +02:00
Alex P
878f271ae9 Update transaction id after manual capture 2022-08-03 14:21:33 +03:00
Alex P
0a9c7bfaf9 Add oxxo icon 2022-07-27 16:03:17 +03:00
Alex P
1049fda586 Merge branch 'trunk' into PCP-726-add-oxxo-apm-alternative-payment 2022-07-26 16:59:27 +03:00
Alex Pantechovskis
5a1c65d3e9
Merge pull request #708 from woocommerce/PCP-581-capture-virtual-only-orders-problem-for-subscriptions
Capture virtual renewal orders functionality for subscription products
2022-07-26 16:22:00 +03:00
Alex Pantechovskis
cfc549958d
Merge pull request #699 from woocommerce/PCP-673-store-customer-id-for-vaulted-payment
Store the customer id for vaulted payment method in usermeta
2022-07-26 16:09:30 +03:00
Alex P
e55e2d9c81 Merge branch 'trunk' into pcp-697-separate-gateway 2022-07-26 15:28:27 +03:00
dinamiko
5a80c45a8d Do not allow bith date older than 100 years 2022-07-22 10:23:12 +02:00
Alex P
0c17c6b1de Allow to choose one of 3 card billing data handling modes
also handle it in one place, no need to mess with payer parsing and JS
2022-07-20 17:28:55 +03:00
dinamiko
323ec8720c Add unit test for oxxo gateway process payment 2022-07-20 15:49:56 +02:00
Alex P
619e9d2552 Change address handling for card button
Make the name field to always appear and send at least one address
2022-07-19 09:24:19 +03:00
Alex P
d4e8bd453c Add card button gateway 2022-07-19 09:20:26 +03:00
Alex P
8c77258828 Add option for sending billing data 2022-07-18 16:24:53 +03:00
Alex P
1a5eb500a5 Cleanup gateways, move process_payment 2022-07-13 09:51:23 +03:00
Alex P
966e3169e4 Refactor gateway error/success handling 2022-07-12 15:37:36 +03:00
dinamiko
5f90aaae20 Merge trunk 2022-07-11 11:51:04 +02:00
Narek Zakarian
642398d682 Merge remote-tracking branch 'origin/trunk' into PCP-581-capture-virtual-only-orders-problem-for-subscriptions
# Conflicts:
#	modules/ppcp-subscription/src/RenewalHandler.php
2022-07-08 19:47:45 +04:00
Emili Castells
4c6b7b9659
Merge pull request #719 from woocommerce/pcp-443-fix-vaulted-card-button
Fix vaulted card button on order page
2022-07-08 10:26:53 +02:00
Alex P
2ca64739db Use str value when checking mismatch
Otherwise the check may fail depending on the rounding used when creating the Money objects
2022-07-07 12:36:14 +03:00
Alex P
82adf1933f Refactor money value formatting
Do not duplicate code and send string value for JPY
2022-07-07 12:34:21 +03:00
Alex P
9ab091b945 Fix shipping preference for vaulted card button 2022-07-05 17:30:12 +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
2b67884900 Introduce oxxo payment (WIP) 2022-07-05 11:30:20 +02:00
Narek Zakarian
90c2a01350 Capture virtual renewal orders functionality for subscriptions 2022-06-29 16:52:19 +04:00
dinamiko
1d9af879ef Fix phpunit 2022-06-27 12:33:51 +02:00
dinamiko
933a80b536 Merge trunk 2022-06-27 12:28:43 +02:00
Narek Zakarian
4c89caf0d9 Fix the tests 2022-06-23 19:18:29 +04:00
Alex P
84a5d9cd0f Merge branch 'trunk' into pcp-328-mismatch 2022-06-20 16:35:37 +03:00
Alex P
8fb6506b67 Add cart e2e tests 2022-06-20 09:09:27 +03:00
Alex P
af15246a96 Fix order fees total 2022-06-17 09:41:05 +03:00
Alex P
04aba8ceb1 Add tests using real WC 2022-06-17 09:40:00 +03:00
dinamiko
0262549382 Merge branch 'trunk' into PCP-417-new-feature---pay-upon-invoice 2022-06-16 11:12:41 +02:00
Alex P
02c84e43e0 Improve item total/price retrieval
Less calculations, also fee was not included in item price for subs with fee
2022-06-15 21:33:25 +03:00
Alex P
770f8e558b Do not send tax in each item
Looks like it is not displayed anyway, and it causes mismatch + cannot send shipping/discount taxes as tax
2022-06-15 10:14:42 +03:00
Alex P
0e82a5f6c9 Fix rounding when checking total mismatch 2022-06-15 09:58:57 +03:00
Emili Castells
ceb95952a9
Merge pull request #672 from woocommerce/PCP-681-refund-failed-no-country-given-f
When creating `Address` do not throw but set empty string when no country code is received
2022-06-14 16:08:17 +02:00
Emili Castells
259f824dac
Merge pull request #657 from woocommerce/PCP-687-do-not-call-partner-referrals-si
Cache partner referrals signup links
2022-06-14 15:05:15 +02:00