Emili Castells
f295fad2b8
Merge pull request #125 from woocommerce/PCP-65-send-transaction-IDs-to-woocommerce
...
Send transaction ids to woocommerce
2021-03-11 12:22:53 +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
Kirill Braslavsky
a984853b5f
Revert "render if updated_checkout event was missed"
...
This reverts commit e3577bdff9
.
2021-03-04 12:33:32 +02:00
dinamiko
e7f592efe3
Add test coverage for identity token
2021-03-03 15:08:27 +01:00
Kirill Braslavsky
45dd4a91d9
handle messages from WC as HTML
2021-03-02 20:10:05 +02:00
Kirill Braslavsky
223aa6493d
display both WC and own messages
2021-03-02 19:41:18 +02:00
Kirill Braslavsky
a256cc6d53
cache messages element
2021-03-02 19:40:55 +02:00
Kirill Braslavsky
750d5912b0
apply messages as elements of unordered list
2021-03-02 18:37:34 +02:00
Kirill Braslavsky
1e7c2df193
Revert "fix getting error message on order creating fail"
...
This reverts commit 89a61b33bb
.
2021-03-02 17:17:27 +02:00
Kirill Braslavsky
8770cec4d6
rename function
2021-03-02 13:25:29 +02: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
Kirill Braslavsky
0c62f16f14
remove unneeded ternary
2021-03-01 19:01:25 +02:00
Kirill Braslavsky
89a61b33bb
fix getting error message on order creating fail
2021-03-01 16:38:24 +02:00
dinamiko
4b50f8caeb
Enable renewals for PayPal and credit card, remove deprecated subscription methods
2021-03-01 12:37:13 +01:00
Kirill Braslavsky
e3577bdff9
render if updated_checkout event was missed
2021-02-25 18:41:45 +02:00
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
63514f7025
fix code style
2021-02-24 12:42:44 +02:00
Kirill Braslavsky
66851057e2
Add admin message about Pay in 4 for French stores.
2021-02-24 11:45:45 +02:00
Kirill Braslavsky
039a01211e
Merge branch 'trunk' into PCP-82-fr-now-has-pay-in-4
2021-02-24 08:33:01 +02:00
Kirill Braslavsky
94cd038341
remove disabling credit for UK
2021-02-23 15:09:44 +02:00
Kirill Braslavsky
06a964f019
fix code style
2021-02-22 15:28:44 +02:00
Kirill Braslavsky
08ef84063d
remove unused namespace import
2021-02-22 14:41:54 +02:00
Kirill Braslavsky
c7b818ac85
add missed class dependency
2021-02-22 14:40:02 +02:00
Kirill Braslavsky
62f4146387
wrap throwing code in the try-catch block
2021-02-22 14:08:43 +02:00
Kirill Braslavsky
5d5f395016
fix code style
2021-02-22 13:47:32 +02:00
Kirill Braslavsky
60e392c78f
fix code style in the TransactionUrlProvider
2021-02-22 13:15:56 +02:00
Kirill Braslavsky
6cadb842c1
remove not used interface
2021-02-22 11:28:20 +02:00
Kirill Braslavsky
90a0e28f63
add transaction url base to credit card gateway
2021-02-19 18:35:12 +02:00
Kirill Braslavsky
834dec750c
fix class property name
2021-02-19 18:26:28 +02:00
Kirill Braslavsky
c70e4dc87e
remove unused import
2021-02-19 17:21:27 +02:00
Kirill Braslavsky
85cc031427
fix missing class dependency
2021-02-19 17:19:57 +02:00
Kirill Braslavsky
ec4c0a113a
provide base transaction url for paypal gateway
2021-02-19 17:15:04 +02:00
Kirill Braslavsky
9a4ac73a17
add TransactionUrlProvider service
2021-02-19 16:55:36 +02:00
Kirill Braslavsky
aeb4402be8
remove not used import
2021-02-19 16:14:40 +02:00
Kirill Braslavsky
da7b28c367
add order field for payment type sandbox or live
2021-02-19 16:02:59 +02:00
Kirill Braslavsky
6c17c7463f
remove useless condition part
2021-02-19 14:14:26 +02:00
Kirill Braslavsky
7bd17838fb
save transaction id to WC order
2021-02-19 13:54:41 +02:00
Kirill Braslavsky
026889b43e
remove spinner on click, on cancel and on error
2021-02-18 12:16:44 +02:00
dinamiko
b9c2550f3b
Add save card to hosted fields
2021-02-16 17:06:50 +01:00
dinamiko
a280a19ec1
Allow PayPal gateway for saved credit cards
2021-02-16 11:52:39 +01:00
dinamiko
6bfb8b2c2a
Enable subscriptions plugin support, add settings for vaulting
2021-02-15 13:54:42 +01:00
Kirill Braslavsky
f121605e41
don't call button renderer on checkout immediately
...
Don't render PayPal button immediately when initiating checkout. Instead, call `render` on `updated_checkout` event only. This event always triggered by WooCommerce after the checkout is loaded. So, this change prevents PayPal buttons from being rendered twice.
See https://github.com/woocommerce/woocommerce/blob/master/assets/js/frontend/checkout.js for more details.
2021-02-10 18:26:41 +02:00