Kirill Braslavsky
33146ca354
unblock UI when error on hosted fields caught
2021-02-25 13:39:44 +02:00
Kirill Braslavsky
ca7ca20a54
Don't block UI on order creating start
2021-02-25 13:30:23 +02:00
Kirill Braslavsky
026889b43e
remove spinner on click, on cancel and on error
2021-02-18 12:16:44 +02:00
Jorge A. Torres
11aa5daca9
Add REST routes related to onboarding
...
Adds various routes under `/wc-paypal/v1/onboarding` including `/status` (onboarding status), `/set-credentials` (manually set merchant ID/email and keys) and `/get-params` (information useful for presenting the user with an onboarding button).
2021-02-04 16:26:16 -05:00
Jorge A. Torres
b8870415af
Rework onboarding rendering and JS code
...
- Add `ppcp_onboarding` object and separate sandbox/production callbacks.
- Prevent errors when loading `onboarding.js` outside of the settings screen.
- Workaround PayPal’s partner.js shortcomings.
2021-02-04 13:57:24 -05:00
Jorge A. Torres
ef8fbf6b6a
Make Settings::persist()
returns the result of update_option()
2021-02-04 13:57:24 -05:00
Jorge A. Torres
202502a2f9
Allow overriding redirect URL after merchant ID is populated during the onboarding flow
...
- Adds action `woocommerce_paypal_payments_onboarding_before_redirect`
- Adds filter `woocommerce_paypal_payments_onboarding_redirect_url`
2021-02-04 13:57:24 -05:00
Jorge A. Torres
08d0489fbc
Make partner_config_override/return_url
and partner_config_override/return_url_description
filterable
2021-02-04 13:57:24 -05:00
Emili Castells
9434d8f293
Merge pull request #103 from woocommerce/PCP-63
...
Pcp 63
2021-02-01 11:15:12 +01:00
dinamiko
c2678a4d35
Fix phpcs errors
2021-02-01 11:06:58 +01:00
dinamiko
2344c203a8
Fix typo in message headings
2021-01-29 10:33:11 +01:00
dinamiko
8c514a8f9d
Display pay later link for germany
2021-01-28 10:10:47 +01:00
dinamiko
0ee6cfc035
Replace credit with pay later
2021-01-27 11:21:17 +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
Emili Castells
78db8e6677
Merge pull request #105 from woocommerce/PCP-78-uk-buy-now-pay-later
...
UK buy now pay later
2021-01-22 12:20:26 +01:00
dinamiko
09fdd98369
Replace PayPal Credit
to Pay Later
in payment settings page
2021-01-21 11:11:23 +01:00
dinamiko
1d17335a99
Fix phpcs errors
2021-01-20 09:48:47 +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
3ab4d0ece4
Update title and description for single product and cart page
2021-01-18 17:23:53 +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
Emili Castells
6fad09efb3
Merge pull request #94 from woocommerce/PCP-60-high-volume-of-failed-calls-to--v
...
Do not reschedule webhook registration on creation failure
2021-01-13 09:35:56 +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
9b90048778
Do not reschedule webhook registration on creation failure
2020-12-15 14:55:46 +01:00
dinamiko
4123a75054
Use disable funding credit instead of card
...
PCP-59
2020-12-04 09:58:08 +01:00
dinamiko
947fda2473
Put declined payment message as the exception message
2020-11-23 16:25:43 +01:00
dinamiko
adc00a7351
Fix typo in translation
2020-11-20 15:41:32 +01:00
dinamiko
c5a107d02b
Throw error when hosted fields transaction declined and display an error message to the customer
2020-11-20 15:40:01 +01:00
dinamiko
bc86c8341f
Fix phpcs errors
2020-11-19 15:34:25 +01:00
dinamiko
83039ba36b
Check purchase units payments captures status is not declined before update order status
2020-11-19 15:26:55 +01:00
Emili Castells
d4d6e615f2
Merge pull request #85 from woocommerce/issue-84-fix-number-format-defaults
...
do not use comma seperator when using number_format
2020-11-09 09:13:11 +01:00
David Remer
f7635fc51c
do not use comma seperator when using number_format
2020-11-09 08:45:17 +02:00
Emili Castells
9c1d51ca62
Merge pull request #80 from woocommerce/issue-79-strip-html-tags-from-product-description
...
strip html tags from description.
2020-11-03 14:26:19 +01:00
David Remer
1b2ac3aed8
strip html tags from description.
...
To prevent HTML tags being present in the PayPal dialog, we need to strip HTML tags when we create the items for a purchase unit.
2020-11-03 14:39:57 +02: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
97c78b02a9
Merge pull request #77 from woocommerce/issue-76-amount-value-should-be-string
...
Amount value should be a string when send to the api
2020-11-02 10:46:12 +01: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
5de7c081f2
amount value should be a string when send to the api
2020-10-22 09:02:25 +03: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
380e4827df
drop address from payer when country format is not correct
2020-10-21 09:05:59 +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