Commit graph

411 commits

Author SHA1 Message Date
David Remer
56a76ac720 disable inline-card when not in checkout 2020-08-18 13:36:33 +03:00
David Remer
4844ec4706 remove size parameter from button config 2020-08-18 12:39:07 +03:00
David Remer
a72922c2a8 Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway 2020-08-18 12:36:07 +03:00
David Remer
0e9f329c5e Merge branch 'PCP-32-layout-options-per-context' 2020-08-17 19:58:35 +03:00
David Naber
781760a82c Introduce unit test for CheckoutPayPalAddressPreset PCP-28 2020-08-17 18:03:32 +02:00
David Remer
ebb78afe8c
Merge pull request #9 from inpsyde/PCP-31-dcc-for-not-loggedin-users
Load data-client-id via endpoint when needed
2020-08-17 11:31:18 +03:00
David Remer
9cc5215d95 Merge branch 'master' of github.com:inpsyde/woocommerce-paypal-commerce-gateway into PCP-32-layout-options-per-context 2020-08-17 11:29:44 +03:00
David Naber
9fe6ee4fb7 Use address from PayPal as preset in checkout PCP-28 2020-08-14 17:53:39 +02:00
David Remer
65b38f7522 proper heading order 2020-08-14 13:38:20 +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
e24fc0d7ab add heading field 2020-08-14 10:09:11 +03:00
David Remer
13d8c61b2a rearrange render methods for fields 2020-08-14 10:06:05 +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
8d0eda7491 fix typo 2020-07-28 12:31:55 +03:00
David Remer
754913b632 PCP-26 / introduce text field with autocomplete off 2020-07-28 12:23:50 +03:00
David Remer
585d5350ff PCP-26 / introduce new password field for settings 2020-07-28 12:18:57 +03:00
David Remer
2af06b180e when order is created with payment token the status of the newly created order is COMPLETED already 2020-07-28 09:21:27 +03: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
e5494bfc8b remove debug code 2020-07-28 07:07:14 +03:00
David Remer
8f39b71e7f introduce installation prefix 2020-07-28 07:03:15 +03:00
David Remer
6a4b406568 add a toggle to enable user adding credentials manually 2020-07-28 05:41:09 +03:00
David Remer
a53e4d4187 check if saved token data has id before creating Token 2020-08-01 13:16:05 +03:00
David Remer
1588dc63bc declare full support 2020-08-01 13:15:41 +03:00
David Remer
c1991e9153 init subscriptions 2020-07-28 12:27:42 +03:00
David Remer
b5b29b8e58 listen to CHECKOUT.ORDER.APPROVED webhook 2020-07-24 11:42:31 +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
32b5b41215 move vault option to smart button settings 2020-07-23 14:28:31 +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
9d20d59b87 fix typo 2020-07-22 13:22:41 +03:00
David Remer
22fe00294e check if wc function exists 2020-07-22 11:00:07 +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
985c4fe626 count NO_DECISION as approved 2020-07-21 09:09:13 +03:00
David Remer
ea56fd914d log when no handler was found 2020-07-20 15:10:54 +03:00
David Remer
e3e54aee9c log illegit requests 2020-07-20 12:38:29 +03:00
David Remer
c14d46cc32 add PaymentCaptureCompleted Webhook 2020-07-20 12:06:45 +03:00