Commit graph

181 commits

Author SHA1 Message Date
David Remer
51d89a8d4a render message on checkout only when paypal payment method is selected 2020-08-19 11:50:02 +03:00
David Remer
1011d4daf8 render messages via javascript 2020-08-19 10:27:53 +03:00
David Remer
03e34328f9 show messages only for US merchants 2020-08-19 09:35:48 +03:00
David Remer
54652951bb phpcs 2020-08-19 05:39:45 +03:00
David Remer
715b748b87 add message options 2020-08-19 05:19:29 +03:00
David Remer
3a675f657b Merge branch 'PCP-30-add-dcc-wc-gateway' into PCP-27-add-messages 2020-08-19 04:10:31 +03:00
David Remer
8f5fa797ce add message component 2020-08-18 15:55:54 +03:00
David Remer
f277f77ddf Merge branch 'master' into PCP-30-add-dcc-wc-gateway 2020-08-18 14:33:42 +03:00
David Remer
757705ec7d add tagline option 2020-08-18 14:32:19 +03:00
David Remer
80bad0b0ef Merge branch 'master' into PCP-30-add-dcc-wc-gateway 2020-08-18 13:36:53 +03:00
David Remer
56a76ac720 disable inline-card when not in checkout 2020-08-18 13:36:33 +03:00
David Remer
a0b4344578 take new gateway into account when returning the SmartButtonAsset object 2020-08-18 13:05:26 +03:00
David Remer
3fdb3d641d resolve merge conflict 2020-08-18 12:40:24 +03:00
David Remer
4844ec4706 remove size parameter from button config 2020-08-18 12:39:07 +03:00
David Remer
014af24d0b change labels for dcc fields 2020-08-18 12:16:10 +03:00
David Remer
772fcf2f03 visual improvements 2020-08-18 12:08:45 +03:00
David Remer
a0c419187a label dcc button, add classes 2020-08-18 11:38:59 +03:00
David Remer
07524cf106 seperate dcc and buttons on checkout 2020-08-18 11:38:41 +03:00
David Remer
3504a4ba34 resolve merge conflict 2020-08-18 10:12:07 +03:00
David Remer
0fbc667a49 remove dcc from product-page/mini-cart and cart 2020-08-18 10:04:23 +03:00
David Remer
0e9f329c5e Merge branch 'PCP-32-layout-options-per-context' 2020-08-17 19:58:35 +03:00
David Remer
875356b24f phpcs 2020-08-14 10:41:53 +03:00
David Remer
5de78e1aab add styles per context 2020-08-14 10:28:24 +03:00
David Remer
530f34823d rearrange settings, add layout and size to button layout 2020-08-14 10:03:03 +03:00
David Remer
6630c95557 prefix endpoint to avoid possible conflicts 2020-08-13 14:30:12 +03:00
David Remer
56b510e8fc load data-client-id via endpoint when needed 2020-08-13 14:20:47 +03:00
David Naber
8d37906b31 Fix var type annotations in ButtonModule 2020-08-07 10:53:48 +02:00
David Remer
5cd1de2446 formatting labels array in smart button asset 2020-07-28 08:09:33 +03:00
David Remer
1ea7d9968a add generic error message for button 2020-07-28 08:05:18 +03:00
David Remer
c98e10d2a1 phpcs 2020-07-28 07:15:04 +03:00
David Remer
c1991e9153 init subscriptions 2020-07-28 12:27:42 +03:00
David Remer
68fe89af4b announce subscription support in gateway and force checkout deactivation if no support 2020-07-23 16:01:02 +03:00
David Remer
40b3e12057 make dccIsEnabled context aware 2020-07-23 14:53:37 +03:00
David Remer
7c5918eba3 disable option to store credit card details when on subscription 2020-07-23 14:41:47 +03:00
David Remer
24df6eb814 phpcs 2020-07-23 14:29:20 +03:00
David Remer
bb4fbd2dbd load identity token also if dcc is enabled, phpcs 2020-07-23 14:28:16 +03:00
David Remer
158db47134 add vault option, add logic for not rendering buttons when subscription but no vaulting enabled 2020-07-23 14:12:29 +03:00
David Remer
e67a94f931 always disable venmo funding method 2020-07-23 11:12:55 +03:00
David Remer
6705d2cb26 render dcc fields and settings only when dcc is applicable in the country 2020-07-23 11:10:37 +03:00
David Remer
7c5f412e30 submit dcc form also on input enter 2020-07-22 14:17:42 +03:00
David Remer
29f712f185 validate credit card data 2020-07-22 14:12:49 +03:00
David Remer
fd1cdc9d4b alias for CardAuthenticationResult 2020-07-21 09:17:03 +03:00
David Remer
1f64ee32e3 phpcs 2020-07-21 09:14:13 +03:00
David Remer
9d974be95d always load js logic and styles as an item might newly be added to the cart 2020-07-20 11:49:59 +03:00
David Remer
e2dfaf7f99 add credit-card-wrapper element 2020-07-20 11:20:12 +03:00
David Remer
a4b976c59d add styles for minicart dcc fields 2020-07-20 11:09:34 +03:00
David Remer
e188797607 always render dcc in mini-cart is enabled 2020-07-20 11:09:20 +03:00
David Remer
10fdf09379 add styles for hosted fields 2020-07-17 11:47:00 +03:00
David Remer
514619ed8d make sure restart action exists 2020-07-16 13:41:14 +03:00
David Remer
ec199d2bfc move to error message 2020-07-16 13:17:46 +03:00