Commit graph

2922 commits

Author SHA1 Message Date
dinamiko
82418a071a Return array when getting wc orders 2022-09-14 10:39:15 +02:00
dinamiko
ca9fb3e9fa Use transaction id from parent order on first renewal 2022-09-13 17:25:25 +02:00
Narek Zakarian
c18057b433 Fix PHPcs 2022-09-13 18:33:09 +04:00
Narek Zakarian
bd3d886250 Cache the DCC status PayPal response. 2022-09-13 18:26:02 +04:00
dinamiko
d3b319ab11 Consolidate conditional 2022-09-13 16:15:58 +02:00
dinamiko
3b639233e3 fix psalm 2022-09-13 15:53:05 +02:00
dinamiko
29c8c04dc9 Add sca payment indicator for credit card renewals 2022-09-13 15:41:46 +02:00
Narek Zakarian
cbba252be7 Fix PHPunit tests 2022-09-13 16:12:28 +04:00
Narek Zakarian
2938b15bc2 Cache the PUI status and check the context 2022-09-13 16:07:52 +04:00
Emili Castells
b549f71d77
Merge pull request #833 from woocommerce/PCP-784-pay-pal-order-created-twice-when-context-is-checkout
Refactor to remove second order creation part
2022-09-13 09:01:35 +02:00
dinamiko
1396520c57 Revert ddev config to default 2022-09-12 12:03:55 +02:00
dinamiko
0d9f06ca3f Fix phpcs 2022-09-12 12:01:13 +02:00
dinamiko
2654fac15f Fix psalm 2022-09-12 11:41:29 +02:00
Alex P
a766459ce1 Add FormData polyfil
Safari 10, Chrome 49, Firefox 43, ...
2022-09-12 11:42:58 +03:00
dinamiko
15b28f7c85 Add files from PCP-166 PR 2022-09-12 10:35:27 +02:00
Alex P
86bd3886f0 Use appendChild for better compatibility 2022-09-12 10:23:53 +03:00
Alex P
3c4db55211 Use webpack/babel in onboarding module 2022-09-12 10:23:22 +03:00
Alex P
daad118148 Fix babel in other modules 2022-09-12 10:22:02 +03:00
Alex P
23cb96e6f9 Explicitly send cookies in fetch
Not sent by default in old browsers
2022-09-09 16:28:58 +03:00
Narek Zakarian
073a13e1bf Resubscribe the WebHooks after updating plugin with newer version. 2022-09-09 16:24:04 +04:00
Alex P
5be88678e7 Use appendChild for better compatibility
For some reason Babel does not polyfill it
2022-09-09 11:20:23 +03:00
Alex P
53d4648b4f Use babel correctly to support old browsers 2022-09-09 10:29:14 +03:00
Alex P
a81a2ef7d1 Fix source maps in production
File source was huge because of that
2022-09-09 10:28:26 +03:00
Narek Zakarian
13ac2a3551 Refactor to remove second order creation part 2022-09-07 19:28:16 +04:00
Emili Castells
9533528c5c
Merge pull request #831 from woocommerce/gateway-enabled-from-gateway
Get gateway enabled value from gateway object instead of plugin settings
2022-09-07 16:06:50 +02:00
dinamiko
11b46d7912 Get gateway enabled value from gateway object instead of plugin settings 2022-09-07 15:35:12 +02:00
Narek Zakarian
58aa50d147 Merge branch 'trunk' into PCP-892-combine-webhooks-status-page-into-new-connection-tab
# Conflicts:
#	modules/ppcp-wc-gateway/connection-tab-settings.php
2022-09-06 19:15:24 +04:00
Emili Castells
bf4a94099f
Merge pull request #821 from woocommerce/PCP-885-connection-tab-improvements
Connection tab improvements
2022-09-06 14:56:40 +02:00
Emili Castells
672f4da996
Merge pull request #802 from woocommerce/PCP-885-create-new-connection-connected-tab
Create new connection tab
2022-09-06 14:56:33 +02:00
Emili Castells
37f13f389e
Merge pull request #825 from woocommerce/update-js
Remove unneeded babel package, update packages
2022-09-06 14:55:20 +02:00
Narek Zakarian
d7aef159f9 fix code styling 2022-09-06 14:23:50 +04:00
Alex P
2ea35d6dc9 Remove unneeded babel package, update packages
The spread operator package seems to be old and included by default in Babel 7. 
And it probably was not used properly anyway because there was huge wall of warnings about it when building js.
2022-09-06 10:19:13 +03:00
Narek Zakarian
9694c05d6f Fix PHPcs problems 2022-09-05 15:49:14 +04:00
Narek Zakarian
4bc5254382 fix account change behavior 2022-09-05 15:38:14 +04:00
dinamiko
8f5d5bf92a Fix phpcs 2022-09-05 09:16:08 +02:00
Narek Zakarian
8aa8b8de72 Switch account screen on disconnect 2022-09-02 17:58:49 +04:00
dinamiko
85ad002937 Fix phpunit 2022-09-02 14:09:51 +02:00
Narek Zakarian
145bd8c791 use the constant to name connection settings 2022-09-02 15:54:19 +04:00
Narek Zakarian
61856d8b85 Revert "Check if DCC is enabled on PayPal account."
This reverts commit 74efffab
2022-09-02 15:52:44 +04:00
Narek Zakarian
23b7d312ad Check if DCC is enabled on PayPal account. 2022-09-02 15:52:11 +04:00
dinamiko
ae11b15164 Do not show subscription behavior setting if subscriptions plugin is not active 2022-09-02 12:59:53 +02:00
Narek Zakarian
74efffab7a Check if DCC is enabled on PayPal account. 2022-09-02 14:39:41 +04:00
Narek Zakarian
809b28e29f Redirect to connection tab after onboarding. 2022-09-01 16:29:02 +04:00
Emili Castells
5f972f57eb
Merge pull request #812 from woocommerce/PCP-897-error-on-tracking-metaboxes
Pass the WC_Order ID instead of the WP_Post object ID
2022-09-01 14:06:46 +02:00
Narek Zakarian
2c27bf91d9 Pass the WC_Order class id instead of the WP_Post object id 2022-09-01 14:58:23 +04:00
Danae Millan
521ba0e24a
Merge pull request #810 from woocommerce/release/1.9.3
Update 1.9.3 changelog date
2022-08-31 22:49:09 -03:00
Danae Millan
b5de8946c0 Update relase date version 2022-08-31 22:34:01 -03:00
Danae Millan
93cc4634fb Revert "Test changelog date in readme.txt file"
This reverts commit 2f2928b68a.
2022-08-31 22:28:54 -03:00
Danae Millan
2f2928b68a Test changelog date in readme.txt file 2022-08-31 21:48:11 -03:00
Danae Millan
5f4047d6a7 Add placeholder for 1.9.3 changelog date 2022-08-31 21:14:42 -03:00