Commit graph

633 commits

Author SHA1 Message Date
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
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
Jorge A. Torres
a3c5ed25da Add help text and reorganize settings screen for UX 2020-10-15 15:51:05 -03:00
Jorge A. Torres
b630c4291c Add support for select2 change events in settings 2020-10-15 15:51:05 -03:00
Jorge A. Torres
5c467b2188 Disable ‘dirty form’ fix in onboarding JS as it conflicts with other handlers 2020-10-15 15:51:05 -03:00
Jorge A. Torres
5ad190aed0 Make Settings class render fields in a more WC-friendly way 2020-10-15 15:51:05 -03:00
Jorge A. Torres
09f145069e Drop “PayPal’s latest solution” from gateway descriptions. 2020-10-15 15:40:14 -03:00
David Remer
94bcfaaa34 add 3d secure link 2020-10-13 10:38:02 +03:00
David Remer
2996bdbe8b change credentials, endpoint urls, plugin url, js sdk date 2020-10-13 09:42:34 +03:00
David Remer
04da406447 delete dcc product status flag when changing the credentials 2020-10-13 09:41:36 +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
237819dc9f Rename activation/deactivation hooks 2020-10-09 19:55:28 -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
abb2346c9f codestyle 2020-10-06 14:46:28 +03:00
David Remer
722b67a3d1 make sure to store sandbox_on even when method throws error 2020-10-06 14:41:44 +03:00
David Remer
2608f19f6b resolve merge conflict 2020-10-05 15:35:37 +03:00
David Remer
346973b39c change to new connect endpoints 2020-10-05 15:29:49 +03:00
David Remer
06728d616b
Merge branch 'master' into pay-now 2020-10-02 12:31:00 +03:00
David Remer
d9b2818685 redirect when POST request with the error-get-parameter, so no error message will be shown later on 2020-10-02 12:28:40 +03:00
David Remer
951092558d remove the alert box in javascript when onboarding fails 2020-10-02 12:11:07 +03:00
David Remer
2a882487a7 use the plugins notice module to render the notice 2020-10-02 12:09:23 +03:00
David Remer
6683617d2b even without client_id we want to store the merchant_id 2020-10-02 12:08:32 +03:00
Matt Allan
5fa0c293c7
Merge pull request #44 from woocommerce/issue-30-support-refunds
Enable refunds through gateway
2020-10-02 14:49:47 +10:00
David Remer
8eb91d9f3f
Merge branch 'master' into issue-39-missing-spinning-wheel 2020-10-01 13:29:03 +03:00
David Remer
321a32420f print warning when client_id is not present while trying to store merchant_email 2020-10-01 12:07:11 +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
0a3acae98e Merge branch 'master' into issue-22-sandbox-live-switch 2020-10-01 11:10:59 +03:00
David Remer
7521e63ef4 add semicolons 2020-10-01 10:00:21 +03:00
David Remer
91c1b67b7f reduce dcc availability to AU, US, UK, FR, IT, ES 2020-10-01 09:35:25 +03:00