Commit graph

207 commits

Author SHA1 Message Date
Emili Castells
b3df2374fd
Merge pull request #1691 from woocommerce/PCP-1943-validate-email-address-api-credentials-field
validate email address API credentials field (1943)
2023-09-19 17:21:06 +02:00
Pedro Silva
940b7fc6e7
Fix admin email validation CSS 2023-09-19 14:17:03 +01:00
Pedro Silva
bc5e6f6a46
Add email validation in onboarding. 2023-09-12 17:45:29 +01:00
Pedro Silva
2e7f9b46b0
Merge branch 'PCP-1744-google-pay-integration' into wip/apple-google-combined
# Conflicts:
#	modules.php
2023-09-11 10:50:34 +01:00
Pedro Silva
b703f17bbf
Add GooglePay onboarding improvements. 2023-09-11 10:04:38 +01:00
Pedro Silva
bad21380b3
Refactor GooglePay onboarding 2023-09-08 18:43:33 +01:00
carmenmaymo
ff6b3bf5ce
Merge branch 'trunk' into feat/PCP-154-apple-pay-payment 2023-09-08 11:58:33 +02:00
Alex P
e16a8c4ff3
Do not use transient expiration longer than month to support memcached 2023-08-25 09:01:09 +03:00
Pedro Silva
2ae5e2bb4c
Add concurrent handling to ScriptLoading
Fix OnboardingRenderer
2023-08-24 10:26:23 +01:00
carmenmaymo
8cb9c026e2
add onboarding options filter 2023-08-24 10:57:25 +02:00
Pedro Silva
e87ab7362c
Add GooglePay module 2023-08-22 08:44:32 +01:00
Pedro Silva
c035cdaf3e
Add previous token validation for OnboardingUrl
Add retries on listen_for_merchant_id() to wait for client_id and signature
2023-07-31 18:20:39 +01:00
Pedro Silva
76804c2582
Add simulate cart endpoint 2023-07-18 15:58:15 +01:00
Pedro Silva
35fbe42733
Refactor WooCommerce\PayPalCommerce\Onboarding\Exception\RuntimeException to \RuntimeException
Refactor to use add_query_arg in append_onboarding_token
2023-07-12 14:57:57 +01:00
Pedro Silva
96eae6c690
Add security to the onboarding return URL. 2023-07-07 18:44:53 +01:00
Alex P
d548bb8788
Check admin permissions 2023-05-31 16:36:02 +03:00
dependabot[bot]
9db77a801b
Bump json5 from 2.2.1 to 2.2.3 in /modules/ppcp-onboarding
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:49:34 +00:00
dependabot[bot]
5e1f52a357
Bump webpack from 5.74.0 to 5.76.0 in /modules/ppcp-onboarding
Bumps [webpack](https://github.com/webpack/webpack) from 5.74.0 to 5.76.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.74.0...v5.76.0)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-17 10:44:46 +00:00
Emili Castells Guasch
8d97954f42 Add content type json to all fetch ajax endpoints 2023-03-22 17:26:58 +01:00
Emili Castells
aea0963812
Merge pull request #1239 from woocommerce/PCP-1481-webhook-storage
Fix webhook issues when switching sandbox, and delete all webhooks when unsubscribing
2023-03-16 09:17:56 +01:00
dependabot[bot]
dd0787dfcc
Bump loader-utils from 2.0.2 to 2.0.4 in /modules/ppcp-onboarding
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 2.0.2 to 2.0.4.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v2.0.2...v2.0.4)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-14 08:39:09 +00:00
Alex P
4c59337247
Delete all webhooks before adding 2023-03-09 10:47:29 +02:00
Alex P
7c43d91288
Allow to capture automatically on status change 2023-02-14 10:30:59 +02:00
Narek Zakarian
6e5af8f0ab
Change the script localize name 2022-12-21 18:01:19 +04:00
Narek Zakarian
5b15b4b3fe
Conditionally add a message when no location is selected. 2022-12-21 17:08:56 +04:00
Narek Zakarian
c45a54aa68
Improve the conditional showing fields functionality 2022-12-20 19:08:17 +04:00
Narek Zakarian
9c6a813776
Refactor settings JS code to work for standard tab 2022-12-05 15:28:45 +04:00
Emili Castells
e67b4225d3
Merge pull request #962 from woocommerce/PCP-915-create-pay-later-tab
Create the pay later tab
2022-11-15 11:53:37 +01:00
Narek Zakarian
629292c85a Merge remote-tracking branch 'origin/trunk' into PCP-915-create-pay-later-tab
# Conflicts:
#	modules/ppcp-wc-gateway/services.php
2022-11-15 14:40:23 +04:00
Alex P
d8f972343d
Merge branch 'trunk' into pcp-918-php-72 2022-11-15 12:36:20 +02:00
Alex P
17d3cc152e Require PHP 7.2 2022-11-09 16:00:15 +02:00
Alex P
818dbcf107 Add isolated container and dhii modularity deps 2022-11-09 10:13:03 +02:00
Narek Zakarian
f3a0c0d0ce Improve JS variable declaration 2022-11-04 12:46:23 +04:00
Narek Zakarian
7a0350ea7a Add button and message preview scripts 2022-11-02 17:35:29 +04: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
c68eac814f Handle the JS logic 2022-10-31 15:58:19 +04:00
Alex P
ab618b200e Add button preview in settings 2022-10-21 17:56:48 +03: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
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
429349990b Disable the PUI onboarding checkbox while JS Fetch is running. 2022-10-11 16:17:24 +04:00
Alex P
5919c5e223 Cleanup/refactor disabled card icons removal 2022-10-09 18:20:06 +03:00
Alex P
a2668e37d2 Fix appendChild usage
We replaced append with appendChild for better browser support, but it accepts only single elements, so we need to flatten the array.
2022-10-09 18:16:54 +03:00
Narek Zakarian
a58f94de46 Merge branch 'trunk' into PCP-901-onboarding-buttons-must-be-clicked-multiple-times-after-using-checkbox 2022-10-07 15:55:17 +04:00
dinamiko
1dec304595 Uncheck onboarding with pui checkbox by default 2022-09-30 15:53:36 +02:00
dinamiko
5291dc7298 Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-26 15:53:41 +02:00
Alex P
c3b2472389 Fix onboarding callback
Looks like the global function were not available for the PayPal SDK since #844
2022-09-26 15:41:46 +03:00
Narek Zakarian
eb8efc41f5 Add spinner and disable buttons while switching PUI checkbox 2022-09-15 16:55:41 +04:00
dinamiko
3382654c0a Merge branch 'trunk' into PCP-688-add-functionality-to-choose-subscription-failure-behavior 2022-09-15 11:47:17 +02:00
Alex P
a10e1b8e2e Load onboarding.js only in connection tab
Looks like it is not needed anywhere else, and in other tabs we get an error because it fails to find the checkbox
2022-09-15 10:13:02 +03:00
dinamiko
e4e968a823 Fix merge conflict 2022-09-14 12:22:46 +02:00