Commit graph

1797 commits

Author SHA1 Message Date
dinamiko
5df633037a Add capture auth ignore to subs fail handler 2022-09-26 12:48:20 +02:00
Alex P
b717af3a1d Use connection tab when no tab specified and not onboarded 2022-09-26 10:46:35 +03:00
Alex P
7002c2e6d3 Use connection tab in some URLs instead of paypal tab 2022-09-26 10:44:25 +03:00
dinamiko
6a5cc5d129 Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-16 11:04:45 +02:00
Emili Castells
e27efcd363
Merge pull request #828 from woocommerce/PCP-892-combine-webhooks-status-page-into-new-connection-tab
Combine the webhooks status page into a new connection tab
2022-09-16 11:00:54 +02:00
dinamiko
8b3b8acc1c Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-16 09:40:24 +02:00
Narek Zakarian
eb8efc41f5 Add spinner and disable buttons while switching PUI checkbox 2022-09-15 16:55:41 +04:00
dinamiko
2910d22f0b Merge branch 'trunk' into PCP-782-resubscribe-webhooks-on-plugin-upgrades 2022-09-15 14:25:43 +02:00
Emili Castells
cd3c0c7d2e
Merge pull request #842 from woocommerce/PCP-666-psalm-fix-pui-relevant-webhook-not-subscribed-to
PUI-relevant webhook not subscribed to (666)
2022-09-15 14:21:47 +02:00
dinamiko
9858bbb354 Revert some changes after merge conflic resolve 2022-09-15 12:44:44 +02:00
dinamiko
3382654c0a Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-15 11:47:17 +02:00
Alex P
a10e1b8e2e Load onboarding.js only in connection tab
Looks like it is not needed anywhere else, and in other tabs we get an error because it fails to find the checkbox
2022-09-15 10:13:02 +03:00
dinamiko
be478fc3e6 Add missing .gitignore file 2022-09-14 16:26:54 +02:00
Emili Castells
7f566c6294
Merge pull request #844 from woocommerce/pcp-870-fix-browser-support
Improve old browsers support
2022-09-14 15:51:20 +02:00
dinamiko
a50ec0719d Ignore order tracking assets 2022-09-14 15:08:40 +02:00
dinamiko
e4e968a823 Fix merge conflict 2022-09-14 12:22:46 +02:00
dinamiko
2d4620d780 Merge branch 'trunk' into PCP-892-combine-webhooks-status-page-into-new-connection-tab 2022-09-14 12:12:30 +02:00
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
2938b15bc2 Cache the PUI status and check the context 2022-09-13 16:07:52 +04: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
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
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
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