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 Pantechovskis
8ebeeeca1b
Merge pull request #950 from woocommerce/fix-js-error-output
...
Fix err.details check, show message if no details
2022-10-31 12:42:05 +02: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
Emili Castells
961522c8d3
Merge pull request #946 from woocommerce/PCP-916-update-all-plugin-strings
...
Update all plugin strings (916)
2022-10-28 16:17:59 +02:00
dinamiko
eda1c14cee
Update changelog
2022-10-28 16:06:20 +02:00
dinamiko
4ab0715527
Update plugin strings
2022-10-28 15:46:40 +02:00
dinamiko
90cd342a10
Hide PUI gateway if shipping address is not Germany
2022-10-27 12:51:47 +02:00
Alex P
c99418d0bc
Remove unused imports
2022-10-27 12:14:39 +03:00
Alex P
91636a9dcc
Execute server-side WC validation when clicking button (order creation)
2022-10-27 09:55:25 +03:00
Alex P
3dde305cb4
Fix order creation error message handling in js
2022-10-27 09:11:35 +03:00
Alex P
9020c9b797
Use the same errorHandler
...
Otherwise old messages may get stuck
2022-10-27 09:09:45 +03:00
dinamiko
914c79e5fc
Fix phpcs
2022-10-25 16:22:06 +02:00
dinamiko
f688ccdff0
Fix php8 warnings
2022-10-25 16:16:48 +02:00
dinamiko
37b20fa896
Fix phpunit
2022-10-25 12:07:01 +02:00
dinamiko
6517f15457
Add refund support for pui
2022-10-25 11:57:22 +02:00
Alex P
7b60f339aa
Handle synced sub without upfront payment like free trial
2022-10-25 09:37:08 +03:00
dinamiko
6d2c08b46a
Fix phpunit
2022-10-24 12:44:34 +02:00
dinamiko
5e42704dbc
Replace wp update post meta to wc update meta
2022-10-24 12:35:31 +02:00
dinamiko
37d5cae924
Add WC HPOS support
2022-10-24 12:20:45 +02:00
Danae Millan
5a5933ce91
Fix button positioning for products with one page checkout enabled
2022-10-24 12:26:26 +03:00
Alex P
ab618b200e
Add button preview in settings
2022-10-21 17:56:48 +03:00
Emili Castells
3926ae2d96
Merge pull request #928 from woocommerce/release/1.9.5
...
Release 1.9.5
2022-10-21 16:54:31 +02:00
dinamiko
85109f82d2
Bump 1.9.5 version
2022-10-21 16:28:34 +02:00
dinamiko
8b30b70a44
Fix phpcs
2022-10-21 12:48:34 +02:00
dinamiko
d509a80802
Fix psalm
2022-10-21 12:45:22 +02:00
dinamiko
f66c2322fd
Fix phpunit
2022-10-21 12:25:22 +02:00
dinamiko
5f299b2939
Merge branch 'trunk' into PCP-937-php-8.1-support
2022-10-21 12:12:46 +02:00
Emili Castells
e347bd8416
Merge pull request #926 from woocommerce/improve-js-build
...
Make js build parallel and add a sctipt for watching changes
2022-10-21 12:06:55 +02:00
Alex P
45d277b936
Make js build parallel and add a sctipt for watching changes
...
JS building should be much faster now, and also you can do yarn ddev:watch-js to make it automatically detect changes and rebuild when editing JS code.
2022-10-21 11:27:03 +03:00
dinamiko
2cc0f2378c
Check nonces
2022-10-20 15:48:29 +02:00
Emili Castells
222d21a7ed
Merge pull request #921 from woocommerce/pcp-948-improve-button-visibility-setting
...
Hide order button via class
2022-10-20 15:17:28 +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
dinamiko
a18832371e
Disable phpcs when nonce check not needed
2022-10-19 17:22:09 +02:00
dinamiko
4e248a815e
Disable phpcs when nonce check not needed
2022-10-19 16:52:43 +02:00
dinamiko
a77078a372
Fix token check on listener
2022-10-19 11:50:15 +02:00
dinamiko
68cf4ecda3
Add php 8.1 support (WIP)
2022-10-18 15:59:11 +02:00
dinamiko
dee2c66f14
Add check for empty brand name and disable gateway if error message
2022-10-17 15:41:23 +02: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