Commit graph

46 commits

Author SHA1 Message Date
Emili Castells
5361d4b3b2
Merge pull request #1489 from woocommerce/PCP-585-instant-payments
Send payee_preferred correctly for instant payments
2023-07-18 15:43:11 +02:00
Emili Castells
24a40a283c
Merge pull request #1510 from woocommerce/PCP-1873-complex-form-fields
Handle complex form fields when submitting checkout form
2023-07-18 15:37:57 +02:00
Alex P
f811ea6a99
Do not complete non-checkout button orders via webhooks 2023-07-17 10:40:21 +03:00
Alex P
6694c79617
Refactor form usage 2023-07-13 14:44:27 +03:00
Alex P
c9bf899b75
Remove not working payment_method in root 2023-07-05 09:57:38 +03:00
Alex P
4a74911f6d
Fix funding source check 2023-07-04 16:43:37 +03:00
Alex P
e29ef9c7d6
Use continuation mode when APM does not redirect back 2023-06-14 08:59:30 +03:00
Alex P
bee2a8d5ba
Do not send whole order in create order response 2023-05-31 16:18:34 +03:00
Alex P
9d638a57e3
Show shipping methods in paypal if express without review 2023-04-25 15:06:24 +03:00
Alex P
8efa0e6da3
Fix pay now button
not sure if the action parameter in order creation request affects anything, but the docs say that it should match the js sdk commit parameter
2023-04-24 08:15:22 +03:00
Alex P
6049f8b396
Merge branch 'trunk' into pcp-157-blocks 2023-04-17 17:12:44 +03:00
Alex P
211c57b938
Add final review for blocks 2023-04-17 10:23:52 +03:00
Alex P
3c557907f2
Refresh checkout totals after validation if needed
Refreshing the totals the same way as WC does this.
2023-04-04 11:35:16 +03:00
Alex P
ea3e5bbeb6
Add express checkout block (wip) 2023-02-15 10:52:25 +02:00
Alex P
80428f1eb1
Execute WC validation only for buttons in checkout 2022-12-12 09:18:37 +02:00
Alex P
91636a9dcc Execute server-side WC validation when clicking button (order creation) 2022-10-27 09:55:25 +03:00
Narek Zakarian
13ac2a3551 Refactor to remove second order creation part 2022-09-07 19:28:16 +04:00
Alex P
0c17c6b1de Allow to choose one of 3 card billing data handling modes
also handle it in one place, no need to mess with payer parsing and JS
2022-07-20 17:28:55 +03:00
Alex P
619e9d2552 Change address handling for card button
Make the name field to always appear and send at least one address
2022-07-19 09:24:19 +03:00
Alex P
d4e8bd453c Add card button gateway 2022-07-19 09:20:26 +03:00
Alex P
8c77258828 Add option for sending billing data 2022-07-18 16:24:53 +03:00
Alex P
9ab091b945 Fix shipping preference for vaulted card button 2022-07-05 17:30:12 +03:00
Alex P
fff2570124 Refactor shipping_preference
Extract its determination to a separate class, also remove useless CartRepository and use single PU to avoid confusion.
2022-07-05 14:37:04 +03:00
Alex P
57e4cb51ea Fix form fields type
was broken after #680
2022-06-29 14:41:31 +03:00
Alex P
fdbbe6afb3 Send form data as json object to fix decoding
was decoded twice, in RequestData and by parse_str
2022-06-08 15:59:01 +03:00
Emili Castells
b7c4f23b62
Merge pull request #641 from woocommerce/PCP-580-manual-orders-return-an-error-for-guest-users
Store order info in wc order meta to get if there is no session.
2022-05-17 13:55:35 +02:00
Alex P
d63f89a4a2 Retry without shipping field when got invalid address error 2022-05-16 15:12:40 +03:00
Narek Zakarian
ab0e90dab0 Store order info in wc order meta to get if there is no session. 2022-05-10 18:46:40 +04:00
Alex P
4a4f131325 Handle card smart button for free trial (1$ auth + void)
Disabling this funding source also disables DCC
2022-04-25 15:24:37 +03:00
Alex P
901ecdd1d9 Remove unused imports 2022-04-13 11:17:58 +03:00
Alex P
f5a472673b Handle free trial sub for cards
authorize 1$ and void
2022-04-06 09:10:24 +03:00
dinamiko
0947031c3f Ensure email exist otherwise do not return payer object 2022-02-07 16:25:29 +01:00
dinamiko
7b132f9d92 Get payer info from checkout form (WIP) 2022-02-04 17:11:40 +01:00
dinamiko
902d6bb0cf Check if terms checkbox is available 2021-11-08 15:09:22 +01:00
Emili Castells
984019cb2b
Merge pull request #343 from woocommerce/PCP-305-enable-save-card-for-guest-users
Disable PayPal gateways if subscription product in cart and customer not logged in
2021-11-04 15:58:52 +01:00
dinamiko
02519b7f35 Merge branch 'trunk' of github.com:woocommerce/woocommerce-paypal-payments into PCP-375-order-of-woocommerce-checkout-ac 2021-11-04 12:12:13 +01:00
dinamiko
78fe636e65 Merge branch 'trunk' into PCP-305-enable-save-card-for-guest-users 2021-11-04 11:01:33 +01:00
Alex P
edd441f5da Improve type check 2021-11-03 10:20:39 +02:00
dinamiko
31572b747e Merge PCP-204 2021-10-28 15:51:29 +02:00
dinamiko
47d79bb9f6 Fix phpcs error 2021-10-27 15:33:57 +02:00
dinamiko
0bfda54855 Refactor checkout PayPal order creation 2021-10-27 15:22:24 +02:00
dinamiko
9b6b0e2769 Do not validate WC checkout form when creating PayPal order 2021-10-27 12:29:11 +02:00
dinamiko
3c237b6315 Do not display gateways if subscription in cart and user is not logged in 2021-10-25 16:27:05 +02:00
dinamiko
1782c4fe16 Display PayPal buttons when not logged in and subscription in the cart 2021-10-22 12:49:04 +02:00
Alex P
49bb1bc371 Check if registration is needed
createaccount checkbox is not present when guest checkout is disabled
2021-10-20 10:30:48 +03:00
Ratnakar Dubey
34a18b359f Rename file from class-createorderendpoint.php to CreateOrderEndpoint.php to follow PSR-4 2021-10-13 15:46:33 +05:30
Renamed from modules/ppcp-button/src/Endpoint/class-createorderendpoint.php (Browse further)