Commit graph

2820 commits

Author SHA1 Message Date
Narek Zakarian
783c96b382 Functionality to sync GZD shipment with PayPal tracking 2022-10-03 18:20:25 +04:00
Narek Zakarian
561974c3b5 Create services for GZD compat layer 2022-10-03 18:19:35 +04:00
Narek Zakarian
92bdb977f9 Add filter for tracking_number value, fix filter names 2022-09-29 16:26:19 +04:00
Emili Castells
fd721ddbf8
Merge pull request #863 from woocommerce/pcp-885-fix-connection-url
Fix links after adding connection tab
2022-09-26 14:58:14 +02:00
Emili Castells
b2778d8fca
Merge pull request #864 from woocommerce/pcp-870-fix-global-callback
Fix onboarding callback
2022-09-26 14:57:53 +02:00
Alex P
c3b2472389 Fix onboarding callback
Looks like the global function were not available for the PayPal SDK since #844
2022-09-26 15:41:46 +03: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
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
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
Emili Castells
1f564f8b28
Merge pull request #849 from woocommerce/fix-onboarding-js
Load onboarding.js only in Connection tab
2022-09-15 09:21:15 +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
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
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
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
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
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
Narek Zakarian
23b7d312ad Check if DCC is enabled on PayPal account. 2022-09-02 15:52:11 +04: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