Commit graph

1788 commits

Author SHA1 Message Date
Alex P
ed2479f95c Do not load paypal sdk when settings page without previews 2022-11-04 10:05:32 +02:00
Narek Zakarian
b7dc732e1f Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/resources/js/gateway-settings.js
2022-11-02 19:35:51 +04:00
Narek Zakarian
c9b15c0f76 Fix the phpcs 2022-11-02 19:28:16 +04:00
Narek Zakarian
156acbf32c Fix the tests 2022-11-02 19:06:17 +04:00
Narek Zakarian
469c3ce9c3 Merge branch 'trunk' into pcp-917-preview
# Conflicts:
#	modules/ppcp-wc-gateway/resources/js/gateway-settings.js
#	modules/ppcp-wc-gateway/services.php
#	modules/ppcp-wc-gateway/src/Assets/SettingsPageAssets.php
#	modules/ppcp-wc-gateway/src/WCGatewayModule.php
#	tests/PHPUnit/WcGateway/Assets/SettingsPagesAssetsTest.php
2022-11-02 18:01:37 +04:00
Narek Zakarian
103a8911e0 Add styles for previews 2022-11-02 17:36:21 +04:00
Narek Zakarian
0596f84b21 Add necessary config for preview scripts 2022-11-02 17:36:08 +04:00
Narek Zakarian
7a0350ea7a Add button and message preview scripts 2022-11-02 17:35:29 +04:00
Narek Zakarian
cc1fb62a6f Add button and message previews 2022-11-02 17:34:53 +04:00
Alex P
59472bf140 Hide the subscription option without js
It was causing js error + no reason to use js for this
2022-10-31 16:14:55 +02:00
Alex P
349f606ced Fix preview error when missing elements 2022-10-31 15:29:58 +02:00
Narek Zakarian
510cb4db49 Merge remote-tracking branch 'origin/pcp-917-preview' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/resources/js/gateway-settings.js
#	modules/ppcp-wc-gateway/services.php
2022-10-31 16:16:57 +04:00
Narek Zakarian
3e82fd9996 Merge branch 'trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
2022-10-31 16:07:17 +04:00
Narek Zakarian
23fa659b68 Migration functionality 2022-10-31 15:59:34 +04:00
Narek Zakarian
832f7a41cd Refactor Pay Later to read from new tab setting on frontend 2022-10-31 15:59:17 +04:00
Narek Zakarian
c68eac814f Handle the JS logic 2022-10-31 15:58:19 +04:00
Narek Zakarian
9efc65cc93 Remove old settings 2022-10-31 15:57:47 +04:00
Narek Zakarian
f9e374e540 Create Pay Later tab settings 2022-10-31 15:57:00 +04:00
Alex P
b3df9a5b47 Fix err.details check, show message if no details
The array check was wrong, resulting in no message shown and an error about empty string.
Also we should output .message if no .details, or at least a generic message if no .message too
2022-10-31 11:42:14 +02:00
dinamiko
4ab0715527 Update plugin strings 2022-10-28 15:46:40 +02:00
Alex P
ab618b200e Add button preview in settings 2022-10-21 17:56:48 +03:00
dinamiko
85109f82d2 Bump 1.9.5 version 2022-10-21 16:28:34 +02:00
Alex P
4ca9639fb1 Add CSS file for non-DCC rules 2022-10-20 13:13:42 +03:00
Alex P
57af25a197 Hide order button via class 2022-10-20 09:24:24 +03:00
Emili Castells
763e1e287c
Merge pull request #884 from woocommerce/PCP-905-tracking-integration-compatibility-with-third-party-plugins
Tracking integration compatibility with Germanized plugin
2022-10-17 14:16:02 +02:00
Emili Castells
25161a3b23
Merge pull request #888 from woocommerce/PCP-905-tracking-integration-hooks
Add filters and hooks
2022-10-17 14:15:34 +02:00
Emili Castells
1d2babf4ad
Merge pull request #897 from woocommerce/PCP-904-pay-pal-transaction-key-meta-field-not-populated-for-pui-payments
PayPal Transaction Key meta field not populated for PUI payments (904)
2022-10-14 11:59:06 +02:00
Emili Castells
6ba19945aa
Merge pull request #905 from woocommerce/PCP-868-during-pay-pal-express-checkout-pui-js-file-is-loaded
During PayPal express checkout PUI js file is loaded (868)
2022-10-14 09:13:32 +02:00
Emili Castells
074a6f761f
Merge pull request #873 from woocommerce/PCP-899-pui-payment-instructions-printed-in-the-refund-email
PUI payment instructions printed in the refund email (899)
2022-10-14 09:12:37 +02:00
Emili Castells
ab23dfbe4c
Merge pull request #876 from woocommerce/PCP-900-onboard-with-pui-checkbox-automatically-set-when-shop-is-set-to-germany
Onboard with PUI Checkbox automatically set when shop is set to Germany
2022-10-14 09:11:55 +02:00
Emili Castells
de6d7ff6d0
Merge pull request #893 from woocommerce/PCP-907-rename-plugin-settings-tabs
Rename plugin settings tabs (907)
2022-10-14 09:11:05 +02:00
Emili Castells
aec2bde851
Merge pull request #892 from woocommerce/PCP-913-ratepay-payment-instructions-added-to-non-pay-upon-invoice-orders
Ratepay payment instructions added to non Pay upon Invoice orders
2022-10-14 09:09:59 +02:00
Emili Castells
74bc941699
Merge pull request #899 from woocommerce/PCP-878-fatal-error-caused-by-oxxo-code
Fix thankyou_order_received filter usage
2022-10-13 10:50:46 +02:00
Emili Castells
c9086fee25
Merge pull request #847 from woocommerce/PCP-898-clarify-3-d-secure-v-2-support-for-vaulted-payment-methods
Add SCA payment indicator for credit card renewals (898)
2022-10-13 09:24:45 +02:00
Emili Castells
1faed1c1ad
Merge pull request #904 from woocommerce/PCP-930-invalid-tracking-number-in-logs-when-adding-random-number-as-tracking-number
Do not get tracking if tracking number meta doesn't exist
2022-10-13 09:23:27 +02:00
Emili Castells
1ce7ba134f
Merge pull request #901 from woocommerce/PCP-933-tracking-on-connection-tab-always-enabled
Fix the disabled tracking checkbox condition
2022-10-13 09:22:33 +02:00
Emili Castells
dcb111fe98
Merge pull request #852 from woocommerce/PCP-901-onboarding-buttons-must-be-clicked-multiple-times-after-using-checkbox
Add spinner and disable buttons while switching PUI checkbox
2022-10-13 09:21:48 +02:00
Narek Zakarian
cad613504f Fix Phpcs 2022-10-11 18:01:06 +04:00
Narek Zakarian
885df3eee7 Fix tracking number on Update 2022-10-11 17:59:55 +04:00
dinamiko
9d8c95fe8f Do not load pui js if PayPal order exist in session 2022-10-11 15:36:14 +02:00
Narek Zakarian
429349990b Disable the PUI onboarding checkbox while JS Fetch is running. 2022-10-11 16:17:24 +04:00
Narek Zakarian
92e4b65220 Dont get tracking if tracking number meta doesn't exist 2022-10-11 15:03:53 +04:00
dinamiko
6c01bf43b8 Merge branch 'trunk' into PCP-898-clarify-3-d-secure-v-2-support-for-vaulted-payment-methods 2022-10-11 12:25:37 +02:00
dinamiko
3bbaeb9e10 fix psalm 2022-10-10 15:17:05 +02:00
dinamiko
eec6ba8167 Refactor 2022-10-10 15:14:34 +02:00
Narek Zakarian
968b081534 Fix the disabled tracking checkbox condition 2022-10-10 17:11:38 +04:00
dinamiko
99aa80c3ec Use wc order update meta data intead of wp function 2022-10-10 15:10:00 +02:00
Alex P
843b4b9c09 Fix thankyou_order_received filter usage 2022-10-10 15:43:15 +03:00
dinamiko
beebb862da Add transaction fee meta to pui order 2022-10-10 12:06:20 +02:00
Alex P
5919c5e223 Cleanup/refactor disabled card icons removal 2022-10-09 18:20:06 +03:00