Commit graph

392 commits

Author SHA1 Message Date
Narek Zakarian
533d521395 Add filters to change allowed ACDC countries 2022-02-09 18:45:25 +04:00
Narek Zakarian
a0fc703efa Improve Disable Funding setting label and desc 2022-02-07 17:51:03 +04:00
Alex P
625004e2c6 Validate manual input 2022-02-07 09:06:06 +02:00
Alex P
888bb63e8d Fix missing fields when switching from disconnected to onboarded env 2022-02-04 15:38:43 +02:00
Alex P
38135bc94e Allow to switch between live and sandbox 2022-02-04 15:29:23 +02:00
Alex P
70ef7dd367 Refactor settings element state requirements checking 2022-02-03 14:34:33 +02:00
RT3
bb24635e20
Change default to SCA_WHEN_REQUIRED 2022-02-01 10:05:26 -06:00
RT3
db7749cb72
Update 3D Secure
Change the 3D SECURE contingency to SCA_ALWAYS
2022-02-01 09:52:06 -06:00
Alex P
2e50e59940 Remove progressive onboarding state 2022-01-31 18:16:25 +02:00
Alex P
8b3f6cb613 Merge branch 'trunk' into pcp-370-onboarding 2022-01-21 15:06:16 +02:00
Alex P
15ce18ba90 Fix img alt 2022-01-21 08:05:10 +02:00
Alex P
baa4672e1b Update manual credentials toggle 2022-01-21 07:59:08 +02:00
Emili Castells
0fee10931a
Merge pull request #423 from woocommerce/PCP-434-allow-guest-users-to-purchase-su
Add customer id for guest users purchasing subscriptions
2022-01-20 11:18:14 +01:00
Alex P
c0e8beb0ac Add onboarding header 2022-01-18 10:52:03 +02:00
Alex P
ff8c6fdf01 New onboarding options, buttons 2022-01-17 17:59:35 +02:00
Alex P
314ba44bb9 Use realpath for __FILE__ when creating url
on some sites __FILE__ contains .. which breaks url creation
2022-01-14 16:35:13 +02:00
dinamiko
d33ca00ac7 Fix CI errors 2022-01-03 15:15:33 +01:00
dinamiko
de48bcbb9e Display payment gateways for guest users when subscription in the cart 2021-12-22 12:46:48 +01:00
dinamiko
465855d061 Check for captured vault webhook order meta 2021-12-22 12:18:17 +01:00
Alex P
cfc10ff0d9 Add "View logs" link in settings 2021-12-21 17:06:30 +02:00
dinamiko
ba7bea6fa6 Merge branch 'trunk' into PCP-412-when-there-is-a-payment-saved-th 2021-12-20 11:35:57 +01:00
dinamiko
2ba986b342 Introduce vaulting payment token created webhook (wip) 2021-12-20 09:43:36 +01:00
Emili Castells
d5823c1254
Merge pull request #398 from woocommerce/pcp-400-show-funding-source
Show "Venmo" instead of "PayPal" when using its' button
2021-12-14 16:03:01 +01:00
Alex P
9ef61a2b81 Extract funding source name/description generation 2021-12-09 18:31:21 +02:00
Alex P
487e6bfb31 Check that only allowed chars are used for invoice prefix 2021-12-06 15:07:30 +02:00
Alex P
7428a4446b Limit max length of invoice prefix 2021-12-06 12:50:27 +02:00
Danae Millan
bb847b47f6 Rename function for getting the Vaulting setting description
As suggested in the PR to be more aligned with the naming convention.
2021-11-30 15:20:31 -03:00
Alex P
521cbf4e26 Require 3DS by default for PSD2 shop countries 2021-11-30 14:50:49 +02:00
Alex P
ffe32070d0 Extract shop currency, country to services 2021-11-30 10:40:38 +02:00
Alex P
1322a9dd27 Add missing funding sources to "Disable funding sources" 2021-11-25 17:11:51 +02:00
Danae Millan
a4846b64fe Fix wrong prefix for a newly added class for disabled checkbox
The prefix for the plugin is 'ppcp', not 'ppc' as it mistakenly was. Updating this for a checkbox class.
2021-11-23 22:12:32 -03:00
Danae Millan
2ddd8518ca Add missing 'use' of the RuntimeException class 2021-11-23 17:51:59 -03:00
Danae Millan
9da36095e7 Fix phpcs warning 2021-11-22 13:17:54 -03:00
Danae Millan
a338e727fd Switch Pay Later labels when vaulting is toggled
This way we'd display the 'Enable' label when Pay Later can be enabled, and the reason why it can't be enabled when vaulting is enabled.
2021-11-20 14:38:36 -03:00
Danae Millan
1d089cbfa5 Add a description to the vaulting checkbox
Enabling vaulting will disable Pay Later features. The description should make merchants aware of that.
2021-11-20 13:01:13 -03:00
Danae Millan
abe4de252b Mention enabling vaulting from the PayPal account only when it was disabled there
We were always displaying the text 'To use vaulting features, you must enable vaulting on your account' next to the checkbox for enabling vaulting. This message is irrelevant if vaulting is already enabled in the account. This commit makes that message to be displayed only when vaulting is disabled in the account.
2021-11-20 12:58:56 -03:00
Danae Millan
587d3eef53 Disable the vaulting checkbox only when vaulting isn't in the scope
Now, as long as vaulting is in the PayPal account's scope, the checkbox would always be enabled. Independently from the Pay Later settings.
2021-11-20 12:51:11 -03:00
dinamiko
3c237b6315 Do not display gateways if subscription in cart and user is not logged in 2021-10-25 16:27:05 +02:00
dinamiko
697bf3ce09 Fix phpcs errors 2021-10-20 15:32:57 +02:00
dinamiko
e3a793e3e5 Fix merge conflicts 2021-10-20 15:01:53 +02:00
Emili Castells
cf3b6e6ab1
Merge pull request #319 from woocommerce/capture-order-action-availability
Do not show capture order action after capture, refund/cancel/fail
2021-10-19 09:54:36 +02:00
Alex P
94c3356c82 Set transaction id after manual capture 2021-10-15 09:48:29 +03:00
dinamiko
457ebeeb8c Move capture authorized payment into authorized payment processor 2021-10-14 15:45:57 +02:00
dinamiko
ab0ed12495 Merge branch 'trunk' into PCP-327-prevent-subscription-from-being- 2021-10-14 10:34:26 +02:00
Alex P
3330ad34da Merge remote-tracking branch 'origin/trunk' into capture-order-action-availability 2021-10-13 17:51:21 +03:00
dinamiko
a42ae3567f Merge trunk 2021-10-13 16:13:42 +02:00
Alex P
e1f4f9763d Merge branch 'trunk' into capture-order-action-availability 2021-10-13 15:59:26 +03:00
Alex P
10937144a1 Add typehint 2021-10-13 15:02:10 +03:00
Alex P
936915e53c Do not show capture order action after capture, refund/cancel/fail 2021-10-11 17:36:59 +03:00
dinamiko
df95276372 Fix credit card gateway constructor parameters 2021-10-08 16:05:24 +02:00