Commit graph

143 commits

Author SHA1 Message Date
dinamiko
6149d79d19 Do not reuse client token but generate a new one each time it renders on the page 2021-04-14 12:35:40 +02:00
Emili Castells
d257b270df
Merge pull request #134 from woocommerce/feature/PCP-88-payment-token-vaulting
Introduce client-side vaulting and allow Subscription renewals through payment tokens
2021-04-08 11:09:15 +02:00
dinamiko
b53f894ced Merge branch 'PCP-115-pay-later-disclaimers-consolidat' into feature/PCP-88-payment-token-vaulting 2021-04-08 10:56:50 +02:00
Emili Castells
5d1979b2fe
Merge pull request #137 from woocommerce/PCP-75-validate-form-before-sending-paypal-request
Validate checkout form before sending request to PayPal
2021-04-06 11:20:46 +02:00
dinamiko
3d7fb7fc53 Use GB instead of UK on disclaimers content by country 2021-04-01 16:58:52 +02:00
Kirill Braslavsky
2f67e736ec remove unused import 2021-04-01 13:55:40 +03:00
Kirill Braslavsky
9096cc3277 remove trailing comma in function call (PHP>=7.3) 2021-04-01 13:55:14 +03:00
Kirill Braslavsky
7d0bf5299c remove nonexisting parameter from docblock 2021-04-01 13:54:14 +03:00
dinamiko
b5b10a0dfc Consolidate pay later message content in admin panel 2021-03-31 16:16:32 +02:00
dinamiko
34b624905d Fix merge conflicts with trunk 2021-03-31 11:22:01 +02:00
dinamiko
e0c46d1b4e Make string translatable 2021-03-31 10:54:44 +02:00
dinamiko
a8dcef1326 Fix typo getting user id 2021-03-30 15:56:08 +02:00
dinamiko
5afbfb0e3b Do not return stored tokens in meta but call the endpoint each time 2021-03-29 11:57:03 +02:00
Emili Castells
9d2079bfc6
Merge pull request #123 from woocommerce/PCP-93-fix-error-container-element-removed
Fix Error: Detected container element removed from DOM
2021-03-26 16:06:21 +01:00
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
Kirill Braslavsky
1ce5e27f37 Revert "enqueue PayPal script from backend"
This reverts commit 238a71f9a4.
2021-03-19 17:40:11 +02:00
Kirill Braslavsky
daf7caf9f4 remove not used class dependency 2021-03-19 12:53:13 +02:00
Kirill Braslavsky
ad5f7de82d use later hook to render paypal container 2021-03-19 12:32:16 +02:00
Kirill Braslavsky
468008db9d remove extra whitespace 2021-03-17 14:02:00 +02:00
Kirill Braslavsky
267c2c071e add missed comment 2021-03-17 14:01:13 +02:00
Kirill Braslavsky
d04cd56cd9 auto fix phpcs errors 2021-03-17 13:59:18 +02:00
Kirill Braslavsky
6b61205474 Merge branch 'trunk' into PCP-75-validate-form-before-sending-paypal-request 2021-03-17 12:21:28 +02:00
dinamiko
f8a2bf5107 Fix phpcs errors 2021-03-17 09:43:58 +01:00
dinamiko
e0f45fac4f Fix merge conflict 2021-03-17 09:34:09 +01:00
Emili Castells
7732d1d3eb
Merge pull request #136 from woocommerce/PCP-100-show-wc-message-on-account-creating-error
Show WC message on account creating error
2021-03-16 16:55:32 +01:00
dinamiko
0bdc9faae9 Catch not found exception when setting does not exists 2021-03-16 16:23:24 +01:00
Kirill Braslavsky
6c3e627752 create PayPal order after checkout validation 2021-03-16 16:08:42 +02:00
Kirill Braslavsky
9d4ce86c37 create PP order after checkout validation 2021-03-16 15:46:08 +02:00
Kirill Braslavsky
e0d59ce2a0 don't store PP order in class properties 2021-03-16 15:45:36 +02:00
Kirill Braslavsky
91adee26e4 store data to create PP order in class properties 2021-03-16 15:32:52 +02:00
Kirill Braslavsky
8f00894080 don't throw exceptions from handle_request() 2021-03-16 12:02:02 +02:00
Kirill Braslavsky
c631b64ca9 move creating PayPal order into separate function 2021-03-15 19:53:35 +02:00
Kirill Braslavsky
a83af94b88 avoid redundant exception throwing 2021-03-15 19:49:10 +02:00
Kirill Braslavsky
9bdd2631dd rename function 2021-03-15 13:38:04 +02:00
Kirill Braslavsky
b825e4be76 remove redundant ternary 2021-03-15 11:05:47 +02:00
Kirill Braslavsky
238a71f9a4 enqueue PayPal script from backend 2021-03-12 13:34:42 +02:00
dinamiko
ca82a46383 Fix typos getting settings and reverse conditionals to check for true first 2021-03-12 10:52:07 +01:00
Kirill Braslavsky
661c9f3dfa Merge branch 'trunk' into PCP-100-show-wc-message-on-account-creating-error 2021-03-11 15:58:52 +02:00
Emili Castells
8239a6881e
Merge pull request #127 from woocommerce/PCP-96-unblock-credit-for-UK
Remove disabling credit for UK
2021-03-11 12:28:06 +01:00
Emili Castells
f7bd7de3c8
Merge branch 'trunk' into PCP-66-unblock-ui-on-submit-checkout-error 2021-03-11 12:26:32 +01:00
Emili Castells
7c1c11948c
Merge pull request #109 from woocommerce/PCP-82-fr-now-has-pay-in-4
Enable credit messaging for France
2021-03-11 12:23:50 +01:00
dinamiko
f8ac20367b Remove add venmo to disable funding by default, add it as disable_funding option 2021-03-10 15:02:54 +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
Kirill Braslavsky
67d9898ffe Revert "wait 1 second before render a button"
This reverts commit 7d4caeaf2c.
2021-03-10 10:37:51 +02:00
Kirill Braslavsky
4f18427edb Revert "render buttons after 3 sec delay"
This reverts commit 52d81b8fde.
2021-03-10 10:37:39 +02:00
Kirill Braslavsky
52d81b8fde render buttons after 3 sec delay 2021-03-05 18:43:54 +02:00
Kirill Braslavsky
7d4caeaf2c wait 1 second before render a button 2021-03-04 12:38:21 +02:00
Kirill Braslavsky
bc5721e0bf Revert "don't call button renderer on checkout immediately"
This reverts commit f121605e41.
2021-03-04 12:33:59 +02:00