Commit graph

936 commits

Author SHA1 Message Date
dinamiko
5bb46c0637 Validate required fields only 2022-11-08 11:20:26 +01:00
dinamiko
cb749e78d0 Add transaction url support for oxxo 2022-11-07 15:52:46 +01:00
dinamiko
1e6aa37216 Use null coalescing operator instead of ternary 2022-11-07 12:15:42 +01:00
dinamiko
9e7ae5d16a Merge branch 'trunk' into PCP-739-1-9-0-test-5-pui-gateway-displayed-on-pay-for-order-page-when-mandatory-billing-fields-are-left-empty-or-country-is-unsupprted 2022-11-07 12:04:50 +01:00
Emili Castells
bbe66a75fe
Merge pull request #960 from woocommerce/PCP-958-add-contact-message-in-oxxo-payment-settings
Enable OXXO/Standard Card button, add contact message and ensure accepts non physical products (958)
2022-11-07 11:51:49 +01:00
dinamiko
1f94ce2654 Ensure pay for order is ready for pui 2022-11-04 16:20:27 +01:00
Narek Zakarian
2620292c48 make descriptions more easier to change 2022-11-04 12:50:07 +04:00
Narek Zakarian
45cc24449c Merge remote-tracking branch 'origin/PCP-915-create-pay-later-tab' into PCP-915-create-pay-later-tab 2022-11-04 12:39:56 +04:00
Narek Zakarian
f228b83e66 Remove unnecessary uses 2022-11-04 12:39:35 +04:00
Alex P
ed2479f95c Do not load paypal sdk when settings page without previews 2022-11-04 10:05:32 +02:00
Emili Castells
aa7a7adaf7
Merge pull request #886 from woocommerce/PCP-922-update-order-with-order-note-if-payment-failed-after-billing-agreement-canceled-at-pay-pal
update order with order note if payment failed after billing agreement canceled at PayPal (922)
2022-11-03 14:25:34 +01:00
dinamiko
f548c9dfd4 Fix merge conflict 2022-11-03 12:31:52 +01:00
dinamiko
ba37b81869 Fix psalm 2022-11-03 12:25:59 +01:00
dinamiko
faa9fbe982 Consolidate conditional 2022-11-03 12:06:04 +01:00
dinamiko
5fa1907d97 Add product validation for pui 2022-11-03 12:03:03 +01:00
Emili Castells
902e92c685
Merge pull request #943 from woocommerce/PCP-942-payment-source-cannot-be-used-error-for-pay-upon-invoice-when-ship-to-a-different-address-country-different-then-germany
`PAYMENT_SOURCE_CANNOT_BE_USED` error for pay upon invoice when ship to a different address country different then Germany (942)
2022-11-02 17:04:57 +01:00
Emili Castells
b420ec4d22
Merge pull request #937 from woocommerce/PCP-736-1-9-0-test-5-missing-pui-refund-functionality-from-wc-order
Missing PUI refund functionality from WC order (736)
2022-11-02 17:04:03 +01:00
Emili Castells
0c756c0667
Merge pull request #938 from woocommerce/PCP-946-multiple-php-warnings-php-8
Multiple PHP warnings (PHP8)
2022-11-02 16:44:36 +01:00
Emili Castells
68a300e9fe
Merge pull request #916 from woocommerce/PCP-742-1.9.0-test5]-when-brand-name-field-is-left-empty,-pui-purchase-fails
When Brand Name field is left empty, PUI purchase fails (742)
2022-11-02 16:43:48 +01:00
Emili Castells
8bc53bf3cf
Merge pull request #922 from woocommerce/PCP-937-php-8.1-support
PHP 8.1 support
2022-11-02 16:39:06 +01: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
Emili Castells
933cede8d6
Merge pull request #933 from woocommerce/PCP-954-compatibility-with-wc-high-performance-order-storage
Compatibility with WC High-Performance Order Storage
2022-11-02 16:34:58 +01: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
dinamiko
7b76a9f653 Do not check physical product on amount allowed 2022-11-02 12:31:21 +01:00
dinamiko
31f91cd976 Enable OXXO/Credit Card button and add OXXO contact message 2022-11-02 12:27:03 +01: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
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
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
dinamiko
f688ccdff0 Fix php8 warnings 2022-10-25 16:16:48 +02:00
dinamiko
6517f15457 Add refund support for pui 2022-10-25 11:57:22 +02:00
dinamiko
5e42704dbc Replace wp update post meta to wc update meta 2022-10-24 12:35:31 +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
dinamiko
d509a80802 Fix psalm 2022-10-21 12:45:22 +02:00
dinamiko
2cc0f2378c Check nonces 2022-10-20 15:48:29 +02: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