Commit graph

575 commits

Author SHA1 Message Date
David Naber
1d0333026f Add Test for ApplicationContextRepository PCP-28
Add new parameter  to ::currentContext()
2020-08-11 09:41:29 +02:00
David Naber
449d3440bd Add empty test class for CartRepository 2020-08-11 09:25:28 +02:00
David Naber
ac8cb3bf40 Add unit test for ApplicationContextRepository PCP-28 2020-08-07 17:09:17 +02:00
David Naber
8d37906b31 Fix var type annotations in ButtonModule 2020-08-07 10:53:48 +02:00
David Naber
a8e6ec070d Add yarn-error.log to .gitignore 2020-08-06 16:36:54 +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
3e4665907f fix test 2020-07-21 09:11:11 +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
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
David Remer
bfa148b753 add error handler to approve handler for paynow 2020-07-16 13:14:35 +03:00
David Remer
ec680a7191 restart when onApprove fails 2020-07-16 12:16:06 +03:00
David Remer
077d97d8f7 vaulting does only apply to loggedin users 2020-07-16 11:34:19 +03:00
David Remer
241a5e170d process orders when credit card is approved 2020-07-16 10:16:43 +03:00