Commit graph

1766 commits

Author SHA1 Message Date
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
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
Narek Zakarian
2c27bf91d9 Pass the WC_Order class id instead of the WP_Post object id 2022-09-01 14:58:23 +04:00
dinamiko
699dc8fbef Fix phpcs 2022-08-31 17:27:18 +02:00
dinamiko
dbf5076c22 Add first item information 2022-08-31 16:15:20 +02:00
dinamiko
99f28ec68c Unify all items into one and set tax values from amount 2022-08-31 15:32:55 +02:00
Narek Zakarian
35909503b6 migrate settings from webhook status page 2022-08-31 16:12:16 +04:00
dinamiko
18490d76be Fix rounding issue (WIP) 2022-08-31 13:08:30 +02:00
Narek Zakarian
9ea7949154 Merge remote-tracking branch 'origin/PCP-885-create-new-connection-connected-tab' into PCP-892-combine-webhooks-status-page-into-new-connection-tab 2022-08-31 14:26:28 +04:00
dinamiko
0a98d38891 Add decimal rounding fix for items total and tax total 2022-08-31 12:17:20 +02:00
dinamiko
6b84a66a48 Add round precision to diff 2022-08-31 11:14:43 +02:00
dinamiko
8a639e28d1 Add fix for one decimal difference 2022-08-30 17:57:03 +02:00
dinamiko
15a6685ff2 Allow skip ditch items when mismatch 2022-08-30 16:40:04 +02:00
dinamiko
526c25f501 Merge branch 'trunk' into PCP-837-pui-ensure-taxes 2022-08-30 14:41:36 +02:00
dinamiko
434876f81e Add fees taxes 2022-08-30 14:40:03 +02:00
dinamiko
28294fa79c Ensure item taxes for pui payment (WIP) 2022-08-29 16:20:39 +02:00
dinamiko
c95b9608d4 Ensure item taxes for pui payment (WIP) 2022-08-29 16:16:34 +02:00
dinamiko
0018227d88 Ensure item taxes for pui payment (WIP) 2022-08-29 15:18:40 +02:00
Narek Zakarian
ed2ac19b12 open external links in new tab. 2022-08-29 16:20:37 +04:00
Narek Zakarian
5356ecb9e4 Fix the "get Help" links 2022-08-29 14:39:52 +04:00
Narek Zakarian
64a0f0af77 Fix connection tab settings when using live account 2022-08-25 18:58:54 +04:00
Narek Zakarian
6496a202a3 Fix PHPcs problems 2022-08-25 16:26:36 +04:00
Narek Zakarian
a693829815 Check for features are available on PayPal, reorder the sections 2022-08-25 16:21:18 +04:00
Narek Zakarian
6742229345 Fix Psalm problems 2022-08-24 16:51:56 +04:00
Narek Zakarian
aeb840ff5f add new setting requirement for PUI readiness 2022-08-24 16:38:10 +04:00
Narek Zakarian
f6e2b345c9 Assets should work also on connection tab 2022-08-24 16:37:09 +04:00
Narek Zakarian
4a8c8eeb8e prepare code to work with connection tab 2022-08-24 16:36:35 +04:00
Narek Zakarian
2cbdfdf3bb Extract connection settings into new file 2022-08-24 16:34:49 +04:00
Emili Castells
d2b6ee9e9e
Merge pull request #798 from woocommerce/PCP-871-improve-compatibility-with-siteground-optimizer-plugin
Fix SiteGround Optimizer plugin compatibility
2022-08-22 12:54:00 +02:00