Commit graph

2999 commits

Author SHA1 Message Date
Alex P
1f90b32336 Update phpcs testVersion 2022-11-14 10:21:01 +02:00
Alex P
54ff5376b1 Update plugin php requirements 2022-11-09 17:11:17 +02:00
Alex P
3ef9a974c3 Use different WC versions in e2e tests 2022-11-09 17:10:29 +02:00
Alex P
b7b3e87fe6 Add PHP 8 in ci 2022-11-09 16:26:49 +02:00
Alex P
aae6f3dd1d Fix typehint 2022-11-09 16:09:38 +02:00
Alex P
8801a847ea Fix new psalm errors 2022-11-09 16:04:31 +02:00
Alex P
c3f1f0feaf Use merge-plugin 2.0 2022-11-09 16:01:14 +02:00
Alex P
cfd080e531 Use Composer 2 2022-11-09 16:00:42 +02:00
Alex P
17d3cc152e Require PHP 7.2 2022-11-09 16:00:15 +02:00
Emili Castells
c31637fc44
Merge pull request #969 from woocommerce/PCP-964-oxxo-transaction-id-link-not-enabled
Add transaction url support for OXXO
2022-11-08 17:17:15 +01:00
dinamiko
df38a3bb85 Fix phpunit 2022-11-07 15:56:37 +01:00
dinamiko
cb749e78d0 Add transaction url support for oxxo 2022-11-07 15:52:46 +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
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
e6acd1c27f
Merge pull request #923 from woocommerce/fix/one-page-checkout-compatibility
Fix button positioning for products with One Page Checkout Extension enabled
2022-11-02 16:39:50 +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
Emili Castells
6ebe84b2b9
Merge pull request #846 from woocommerce/pcp-813-rest-session-error
Check that wc session exists before using it
2022-11-02 16:38:13 +01:00
Emili Castells
2ef5be1a06
Merge pull request #936 from woocommerce/pcp-671-free-synced-sub
Handle synced sub without upfront payment like free trial
2022-11-02 16:37:05 +01: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
Emili Castells
77e18ea2b3
Merge pull request #942 from woocommerce/pcp-817-validation
Execute server-side WC validation when clicking button
2022-11-02 16:31:30 +01:00
Emili Castells
4c91e7afbb
Merge pull request #929 from woocommerce/pcp-917-preview
Add button preview in settings
2022-11-02 15:56:02 +01: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
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
Danae Millan
c53ce3f434
Merge pull request #956 from woocommerce/release/1.9.5
Update 1.9.5 release date
2022-11-01 12:22:00 -03:00
Danae Millan
c72c95d160 Update 1.9.5 release date 2022-11-01 11:40:30 -03:00
Alex Pantechovskis
7cbe556a01
Merge pull request #953 from woocommerce/fix-js-error
Hide the subscription option without js
2022-10-31 16:59:47 +02: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
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