Commit graph

81 commits

Author SHA1 Message Date
dinamiko
a71c8b134a Fix phpcs errors 2021-03-25 16:57:42 +01:00
dinamiko
fd7dfaf13b Allow credit card gateway to use saved credit cards 2021-03-25 16:11:45 +01:00
dinamiko
0bdc9faae9 Catch not found exception when setting does not exists 2021-03-16 16:23:24 +01:00
dinamiko
ca82a46383 Fix typos getting settings and reverse conditionals to check for true first 2021-03-12 10:52:07 +01:00
dinamiko
a291c0da1a Fix phpcs errors 2021-03-10 12:55:35 +01:00
dinamiko
ed3a91f333 Add client-side vaulting for subscription renewals 2021-03-10 12:10:12 +01:00
dinamiko
e7f592efe3 Add test coverage for identity token 2021-03-03 15:08:27 +01:00
dinamiko
eef459df58 Do not add data-client-token to the script if there is no user 2021-03-02 10:29:40 +01:00
dinamiko
b9c2550f3b Add save card to hosted fields 2021-02-16 17:06:50 +01:00
dinamiko
6bfb8b2c2a Enable subscriptions plugin support, add settings for vaulting 2021-02-15 13:54:42 +01:00
Emili Castells
9434d8f293
Merge pull request #103 from woocommerce/PCP-63
Pcp 63
2021-02-01 11:15:12 +01:00
Emili Castells
faf7e86e51
Merge branch 'trunk' into PCP-81-de-now-has-12-month-installments 2021-01-22 12:21:59 +01:00
dinamiko
426989118f Enable credit messaging for Germany 2021-01-19 12:13:15 +01:00
carmenmaymo
f826c25f64 fix tests and cs 2021-01-19 09:50:07 +01:00
dinamiko
1f39afc6e6 Introduce pay in 3 for UK 2021-01-18 17:04:09 +01:00
carmenmaymo
0669708ad9 unset phone if empty 2021-01-18 16:13:08 +01:00
Emili Castells
7451470f09
Merge pull request #92 from woocommerce/PCP-59-gb-country-has-acdc-blocked
Use disable funding credit instead of card
2021-01-13 09:36:18 +01:00
dinamiko
aa91751450 Allow set target on spinner 2021-01-11 11:42:45 +01:00
dinamiko
9bf0248153 Ensure terms and conditions page is selected before validate 2021-01-07 12:37:16 +01:00
dinamiko
8562fb7f58 Add spinner to pay now bootsptrap 2021-01-05 17:12:26 +01:00
dinamiko
fc05378dbb Load buttons component on pay now page 2021-01-05 11:35:47 +01:00
dinamiko
4123a75054 Use disable funding credit instead of card
PCP-59
2020-12-04 09:58:08 +01:00
David Remer
3e2f811959 make sure shipping is needed when setting up application context.
When no shipping zones are defined the WC_Order which is patched later will not contain a shipping address. When we set up the order with a fixed shipping address from file, this will result in an API error. Therefore, we need to check upfront, if shipping is needed.
2020-11-03 12:29:05 +02:00
Emili Castells
9ba065980a
Merge pull request #74 from woocommerce/issue-72-fixed-shipping-address-in-checkout
Prevent shipping address change in paypal checkout
2020-11-02 10:45:59 +01:00
Emili Castells
13176decc8
Merge pull request #73 from woocommerce/issue-67-no-country-selected
No country selected
2020-11-02 10:45:43 +01:00
Emili Castells
2bc964dde4
Merge pull request #71 from woocommerce/issue-63-3dsecure-layer-above-woocommerce-loading-layer
force the 3d secure layer above the woocommerce loading layer
2020-11-02 10:45:29 +01:00
Emili Castells
803c452421
Merge pull request #59 from woocommerce/issue-56-urlencode-form-data
sanitize checkout form data
2020-11-02 10:45:13 +01:00
David Remer
d0a4405d7e prevent shipping address change in paypal checkout 2020-10-21 09:25:37 +03:00
David Remer
5e7d613d17 allow HTML in error message 2020-10-21 09:09:31 +03:00
David Remer
8fbffbced0 make sure the country code has only two characters, prevents 'default' as value 2020-10-21 08:58:02 +03:00
David Remer
69fd00f866 force the 3d secure layer above the woocommerce loading layer 2020-10-16 13:44:11 +03:00
David Remer
fe414b00dc send the country param only in sandbox environments 2020-10-16 13:32:26 +03:00
David Remer
2996bdbe8b change credentials, endpoint urls, plugin url, js sdk date 2020-10-13 09:42:34 +03:00
David Remer
67eb9aa06b sanitize checkout form data differently than usual input data as it is url encoded, do not use wp_parse_args as it has sideeffects. 2020-10-12 11:52:42 +03:00
Jorge A. Torres
02718c6c77 Rename plugin to "WooCommerce PayPal Payments" 2020-10-09 19:00:00 -03:00
David Remer
63f223c69d move integration date into constant 2020-10-08 07:28:43 +03:00
David Remer
d865b4f8fc remove unused files 2020-10-08 07:22:43 +03:00
David Remer
7fbd288fa4 Merge branch 'master' of github.com:woocommerce/paypal-for-woocommerce 2020-10-07 08:42:47 +03:00
David Remer
4f19c574ea do not load vault for dcc 2020-10-07 08:42:34 +03:00
David Remer
2608f19f6b resolve merge conflict 2020-10-05 15:35:37 +03:00
David Remer
06728d616b
Merge branch 'master' into pay-now 2020-10-02 12:31:00 +03:00
David Remer
8eb91d9f3f
Merge branch 'master' into issue-39-missing-spinning-wheel 2020-10-01 13:29:03 +03:00
Rasmy Nguyen
ce870122f2
Merge pull request #8 from woocommerce/issue-4-disable-card
Prevents DCC payments of disabled card brands
2020-10-01 09:06:17 +00:00
David Remer
fa1c2e4246 take client_id and secret into account when deciding whether DCC is enabled 2020-10-01 11:37:36 +03:00
David Remer
96fd3d6a2a enable gateways in the account -> order -> pay-now 2020-09-30 14:24:31 +03:00
David Remer
7caa0d3dbf change target to apply block() 2020-09-29 10:11:27 +03:00
David Remer
82be811271 validate if credit card can be used in a country 2020-09-29 09:59:22 +03:00
David Remer
be331f9191 Merge branch 'master' of github.com:woocommerce/paypal-for-woocommerce 2020-09-28 14:55:05 +03:00
David Remer
44e72816b9 check if #ppcp-hide-dcc exists before attempting to remove it 2020-09-28 14:54:52 +03:00
David Remer
4322386c85 activate spinner when credit card button is clicked 2020-09-28 14:05:02 +03:00